Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2011 21:18:05 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   Proper way to setup IPv6 gateway on running node without reboot?
Message-ID:  <884389059.20110419211805@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-net.


  I'm looking for way to setup IPv6 router config on IPv4-configured
node without reboot.

  I've added to /etc/rc.conf:

ipv6_enable=3D"YES"
ipv6_ifconfig_em0=3D"2001:470:hhhh:1::1 prefixlen 64"
ipv6_ifconfig_wlan0=3D"2001:470:hhhh:2::1 prefixlen 64"
ipv6_defaultrouter=3D"2001:470:xxxx:xxxx::2" # uplink
rtadvd_enable=3D"YES"
rtadvd_interfaces=3D"em0 wlan0"
ipv6_gateway_enable=3D"YES"

 and run

/etc/rc.d/network_ipv6 start
/etc/rc.d/rtadvd start

 Interfaces em0 and wlan0 now have static addresses, but not
link-local automatic ones, and it seems, that rtadvd doesn't announce
anything.

 As far as I understand, rtadvd can not work without link-local
addresses, am I right? Why these addresses doesn't appear on
interfaces?

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?884389059.20110419211805>