[mpls-linux-general] Re: Some questions about mpls setup
Status: Beta
Brought to you by:
jleu
|
From: Jikku <ji...@cs...> - 2004-09-09 22:02:26
|
Thanx a bunch James. But another problem has crept up in Ip route add how do i remove a route i added in case i used the wrong key and also if i dont remember the keys of lsps and the labels i have used in setup how do i remove the lsps in that case On Thu, 9 Sep 2004, James R. Leu wrote: > On Fri, Sep 10, 2004 at 03:11:12AM +0530, Jikku wrote: >> Hi i have installed the basic packages which were recommended for >> mpls. >> And >> i tried to set up an lsp between >> comp A(10.129.76.41) and comp B(10.129.46.71) >> Configuration on A >> mplsadm2 -A -B -O gen:2612:eth0:ipv4:10.129.46.71 10.129.46.71/24 >> mplsadm2 -A -I gen:1232:0 >> mplsadm2 -L eth0:0 >> >> Configuration on B >> mplsadm2 -A -B -O gen:1232:eth0:ipv4:10.129.76.41 10.129.76.41/24 >> mplsadm2 -A -I gen:2612:0 >> mplsadm2 -L eth0:0 >> >> Then i pinged comp B from A >> but while capturing the traffic between A and B using ETHEREAL >> it only showed packets being pinged using ICMP as protocol(No mention >> of mpls protocol being used) > > You need to bind a FEC (a route) to the LSPs. > > On A: > ip route add 10.129.46.71/32 via 10.129.46.71 spec_nh 0x8847 <key> > > On B: > ip route add 10.129.76.41/32 via 10.129.76.41 spec_nh 0x8847 <key> > > *** NOTE you must install the MPLS modified version of iproute2 to use > these commands > >> And one more confusion i had was--> >> is how to remove all the lsps set up.Cuz when i " re run" the exact set >> of commands on A it gives error "In Label add: No such process" after >> typing mplsadm2 -A -I gen:1232:0 >> >> Is it possible to do delete the lsps using >> mplsadm2 command? > > mplsadm2 -D -I gen:1232:0 > mplsadm2 -D -O 0x2 > >> -- >> A child when asked to name the seven wonder of the world said: >> "To touch, to taste, to see, to hear, to run, to laugh and to love." > > -- A child when asked to name the seven wonder of the world said: "To touch, to taste, to see, to hear, to run, to laugh and to love." |