Subject: Re: Default Route in IPv6
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 03/23/2001 01:33:29
>what is syntax, to set default gw (gw is IPv6), for ipv4 - route add default x.x.x.x,
>but for IPv6 ?
if you are a host (not a router), you want to autoconfigure by
listening to router advertisements from your adjacent router.
if you are a router, you want to exchange routes by running route6d(8)
if you really really need to set a static route,
# route add -inet6 default <linklocal address of gateway>
never use global address as gateway.
or, if you are setting route to p2p interface,
# route add -inet6 default ::1
# route change -inet6 default ::1 -ifp <name of interface>