Re: [mpls-linux-general] Help me to understand
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-10-27 15:10:16
|
He is pointing out a bug that removing a MPLS iptables entry will not stop traffic from flowing on the LSP (until the route cache entry expires) On Wed, Oct 27, 2004 at 04:46:54PM +0200, windtim@libero.i wrote: > Hi James, > i'm reading mail on the mailing list and i've not understood = your > answer to one (Antonio Mancuso 11/8/03):=20 > =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,=20 > on my test network I noticed a strange bahaviour > regarding MPLS traffic. > =20 > Here my problem: > =20 > Host A: 192.168.10.10 ------------> Host B: 192.168.10.20 > =20 > =20 > On host A: > - mplsadm2 -A -O 0 > Key: 0x00000385 > Out Segment add: Success > =20 > - mplsadm2 -O 0x385 -o push:gen:170:set:tap0:ipv4:192.168.10.20 > Out Instr: Success > =20 > - more /proc/net/mpls_out > 0x00000385 0/0/0 1 PUSH(gen 170) SET(tap0,192.168.10.20) > =20 > Now if I do, from A: ping 192.168.10.20 on B I receive normal ethernet p= acket > and that"s fine. > =20 > - iptables -t mangle -A OUTPUT -d 192.168.10.20 -j MPLS --set-key 0x385 > =20 > Now, as expected, on B I receive MPLS packet marked with 170 as label. > - more /proc/net/mpls_out > 0x00000385 70/5880/0 2 PUSH(gen 170) SET(tap0,192.168.10.20) > =20 > Now If I remove the iptables entry in this way: > - iptables -t mangle -D OUTPUT -d 192.168.10.20 -j MPLS --set-key 0x385 > =20 > on host B I still receive MPLS packet marked with 170 as label > and > =20 > - more /proc/net/mpls_out > 0x00000385 183/15372/0 2 PUSH(gen 170) SET(tap0,192.168.10.20) > =20 > the counter continue to go up. > =20 > What's the strange thing? He first time set host A to give packets to hos= t B > with MPLS label 0x7, after remove this setting but there is outgoing labe= l space > setted yet. > Can you help me to understand? >=20 >=20 >=20 > ____________________________________________________________ > Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazio= ne.=20 > Abbonati subito su http://www.libero.it=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id=12065&op?k > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |