Merge pull request #12 from louis89/simplified_ipv6_configuration

Simplified IPv6 setup documentation
This commit is contained in:
aus 2018-12-14 22:48:48 -06:00 committed by GitHub
commit c97901b920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,49 +137,27 @@ This setup assumes you have a fairly recent version of pfSense. I'm using 2.4.4.
1. Go to _Interfaces > WAN_ 1. Go to _Interfaces > WAN_
1. Enable **IPv6 Configuration Type** as _DHCP6_ 1. Enable **IPv6 Configuration Type** as _DHCP6_
1. Scroll to _DCHP6 Client Configuration_ 1. Scroll to _DCHP6 Client Configuration_
1. Enable _Advanced Configuration_ 1. Enable **DHCPv6 Prefix Delegation size** as _60_
1. Enable _Configuration Override_ 1. Enable _Send IPv6 prefix hint_
1. Enable _Debug_
1. Enable _Do not wait for a RA_ 1. Enable _Do not wait for a RA_
1. Configure **Configuration File** to `/cf/conf/att_dhcp6.conf`
1. Save 1. Save
**Configuration File**
1. Logon to your pfSense box and add the following file to `/cf/conf/att_dhcp6.conf` changing the WAN / LAN interface names to match your setup:
```
# WAN
interface ngeth0 {
send ia-na 1; # request stateful address
send ia-pd 1; # request prefix delegation - LAN
request domain-name-servers;
};
id-assoc na 1 { };
id-assoc pd 1 {
prefix ::/60 infinity;
# LAN
prefix-interface bce1 {
sla-id 0;
sla-len 4;
};
};
```
**LAN Setup** **LAN Setup**
1. Go to _Interfaces > LAN_ 1. Go to _Interfaces > LAN_
1. Change the **IPv6 Configuration Type** to _Track Interface_ 1. Change the **IPv6 Configuration Type** to _Track Interface_
1. Under Track IPv6 Interface, assign **IPv6 Interface** to your WAN interface. 1. Under Track IPv6 Interface, assign **IPv6 Interface** to your WAN interface.
1. Configure **IPv6 Prefix ID** to _0_ 1. Configure **IPv6 Prefix ID** to _1_. We start at _1_ and not _0_ because pfSense will use prefix/address ID _0_ for itself and it seems AT&T is flakey about assigning IPv6 prefixes when a request is made with a prefix ID that matches the prefix/address ID of the router.
1. Save 1. Save
If you have additional LAN interfaces repeat these steps for each interface except be sure to provide an **IPv6 Prefix ID** that is not _0_ and is unique among the interfaces you've configured so far.
**DHCPv6 Server & RA** **DHCPv6 Server & RA**
1. Go to _Services > DHCPv6 Server & RA_ 1. Go to _Services > DHCPv6 Server & RA_
1. Enable DHCPv6 server on interface LAN 1. Enable DHCPv6 server on interface LAN
1. Configure a range of ::1000 to ::2000 1. Configure a range of ::0001 to ::ffff:ffff:ffff:fffe
1. Configure a **Prefix Delegation Range** to _64_ 1. Configure a **Prefix Delegation Range** to _64_
1. Add a few IPv6 DNS servers
1. Save 1. Save
1. Go to the _Router Advertisements_ tab 1. Go to the _Router Advertisements_ tab
1. Configure **Router mode** as _Stateless DHCP_ 1. Configure **Router mode** as _Stateless DHCP_