hi james n all srry for so many ques
heres what i have done for the iproute2 patch
mpls-linux]#tar -zxvf iproute2-2.4.7-now-ss010824.tar.gz
cd iproute2
patch -p1 < ../patches/iproute2-mpls.diff
make
everything was succesfully made
shutdown -r now
when i gave a which ip
[root@localhost iproute2]# which ip
/sbin/ip
[root@localhost iproute2]# ip -V
ip utility, iproute2-ss010824
and here below i get the same error why is that
[root@localhost root]# cat /proc/net/mpls_*
01010702
[root@localhost root]# mplsadm -A -O -o
Key: 0x00000002
Out Segment add: Success
[root@localhost root]# mplsadm -O 0x2 -o
push:gen:16:set:eth0:ipv4:128.104.18.114
Out Instr: Success
[root@localhost root]# ip route add 128.104.18.114/32 via 128.104.17.130 lsp
0x2
Error: either "to" is duplicate, or "lsp" is a garbage.
****[root@localhost root]# ip route add 128.104.18.114/32 via 128.104.17.130
[root@localhost root]# mplsadm -A -I gen:16:0
In Label add: Success
[root@localhost root]# mplsadm -L eth0:0
Label Space: Success
[root@localhost root]# cat /proc/net/mpls_*
0x00010001 0/0/0 gen 16 0 1 POP PEEK
eth0 0 8
0x00000002 0/0/0 1 PUSH(gen 16) SET(eth0,128.104.18.114)
01010702
****[root@localhost root]# ip route add 128.104.18.114/32 via 128.104.17.130
now if i just use this will it work
[root@localhost ethereal-0.9.9]# cat /proc/net/mpls_*
0x00010001 0/0/0 gen 16 0 1 POP PEEK
eth0 0 10
0x00000002 0/0/0 1 PUSH(gen 16) SET(eth0,128.104.18.114)
01010702
i did ping to the other machin but there was no change in 0/0/0
plz help me out in this
thx deepak
>===== Original Message From jl...@mi... =====
>I hate to ask the obvious, but are using a version of 'ip' patched for
>MPLS? Are you sure your running the correct copy? (do a 'which ip').
>
>On Thu, Feb 20, 2003 at 02:20:51PM -0600, deepak wrote:
>> i added the ip route by using this
>>
>>
>> [root@localhost root]#
>> ip route add 192.168.6.60/32 via 192.168.5.33 lsp 0x00000004
>>
>> yet i have the error either to is duplicate or lsp is garbage
>>
>> im not able to figure out what the problem is
>> if i just give
>> [root@localhost root]# ip route add 192.168.6.60/32 via 192.168.5.33 this
>> should work but this will add 192.168.6.60 as next hop option but how do i
get
>> the lsp key to work plzz help me out\
>> thanx in advance deepak
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
>> The most comprehensive and flexible code editor you can use.
>> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
>> www.slickedit.com/sourceforge
>> _______________________________________________
>> mpls-linux-general mailing list
>> mpl...@li...
>> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>
>--
>James R. Leu
|