[mpls-linux-general] Help me to understand
Status: Beta
Brought to you by:
jleu
|
From: windtim\@libero\.i <wi...@li...> - 2004-10-27 14:47:06
|
Hi James,
i'm reading mail on the mailing list and i've not =
understood your
answer to one (Antonio Mancuso 11/8/03):
=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Hello, =0D
=
on my test network I noticed a strange bahaviour
regarding MPLS traffi=
c.
Here my problem:
Host A: 192.168.10.10 ------------> Ho=
st B: 192.168.10.20
On host A:
- mplsadm2 -A -O 0
Key: 0x00=
000385
Out Segment add: Success
- mplsadm2 -O 0x385 -o push:gen:=
170:set:tap0:ipv4:192.168.10.20
Out Instr: Success
- more /proc/=
net/mpls_out
0x00000385 0/0/0 1 PUSH(gen 170) SET(tap0,192.168.10.20)=
Now if I do, from A: ping 192.168.10.20 on B I receive normal ether=
net packet
and that"s fine.
- iptables -t mangle -A OUTPUT -d 192.=
168.10.20 -j MPLS --set-key 0x385
Now, as expected, on B I receive M=
PLS packet marked with 170 as label.
- more /proc/net/mpls_out
0x00=
000385 70/5880/0 2 PUSH(gen 170) SET(tap0,192.168.10.20)
Now If I re=
move the iptables entry in this way:
- iptables -t mangle -D OUTPUT -d =
192.168.10.20 -j MPLS --set-key 0x385
on host B I still receive MPLS=
packet marked with 170 as label
and
- more /proc/net/mpls_out
=
0x00000385 183/15372/0 2 PUSH(gen 170) SET(tap0,192.168.10.20)
the =
counter continue to go up.
What's the strange thing? He first time se=
t host A to give packets to host B
with MPLS label 0x7, after remove thi=
s setting but there is outgoing label space
setted yet.
Can you help me=
to understand?=0A=0A=0A=0A______________________________________________=
______________=0ALibero ADSL: navighi gratis a 1.2 Mega, senza canone e c=
osti di attivazione. =0AAbbonati subito su http://www.libero.it =0A
|