Re: IPv6 source-based routing

Tom Eastep
Fri, 21 Oct 2011 13:49:27 -0000

On Thu, 2011-10-20 at 21:41 -0600, Jeff Taylor wrote:
> Ubuntu Lucid.
>
> I applied the patch to Providers.pm that you gave, and I tried to use
> the Server IPv6 Address provided by HE as the gateway in the providers
> file, but I still getting the same failure when I try to enable the
> providers entries.  It should be noted that I don''t think
I''m actually
> using shorewall-perl on my setup.
>
> Here''s my providers file as it sits now:
> ISP1   3       -       main            sit1    2001:470:1f04:262::1
> track  eth1,eth2,eth3,eth5
> ISP2   4       -       main            sit2    2001:470:c:316::1
> track  eth1,eth2,eth3,eth5
>
> And here''s the error I get when I try to restart shorewall6:
> 21:39:59 Adding Providers...
> RTNETLINK answers: No route to host
>    ERROR: Command "ip -6 route add default via 2001:470:1f04:262::1
> src 2001:470:8388::1 dev sit1 table 3" Failed
>
> So... any thoughts as to what I''m doing wrong at this point?

Shorewall 4.4.6 is almost two years old and had not been tried on IPv6.
So it isn''t surprising that it doesn''t work. If I look at the
history of
changes to the Providers module, much of the IPv6 code was added/changed
in April/May of this year.

I see that Oneiric has 4.4.21 which should work much better for you.

-Tom
--
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________