Re: [mpls-linux-general] Re: MPLS-Linux
Status: Beta
Brought to you by:
jleu
From: Sunil K. <sun...@ho...> - 2001-06-21 00:39:44
|
Jim, Thanks once again,I got the labels swapped for only two packets i.e 16 to 26 and 17 to 27 but after that I am not able to receive any 3rd packet. I configured as under; mplsadm -v -L eth1:0 mplsadm -v -L eth2:0 mplsadm -A -B -I gen:16:0 -O gen:26:eth2:ipv4:10.0.2.3 mplsadm -A -B -I gen:17:0 -O gen:26:eth2:ipv4:10.0.2.3 I am capturing the packets at LER B(Simulated Router) as 26 and 27 and when I try to insert the third label entry in the same manner for 18 to 28 swapping, I don't receive it the way it happened in the case of 16 and 17 labels. Moreover, upon typing more /proc/net/mpls_* it shows following; /proc/net/mpls_in gen 16 0 POP FWD gen 17 0 POP FWD gen 18 0 POP FWD in /proc/net/mpls_labelspace it shows; tunl0 0 gre0 0 eth1 0 eth2 0 in /proc/net/mpls_out, it shows; PUSH(gen 26) SET(eth2) PUSH(gen 27) SET(eth2) PUSH(gen 28) SET(eth2) Can you please guide me what's wrong and why I am not able to receive the third label at my LER B(I am not forwarding back anything towards LER A) as I the packet flow is from LER A to LER B only.Please not that everything is same as first and second label. Please guide, Thanks Sunil >From: "James R. Leu" <jl...@mi...> >Reply-To: jl...@mi... >To: Sunil Kumar <sun...@ho...> >CC: jl...@mi... >Subject: Re: [mpls-linux-general] Re: MPLS-Linux >Date: Wed, 20 Jun 2001 16:01:41 -0500 > >On Wed, Jun 20, 2001 at 08:46:06PM -0000, Sunil Kumar wrote: > > Jim, > > > > Thanks,but in case if I want to swap the label 16 with 17 and 18 with 19 > > within that tunnel,then would it be O.K, if I do as under ? > > > > mplsadm -v -L eth1:0 > > mplsadm -v -L eth2:0 > > > > mplsadm -A -B -I gen:16:0 -O gen:17:eth2:ipv4:10.0.2.3 > > mplsadm -A -B -I gen:18:0 -O gen:19:eth2:ipv4:10.0.2.3 > >Yes these are the correct commands to swap labels. going from LER A to LER >B. > > > Moreover, what if I don't want to send any packet back to LER A(its only > > uni-directional Tunnel from LER A to LER B), do I still need to > > configure following; > > > > mplsadm -A -B -I gen:17:0 -O gen:17:eth1:10.0.1.1 > >You do not need to configure the LSP in both direction. >The LSP in one direction is independent of the other. > >Jim > > > >From: "James R. Leu" <jl...@mi...> > > >Reply-To: jl...@mi... > > >To: Sunil Kumar <sun...@ho...> > > >Subject: Re: [mpls-linux-general] Re: MPLS-Linux > > >Date: Wed, 20 Jun 2001 14:58:56 -0500 > > > > > >On Wed, Jun 20, 2001 at 07:45:01PM -0000, Sunil Kumar wrote: > > > > Hi, > > > > > > > > How can we create an Static LSP Tunnel on LSR connecetd with a >simualted > > >LER > > > > A through its port eth1 and with simulated LER B through its port >eth2? > > > > > > > > Let's take the same scenerio while considering LER A and B as >simulated > > > > Routers(we can't apply any mplsadm commands on that): > > > > > > > > Example: > > > > > 10.0.1.0/24 10.0.2.0/24 > > > > > ------- .1 .2 ----- .2 .3 ------- > > > > > | LER A |-------------| LSR |----------------| LER B | > > > > > ------- eth1 eth1 ----- eth2 eth1 ------- > > > > > lo0 lo0 lo0 > > > > > 1.1.1.1/32 2.2.2.2/32 3.3.3.3/32 > > > > > > > > > Please advise. > > > > > >On LSR > > >------ > > > > > >From A -> B with label 16 > > > > > >mplsadm -L eth1:1 > > >mplsadm -A -B -I gen:16:1 -O gen:16:eth2:ipv4:10.0.2.3 > > > > > >From B -> A with label 17 > > > > > >mplsadm -L eth2:2 > > >mplsadm -A -B -I gen:17:2 -O gen:17:eth1:ipv4:10.0.1.1 > > > > > >NOTE: the labelspaces (specified with -L command) are arbitrary and >could > > >both be set to 0 in this example > > > > > >Look at /proc/net/mpls_* to verify the config. > > > > > >Jim > > >-- > > >James R. Leu > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at http://explorer.msn.com > >-- >James R. Leu _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |