Date: Tue, 19 Apr 2011 23:26:04 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-net@freebsd.org, lev@FreeBSD.org Subject: Re: Proper way to setup IPv6 gateway on running node without reboot? Message-ID: <1538532090.20110419232604@serebryakov.spb.ru> In-Reply-To: <4DADD907.2010004@FreeBSD.org> References: <884389059.20110419211805@serebryakov.spb.ru> <4DADCDF0.7000607@FreeBSD.org> <888636747.20110419223938@serebryakov.spb.ru> <4DADD907.2010004@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Doug. You wrote 19 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2011 =D0=B3., 22:48:39: >> ifconfig shows only one "inet6" address for each (manually >> configured), and these nd6 flags: >> nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV> > Re-read what I wrote above. You've got to enable the link-local > addresses for each interface. man ifconfig has only one mention about link-local addresses in BUGS section (with warning about removing them by hands) and mention, that they are automagically assigned on interface creation, if net.inet6.ip6.auto_linklocal is set to 1 (which is true on my system, but all my interfaces were created BEFORE IPv6 has been enabled in system). /etc/rc.d/auto_linklocal works only with lo0. It seems to me, that it is impossible to force kernel to create link-local addresses for already-created interfaces. But I want to be wrong here! > If that doesn't work, please paste full 'ifconfig' output into your next > message. gateway# ifconfig em0 em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D20db<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING,VLAN_H= WCSUM,WOL_MAGIC> ether 00:07:e9:09:ed:f3 inet 192.168.134.1 netmask 0xffffff00 broadcast 192.168.134.255 inet6 2001:470:hhhh:1::1 prefixlen 64 nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV> media: Ethernet 1000baseT <full-duplex> status: active gateway# ifconfig wlan0 wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 ether 00:02:6f:53:67:5a inet 192.168.135.1 netmask 0xffffff00 broadcast 192.168.135.255 inet6 2001:470:hhhh:2::1 prefixlen 64 nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap> status: running ssid home.serebryakov.spb.ru channel 8 (2447 MHz 11g) bssid 00:02:6= f:53:67:5a regdomain ROW country RU indoor ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs --=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?1538532090.20110419232604>