Hello, Doug. You wrote 19 апреля 2011 г., 22:01:20: >> I'm looking for way to setup IPv6 router config on IPv4-configured >> node without reboot. > Your best bet is actually to reboot. There are a lot of moving parts, > and it's difficult to catch them all, especially with a gateway setup. Does it mean, that, someone'll need to reboot for renumbering or adding new net segment (for example, I want to add one more WiFi SSID on this router in future, for public access)? I don't like this idea.
> Meanwhile, you need to tell us what version of FreeBSD you're using, as > IPv6 configuration is different in all 3 supported branches atm. 8.2-STABLE >> I've added to /etc/rc.conf: >> >> ipv6_enable="YES" >> ipv6_ifconfig_em0="2001:470:hhhh:1::1 prefixlen 64" >> ipv6_ifconfig_wlan0="2001:470:hhhh:2::1 prefixlen 64" > I hope that the hhhh here is a method of obfuscating the real addresses > for this message? Yes, of course. It is fragments of routable /48 prefix, allocated to me by Hurricane Electric. >> ipv6_defaultrouter="2001:470:xxxx:xxxx::2" # uplink >> rtadvd_enable="YES" >> rtadvd_interfaces="em0 wlan0" >> ipv6_gateway_enable="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. > Check the ifconfig output. You're looking for the auto link-local and > ifdisabled options. Check the ifconfig man page for what you need to > twiddle. ifconfig shows only one "inet6" address for each (manually configured), and these nd6 flags: nd6 options=3<PERFORMNUD,ACCEPT_RTADV> But sysctl net.inet6.ip6.accept_rtadv: 0 sysctl net.inet6.ip6.auto_linklocal: 1 And gateway# ifconfig em0 -accept_rtadv ifconfig: ioctl(SIOCGIFINFO_IN6): Invalid argument gateway# ifconfig wlan0 -accept_rtadv ifconfig: ioctl(SIOCGIFINFO_IN6): Invalid argument -- // Black Lion AKA Lev Serebryakov <l...@freebsd.org> _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"