Thread: [mpls-linux-general] ipip and mpls
Status: Beta
Brought to you by:
jleu
From: S. <j....@gm...> - 2001-02-16 09:17:07
|
Hi everybody, I'm not sure, this is an mpls-problem, but somebody might have had the same problem: imagine the following simple environmet: router1 --- ipip-tunnel --- router2 --- mpls-tunnel --- router3 now I just want an IP-packet to be send from router1 to router3. The ipip-tunnel works fine and so do the mpls-tunnel. But when I work with the mentioned environment, the packets (pings) disappeare at router 2. If I change one of the connection into a "normal route" everything work fine again. Could anyone tell me what to do to get this work? Thanks - J=F6rn |
From: James R. L. <jl...@mi...> - 2001-02-16 14:03:34
|
Hello, On Fri, Feb 16, 2001 at 10:15:37AM +0000, J=F6rn Seger wrote: > Hi everybody, >=20 > I'm not sure, this is an mpls-problem, but somebody might have had the > same problem: >=20 > imagine the following simple environmet: >=20 > router1 --- ipip-tunnel --- router2 --- mpls-tunnel --- router3 >=20 > now I just want an IP-packet to be send from router1 to router3. > The ipip-tunnel works fine and so do the mpls-tunnel. But when I work > with the mentioned environment, the packets (pings) disappeare at route= r > 2. > If I change one of the connection into a "normal route" everything work > fine again. Depending on the order of things the route cache maybe interfering.=20 Specifically the old route cache entry (using normal routing) may still b= e in use. One thing to try to eliminate this, is to let the route cache expire, or reboot router 2, then re-setup the MPLS tunnel, making sure no= t to send traffic from router1 to router3 before the MPLS tunnel is setup. I will look thourgh the code this weekend to see if there if I am some ho= w not flushing the route cache at the right time. Another thing to look for is RPF or spoof filters. Debian and a couple o= f distributions put these in place, and hamper the use of MPLS tunnels (bec= ause they are by there nature uni-directional and are a-symetric, this is exactly what RPF and spoof filters try to prevent :-). One last thing to help us help you :-) is turn on MPLS debugging (mplsadm= -d) and run a couple of pings, then turn it off (mplsadm -d again) and look a= t the kernel log (dmesg). If the MPLS code is being triggered you'll see gobs = of debug messages, if the IP stack is the culprit you won't see any debug messages. I hope this helps, Jim > Could anyone tell me what to do to get this work? >=20 > Thanks - J=F6rn >=20 >=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |
From: Yon U. <uk...@rz...> - 2001-02-16 14:34:35
|
Good morning, just a little detail (I hope my memory is still working, check out the documentation): On Fri, 16 Feb 2001, James R. Leu wrote: > > Depending on the order of things the route cache maybe interfering. > > Specifically the old route cache entry (using normal routing) may still be > in use. One thing to try to eliminate this, is to let the route cache > expire, or reboot router 2, [...] ip route flush cache this is not NT, you know? I thought route had such a feature too, but it seems my memory is either leaking or it was a bsd's route option. HTH, HAND yon |
From: James R. L. <jl...@mi...> - 2001-02-16 14:52:46
|
> > ip route flush cache You're probably right. I don't use iproute2 > this is not NT, you know? :-) > I thought route had such a feature too, but it seems my memory > is either leaking or it was a bsd's route option. It must have been a BSD option: [jleu jleu-laptop 9:51am]~-> route flush Flushing `inet' routing table not supported Jim > > > HTH, HAND > yon > > > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: S. <j....@gm...> - 2001-02-20 11:57:24
|
"James R. Leu" schrieb: > <...> > > Depending on the order of things the route cache maybe interfering. > > Specifically the old route cache entry (using normal routing) may still= be > in use. One thing to try to eliminate this, is to let the route cache > expire, or reboot router 2, then re-setup the MPLS tunnel, making sure = not > to send traffic from router1 to router3 before the MPLS tunnel is setup. > I will look thourgh the code this weekend to see if there if I am some = how not > flushing the route cache at the right time. > > Another thing to look for is RPF or spoof filters. Debian and a couple= of > distributions put these in place, and hamper the use of MPLS tunnels (b= ecause > they are by there nature uni-directional and are a-symetric, this > is exactly what RPF and spoof filters try to prevent :-). > > One last thing to help us help you :-) is turn on MPLS debugging (mplsa= dm -d) > and run a couple of pings, then turn it off (mplsadm -d again) and look= at the > kernel log (dmesg). If the MPLS code is being triggered you'll see gob= s of > debug messages, if the IP stack is the culprit you won't see any debug > messages. > > I hope this helps, > Jim > ok, I might find the problem ... even if it is a bit strange: I have to build up ipip-tunnels bidirectional, what means, router2 in my = example needs to be configured with a tunneldevice, too. (Thanks for the idea) It's really difficult to find appropriate information about ipip-tunnelin= g in the web, so I have to find out on my own. Greetings - J=F6rn |