You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: att-ipv6/README.md
+8-14Lines changed: 8 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,8 @@ Near the top of `10-att-ipv6.sh`:
33
33
34
34
This generates configuration files in directory `/data/att-ipv6`, if they don't exist.
35
35
The files can be edited, or regenerated by deleting them and re-running the script.
36
+
The script installs `dhcpcd5` via `apt` (if needed), copies `/data/att-ipv6/dhcpcd.conf` to `/etc/dhcpcd.conf`, and restarts `dhcpcd` when that configuration changes.
37
+
For dnsmasq, it writes `att-ipv6.conf` to `/run/dnsmasq.dhcp.conf.d/` on newer UniFi Network releases (post-`9.3.29`), and falls back to `/run/dnsmasq.conf.d/` on older versions.
36
38
37
39
## Installation
38
40
@@ -43,11 +45,9 @@ The files can be edited, or regenerated by deleting them and re-running the scri
43
45
./10-att-ipv6.sh
44
46
```
45
47
46
-
The dhcpcd container being used is built [here](https://github.com/michaelw/dhcpcd-container/pkgs/container/dhcpcd)
47
-
48
48
## Validation
49
49
50
-
Running the script starts dhcpcd within the `att-ipv6` container on `eth8` (WAN1) and only for the default network (`br0`). This can be customized, see above.
50
+
Running the script configures and runs `dhcpcd` directly on the host for`eth8` (WAN1) and only for the default network (`br0`). This can be customized, see above.
51
51
52
52
To check that everything is working as expected, and the ATT RG delegates multiple prefixes:
53
53
@@ -65,7 +65,7 @@ $ ip -6 r # should see a default route on the WAN interface, and a
65
65
```
66
66
67
67
```sh
68
-
$ podman logs att-ipv6# should see dhcpcd successfully acquiring prefixes
68
+
$ journalctl -u dhcpcd -n 200 --no-pager# should see dhcpcd successfully acquiring prefixes
69
69
[...]
70
70
eth9: writing lease `/var/lib/dhcpcd/eth9.lease6'
71
71
eth9: delegated prefix 2600:1700:X:yyyf::/64
@@ -110,21 +110,15 @@ On BGW320-500, check https://192.168.1.254/cgi-bin/lanstatistics.ha for multiple
110
110
On clients:
111
111
112
112
```
113
-
ip -6 addr show # should see SLAAC and/or DHCPv6 addresses received (if not, check dnsmasq configuration in `/run/dnsmasq.conf.d`)
113
+
ip -6 addr show # should see SLAAC and/or DHCPv6 addresses received (if not, check dnsmasq configuration in `/run/dnsmasq.dhcp.conf.d/att-ipv6.conf` or `/run/dnsmasq.conf.d/att-ipv6.conf`)
114
114
```
115
115
116
116
### Useful commands
117
117
118
118
```sh
119
-
# View dhcpcd logs to verify the container is running without error (ipv6 logs from dhcpcd are normal).
120
-
podman logs att-ipv6
119
+
# View dhcpcd logs to verify dhcpcd is running without error (ipv6 logs from dhcpcd are normal).
120
+
journalctl -u dhcpcd -n 200 --no-pager
121
121
122
122
# Restart dhcpcd (e.g., after configuration change)
0 commit comments