Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 13:15:44 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        BERTRAND Joel <joel.bertrand@systella.fr>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: IPv6
Message-ID:  <CAOtMX2jP3icG7zMs4Yq7C4xiWi-wyp4nWkvzBsFenhU_Mh5-Lw@mail.gmail.com>
In-Reply-To: <03877bcd-2d95-d0b8-6e8a-1628b619540e@systella.fr>
References:  <03877bcd-2d95-d0b8-6e8a-1628b619540e@systella.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 8, 2018 at 1:03 PM, BERTRAND Joel <joel.bertrand@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@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@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



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