[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00871) Re: How can I enable global IPv6 forwarding in kernel



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