Re: [mpls-linux-general] Two LSPs on the same physical path:Correction
Status: Beta
Brought to you by:
jleu
|
From: <iq...@cc...> - 2004-07-02 12:20:27
|
Quoting Pierre ANSEL <pie...@po...>:
> Hello,
> Does this configuration work for LSR1 ?
> If not, did you enable forwarding on LSR 2 ? I don't exactly remember
> the
> command, but it is something like
> echo "1">/proc/net/sys/ipv4/all/forwarding
>
> Moreover, do you bind the label 17 removing with the label 18 pushing ?
> You have to add
> mplsadm2 -B -I gen:17:0 -O 0x2
> and
> mplsadm2 -B -I gen:19:0 -O 0x2
>
> Two points I don't understand clearly in your commands :
> - Why do you have the same 0x2 key for the different label pushings ?
> - Why do you use gen:19:0 whereas you use a label space of 1 ?
>
> I hope this will help you.
>
> Pierre
Hello,
This is the scenario, I want to be able to receive the response of a ping using
the same physical path but a different LSP. For that I did the following on my
LSR2
My configuration is something like this
PC1 Ingress LSR1 LSR2 Egress PC2
|-----------| |-----------| |--------| |------| |---------------|
192.168.10.3 .2 172.16.70.1 .10 .11 .30 .31 .50 192.168.11.1 .2
e0 e1 e0 e1 e0 e1 e0 e1
I can see traffic on e1 of LSR2 and e0 of Egress with labels 18 and 19 but I am
unable to forward traffic with label 19 on to e0 of LSR2 with label 20 using
LSP1. I want to use LSP0 for icmp echo request and LSP1 for icmp echo response.
Kindly tell me if something is wrong with my configuration on the above
mentioned LSR.
Sorry for the confusion, actually the configuration on LSR2 is like this
./mplsadm2 -L eth0:0
./mplsadm2 -A -I gen:17:0
./mplsadm2 -A -O 0
./mplsadm2 -O 0x2 -o push:gen:18:set:eth1:ipv4:172.16.70.50
./mplsadm2 -B -I gen:17:0 -O 0x2
./mplsadm2 -L eth1:1
./mplsadm2 -A -I gen:19:1
./mplsadm2 -A -O 0
./mplsadm2 -O 0x3 -o push:gen:20:set:eth0:ipv4:172.16.70.11
./mplsadm2 -B -I gen:19:1 -O 0x3
In my quest to send the mail quickly I typed the wrong configuration. Anyway, I
am able to send packets from PC1 to PC2 using LSP0 but I am unable to forward
the response from PC2 on LSP1 beyond LSR2. To clearify a bit further I have the
following configuration at the Egress
./mplsadm2 -L eth0:0
./mplsadm2 -A -I gen:18:0 -i pop:peek
./mplsadm2 -A -O 0
./mplsadm2 -O 0x2 -o push:gen:19:set:eth0:ipv4:172.16.70.31
Looking forward to your useful input once again.
|