[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00873) Default route in router mode Re: Re: How can I enable global IPv6 forwarding in kernel
Hi, I just happened to meet with this default route problem
in router mode, so please let me report it.
I use usagi-20010917-linux22 with Vine Linux (RH6.2 based dist.),
and use Freenet6's /48 prefix delegation service.
I built kernel with CONFIG_IPV6_EN_DFLT to 'Y' and set default route
to sit1 as follows:
route -A inet6 add default dev sit1
But, I couldn't access to outer network from client machie in LAN.
So I added route to my router Linux Box as follows:
route -A inet6 add 3ffe::0/16 dev sit1
route -A inet6 add 2001::0/16 dev sit1
In this setting, the client machine in LAN succeed to access outer network.
So I think default route is not used in router mode.
Does anyone know how to enable default route in router mode?
--
You Yamagata
E-mail: youy@xxxxxxxxxxxxx, youy@xxxxxxxxxxxxx
> On Fri, 12 Oct 2001, Parijat Mishra wrote:
> > On Tuesday 09 October 2001 14:22, you wrote:
> > > Please also note a Linux kernel feature: in Router mode, default route
> > > will not work for forwarded packets.
> >
> > There's a kernel compilation option where you can specify that default route
> > be used.
>
> Do you mean?
>
> IPv6: allow default route when forwarding is enabled
> CONFIG_IPV6_EN_DFLT
> Do not purge default route(s) in router mode. Say Y.
>
> Basically this is in addrconf.c r1.25; the removal of
> 'rt6_purge_dflt_routers(0);' in addrconf_forward_change.
>
> As far as I can see, this affects only whether default route, possibly
> obtained in Host mode by autoconfiguration, is retained when changing to
> Router mode.
>
> You still will get 'Destination unreachable: Address unreachable' from the
> router, I believe.
>
> --
> Pekka Savola "Tell me of difficulties surmounted,
> Netcore Oy not those you stumble over and fall"
> Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
>
>
>