Re: [mpls-linux-general] Problem with ip route + lsp
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-12-01 22:54:03
|
Where did you read this example? The exmaple your using specifies the old syntax. The new syntax is: ip route add 1.1.1.1/32 via 2.2.2.2 spec_nh 0x8847 0x2 where 0x8847 tells the special next hop system you want to use MPLS and the 0x2 tells it to used NHLFE with index 0x2 On Wed, Dec 01, 2004 at 05:29:17PM -0500, Alexandra Alvarado wrote: > Hello, > > I have installed in my linux fedora core 2 the next package: > > iproute-2.4.7-14mpls_1_935 > mplsadm2-1.935-1 > iptables-1.2.9-2.3.1mpls_1_938 > quagga-0.96.4-1.1mpls_1_935 > kernel-sourcecode-2.6.8-1.521mpls_1_938a > mplsadm2-1.938-1 > kernel-2.6.6-1.435.2.3skas3_mpls_1_935 > iptables-1.2.9-2.3.1mpls_1_935 > iptables-ipv6-1.2.9-2.3.1mpls_1_935 > glibc-kernheaders-2.4-8.44mpls > > After reboot the machine, I tried to configure the example: > > [root@mplsa 1_935]# mplsadm2 -A -O 0 > MPLSADM mplsadm.c:692:main: Out segment input: 0 > Key: 0x00000003 > Out Segment add: Success > [root@mplsa 1_935]# > > [root@mplsa 1_935]# mplsadm2 -O 0x3 -o push:gen:16:set:eth0:ipv4:128.104.18.114 > MPLSADM mplsadm.c:692:main: Out segment input: 0x3 > MPLSADM mplsadm.c:688:main: Out instr input: push:gen:16:set:eth0:ipv4:128.104.18.114 > 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: eth0 > MPLSADM mplsadm.c:182:parse_nh_info: 128.104.18.114 > MPLSADM mplsadm.c:204:parse_nh_info: Nexthop protocol: ipv4 > MPLSADM mplsadm.c:596:fill_instructions: Length: 2 > Out Instr: Success > You have new mail in /var/spool/mail/root > [root@mplsa 1_935]# > > The problem is HERE: > [root@mplsa 1_935]# ip route add 128.104.18.114/32 via 128.104.18.114 lsp 0x3 > Error: either "to" is duplicate, or "lsp" is a garbage. > [root@mplsa 1_935]# > > Why, I installed iproute-2.4.7-14mpls_1_935, and other version with lsp patch without succes? > > Can somebody say to me what is the problem or missconfiguration? > > Thanks > > > Alexandra Alvarado > > -- James R. Leu jl...@mi... |