Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 10:05:08 -0600
From:      Sean Bruno <sbruno@freebsd.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Getting functional ipv6 on Century Link
Message-ID:  <baec6da0-e1c3-a88c-1b36-45deb8f7e500@freebsd.org>
In-Reply-To: <CAOtMX2gJ3twbaokkqFU5Ekz_VTQwj49Ao8c1k=XKQmO_Km%2B_Vw@mail.gmail.com>
References:  <f0aea781-0df4-1e1a-2ff3-a9097cd5c957@freebsd.org> <CAOtMX2gJ3twbaokkqFU5Ekz_VTQwj49Ao8c1k=XKQmO_Km%2B_Vw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--eMNiEwpNOJ7WGG7FapHXwnIMFpO9TnWh3
Content-Type: multipart/mixed; boundary="Lkt64G7fNau6DGYy9NQMAXfGVZm3vtq5I";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: Alan Somers <asomers@freebsd.org>
Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Message-ID: <baec6da0-e1c3-a88c-1b36-45deb8f7e500@freebsd.org>
Subject: Re: Getting functional ipv6 on Century Link
References: <f0aea781-0df4-1e1a-2ff3-a9097cd5c957@freebsd.org>
 <CAOtMX2gJ3twbaokkqFU5Ekz_VTQwj49Ao8c1k=XKQmO_Km+_Vw@mail.gmail.com>
In-Reply-To: <CAOtMX2gJ3twbaokkqFU5Ekz_VTQwj49Ao8c1k=XKQmO_Km+_Vw@mail.gmail.com>

--Lkt64G7fNau6DGYy9NQMAXfGVZm3vtq5I
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable



On 05/26/18 09:50, Alan Somers wrote:
>=20
> On Sat, May 26, 2018 at 9:01 AM, Sean Bruno <sbruno@freebsd.org
> <mailto:sbruno@freebsd.org>> wrote:
>=20
>     http://www.centurylink.com/home/help/internet/modems-and-routers/zy=
xel-c1100z/ipv6-turn-on.html
>     <http://www.centurylink.com/home/help/internet/modems-and-routers/z=
yxel-c1100z/ipv6-turn-on.html>
>=20
>     US DSL carrier that seems to provide v6 via a 6rd configuration.=C2=
=A0 This
>     all seems to be working and my modem reports it has stuff and thing=
s.
>=20
>     What am I supposed to use as settings in rc.conf to enable client s=
ide
>     ipv6?=C2=A0 Nothing I seem to do with router advertisement or whate=
ver seems
>     to be be correct.
>=20
>     sean
>=20
>=20
> I'm using IPv6 on CenturyLink .=C2=A0 My OpenWRT router's configuration=
 looks
> like this:
> /etc/config/network:
> ...
> config interface 'lan'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ifname 'eth0.1'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option type 'bridge'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option proto 'static'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option netmask '255.255.255.=
0'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ipaddr '192.168.0.1'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ip6assign '64'
>=20
> config interface 'wan'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ifname 'eth0.2'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option _orig_ifname 'eth0.2'=

> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option _orig_bridge 'false'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option proto 'pppoe'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option username '*****'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option password '*****'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ipv6 '1'
>=20
> config interface 'wan6'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option _orig_ifname 'eth0.2'=

> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option _orig_bridge 'false'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option proto '6rd'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option peeraddr '205.171.2.6=
4'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ip6prefix '2602::'
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ip6prefixlen '24'
> ...
> /etc/config/dhcp:
> ...
>=20
> config dhcp 'lan'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option interface 'lan'=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option limit '150'=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option leasetime '12h'=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option start '101'=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option dhcpv6 'server'=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ra 'server'=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 option ra_management '1'
> ...
>=20
> Behind the firewall, On my FreeBSD machines I simply have this in
> /etc/rc.conf:
> ifconfig_em0_ipv6=3D"inet6 accept_rtadv"
>=20
> Hope it helps.
> -Alan


It looks like what I "needed" was some of this and rtsold.

ipv6_activate_all_interfaces=3D"YES"
ip6addrctl_policy=3D"ipv4_prefer"        # A pre-defined address selectio=
n
policy
ipv6_default_interface=3D"em0"
ifconfig_em0_inet6=3D"inet6 accept_rtadv"
rtsold_enable=3D"YES"
rtsold_flags=3D"-dDF ${ipv6_default_interface}"


For now, this seems to work.

The default rtsold_flags of "-a" did not work.  I left ipv4 as the
default for now while I'm troubleshooting.

sean


--Lkt64G7fNau6DGYy9NQMAXfGVZm3vtq5I--

--eMNiEwpNOJ7WGG7FapHXwnIMFpO9TnWh3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlsJhbRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LZOOwf/cew9arLZuQJHeWNcKG59IC5m2blmyTI3nCetgQ6RWyKsDcfffXH9Mr4s
7ej64etvI8jgYl2CmUH91IqQWfoMUb3ZrV9290JAbdrYzTB1OreVehhlEcoQIDd8
qYPJ/zEKx/n/apVLeVrwdkWB1C3k02WNdUvlsSxlbYcsSI5RbNcLUthwPtrTPkaj
YIKG7ppihyqiMfXwW4gQ+juTw4sfeVLE54sNkNtPeRRmzPlUUZqzWdVr1mixkUms
upaKoMuMcaf3QbYVYc8LrURwy+/vP/yyZ0roFKexmgGEAXrHZ5LgjgRYBqARAFkH
AetoCf1QpM1pb4chaDPf81erVpn0pA==
=/sBp
-----END PGP SIGNATURE-----

--eMNiEwpNOJ7WGG7FapHXwnIMFpO9TnWh3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?baec6da0-e1c3-a88c-1b36-45deb8f7e500>