diff --git a/FreeBSD/etc/rtadvd.conf b/FreeBSD/etc/rtadvd.conf new file mode 100644 index 0000000..ee25b0e --- /dev/null +++ b/FreeBSD/etc/rtadvd.conf @@ -0,0 +1,3 @@ +default:\ + :prefixlen#64:\ + :rdnss="2001:4860:4860::8888,2001:4860:4860::8844":\ \ No newline at end of file diff --git a/FreeBSD/usr/local/etc/dhcp6c.conf b/FreeBSD/usr/local/etc/dhcp6c.conf new file mode 100644 index 0000000..306e36b --- /dev/null +++ b/FreeBSD/usr/local/etc/dhcp6c.conf @@ -0,0 +1,11 @@ +interface ngeth0 { + send ia-pd 0; # request prefix delegation + request domain-name-servers; + request domain-name; +}; +id-assoc pd 0 { + prefix ::/60 infinity; + prefix-interface eth2 { + sla-id 1; + sla-len 4; + }; \ No newline at end of file diff --git a/README.md b/README.md index 016e23f..1229821 100644 --- a/README.md +++ b/README.md @@ -321,11 +321,10 @@ For FreeBSD: 7) configure pf, dhcpd, etc. to taste, generic examples provided Once you have IPv4 connectivity you're done, unless you want IPv6 as well. The default dhclient still does not support IPv6, so: -1) install ISC dhclient from ports/pkg 'pkg install dual-dhclient' this should also install 'isc-dhcp44-client' -2) add the relevant ipv6 configuration to rc.conf, example is provided -3) remove '-cf /dev/null' from the last line of '/usr/local/sbin/dual-dhclient' -4) delete and recreate from scratch '/usr/local/etc/dhclient.conf' this file is a copy of dhclient.conf.example and is not useful out of the box, an example file is provided - +1) Install KAME dhcp6c 'pkg install dhcp6' +2) Configure rc.conf with 'ipv6_cpe_wanif="ngeth0"' in addition to the other ipv6, dhcp6c, and rtadvd configuration in rc.conf, filling in with your lan interface(s) +3) use the example configuration in '/usr/local/etc/dhcp6c.conf' to configure dhcp6c +4) Set some inet6 rules in pf.conf and test # U-verse TV