Routing Loops
Shadow Hawkins on Friday, 28 April 2006 19:26:14
Hi,
I'm thinking about preventing routing loops. I've got a /48 Prefix. At my tunnel Endpoint, I placed a blackhole route with high metric:
ip route add blackhole <prefix>::/48 dev lo metric 65535
All physicly connected Hosts/Subnets have a lower metric and take precedence over blackhole route.
Question is that a reasonable way?
Routing Loops
Jeroen Massar on Friday, 28 April 2006 19:35:34
Yes, it should work as expected, the FAQ also suggests this, though without the blackhole option as lo acts as a blackhole.
From the FAQ:
8<--------------------------------------
Another thing you might want to do, to avoid traffic being routed back to the tunnel when you are not using all of your /48 is to point the /48 in it's entirety to lo:
ip -6 ro add [IPv6 Prefix]/48 dev lo
---------------------------------------->8
Posting is only allowed when you are logged in. |