Re: [mpls-linux-general] Error: either: "to" is duplicate or "spec_nh" is a garbage
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-10-25 03:07:42
|
On Sun, Oct 24, 2004 at 12:06:04AM +0800, ?????x wrote: > Hi James, > I have installed Fedora core 2, and downloaded kernel-sourcecode-2.6.8-1.521mpls_1_938a.i686.rpm , then I did "make menuconfig", "make", "make install", "make modules", "make modules_install", "demop -a", then reboot by the new kernel. > > But I still have problems when I try the "MPLS-Linux Example" on http://mpls-linux.sourceforge.net/. > > The First error: > [root@ixpldp tmp]# cat /proc/net/mpls_version > cat: /proc/net/mpls_version: No such file or directory That part of the instructions are wrong. Thank you for bring that to my attention. > The second error: > [root@ixpldp tmp]# mplsadm2 -A -O 0 > MPLSADM mplsadm.c:692:main: Out segment input: 0 > Key: 0x00000002 > Out Segment add: Success > [root@ixpldp tmp]# mplsadm2 -O 0x2 -o push:gen:10000:set:eth1:ipv4:11.0.1.2 > MPLSADM mplsadm.c:692:main: Out segment input: 0x2 > MPLSADM mplsadm.c:688:main: Out instr input: push:gen:10000:set:eth1:ipv4:11.0.1.2 > MPLSADM mplsadm.c:292:fill_instructions: Instruction: push > MPLSADM mplsadm.c:229:fill_label: Label type: gen > MPLSADM mplsadm.c:292:fill_instructions: Instruction: set > MPLSADM mplsadm.c:181:parse_nh_info: eth1 > MPLSADM mplsadm.c:182:parse_nh_info: 11.0.1.2 > Unable to resolve ifindex for eth1 Dow you have an ethernet interface called eth1? > [root@ixpldp tmp]# ip route add 11.0.1.2/32 via 11.0.1.2 spec_nh 0x8847 0x2 > Error: either "to" is duplicate, or "spec_nh" is a garbage. > > The third error: > I try to install "iproute-2.4.7-14mpls_1_938.i386.rpm", but I got error message: > [root@ixpldp tmp]# rpm -i iproute-2.4.7-14mpls_1_938.i386.rpm You need to upgrade this RPM. Try rpm -Uvh iproute-2.4.7-14mpls_1_938.i386.rpm > file /sbin/ip from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /sbin/rtmon from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /sbin/tc from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /usr/sbin/nstat from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /usr/sbin/rtacct from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /usr/sbin/rtstat from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > file /usr/sbin/ss from install of iproute-2.4.7-14mpls_1_938 conflicts with file from package iproute-2.4.7-14 > > > Did I miss something or do some wrong steps? > > Thanks in Advance > > Timothy > 2004.10.23 > > -- James R. Leu jl...@mi... |