IPv6
Alan Somers
asomers at freebsd.org
Mon Jan 8 20:15:48 UTC 2018
On Mon, Jan 8, 2018 at 1:03 PM, BERTRAND Joel <joel.bertrand at systella.fr>
wrote:
> Hello,
>
> I have installed a long time ago a diskless workstation running
> FreeBSD 9. Today, it runs FreeBSD 11.0-RELEASE-p12.
>
> When I have installed this workstation, I have disabled IPv6 as
> IPv6 connection was done by a slow VPN. Now, I have a full IPv6 access.
>
> Thus, I have reconfigured my router (NetBSD) to announce IPv6
> network (rtadvd). All Linux workstations on LAN take a global IPv6 address
> and IPv6 router address. I suppose I have done a mistake on FreeBSD as it
> cannot obtain an address.
>
> root at pythagore:/etc # ifconfig
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=201b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC>
> ether d8:cb:8a:7d:10:59
> inet 192.168.10.102 netmask 0xffffff00 broadcast 192.168.10.255
> inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
> inet6 fe80::dacb:8aff:fe7d:1059%re0 prefixlen 64 tentative scopeid
> 0x1
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> media: Ethernet autoselect (1000baseT <full-duplex>)
> status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
> inet 127.0.0.1 netmask 0xff000000
> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> groups: lo
> root at pythagore:/etc # grep ip rc.conf
> ip6addrctl_enable="YES"
> ip6addrctl_verbose="NO"
> ip6addrctl_policy="ipv4_prefer"
>
> Where is my mistake ?
>
> Best regards,
>
> JB
>
You need to add something like :
ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
-Alan
More information about the freebsd-hackers
mailing list