NetBSD-Users archive

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

Re: dual stack hostside IPv6 config



On Fri, Mar 13, 2015 at 02:59:09PM +0100, Niels Dettenbach wrote:
> Does this mean that i should avoid any rc.conf ifconfig_ line and only use 
> /etc/ifconfig.netdev0 ?
> 
> And anybody know where i can configure the "second" gateway for IPv6 (if not 
> by hand in any own script)?
> 
> For IPv4 i have in rc.conf:
> 	defaultroute="9.8.7.6"

You can do something like:

ip6mode=host
ifconfig_bge0="inet 192.168.1.15; inet6 2001::226:2dff:fe90:46d"
defaultroute="9.8.7.6"
defaultroute6="2001::1"

(the defaultroute6 might need a % specification if link local, like:
"fe80::226:2dff:fe90:46d1%bge0")

Martin


Home | Main Index | Thread Index | Old Index