Has anyone configured IPv6 on M1 Broadband using Ubiquiti EdgeRouter / USG
I tried the below config but no luck.
Interestingly, when I add address dhcpv6 to eth0, it pulls an IP (/64) but when I do dhcpv6-pd (to enable the LAN clients with IPv6) it doesn't work. We can't run dhcpv6 and dhcpv6-pd on the same interface. So curious how people have resolved this?
As per my understanding, M1 does IPv6 with DHCPv6-PD(/64) + SLAAC
Even config on OpenWRT Routers (uci show) would be much appreciated.
eth0=WAN
switch0=LAN
Tried the below, but no luck
I tried the below config but no luck.
Interestingly, when I add address dhcpv6 to eth0, it pulls an IP (/64) but when I do dhcpv6-pd (to enable the LAN clients with IPv6) it doesn't work. We can't run dhcpv6 and dhcpv6-pd on the same interface. So curious how people have resolved this?
As per my understanding, M1 does IPv6 with DHCPv6-PD(/64) + SLAAC
Even config on OpenWRT Routers (uci show) would be much appreciated.
eth0=WAN
switch0=LAN
Tried the below, but no luck
Markdown (GitHub flavored):
```
set interfaces ethernet eth0 dhcpv6-pd pd 0 prefix-length /64
set interfaces ethernet eth0 dhcpv6-pd rapid-commit disable
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface switch0 host-address ::1
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface switch0 service slaac
set firewall ipv6-name WAN6-IN default-action drop
set firewall ipv6-name WAN6-IN description "WAN IPv6 inbound traffic to LAN"
set firewall ipv6-name WAN6-IN enable-default-log
set firewall ipv6-name WAN6-IN rule 1 action accept
set firewall ipv6-name WAN6-IN rule 1 description "Allow established/related state"
set firewall ipv6-name WAN6-IN rule 1 state established enable
set firewall ipv6-name WAN6-IN rule 1 state related enable
set firewall ipv6-name WAN6-IN rule 2 action drop
set firewall ipv6-name WAN6-IN rule 2 description "Deny invalid state"
set firewall ipv6-name WAN6-IN rule 2 state invalid enable
set firewall ipv6-name WAN6-LOCAL default-action drop
set firewall ipv6-name WAN6-LOCAL description "WAN IPv6 inbound traffic to the router"
set firewall ipv6-name WAN6-LOCAL enable-default-log
set firewall ipv6-name WAN6-LOCAL rule 1 action accept
set firewall ipv6-name WAN6-LOCAL rule 1 description "Allow established/related state"
set firewall ipv6-name WAN6-LOCAL rule 1 state established enable
set firewall ipv6-name WAN6-LOCAL rule 1 state related enable
set firewall ipv6-name WAN6-LOCAL rule 2 action accept
set firewall ipv6-name WAN6-LOCAL rule 2 description "Allow DHCPv6"
set firewall ipv6-name WAN6-LOCAL rule 2 destination port 546
set firewall ipv6-name WAN6-LOCAL rule 2 protocol udp
set firewall ipv6-name WAN6-LOCAL rule 2 source port 547
set firewall ipv6-name WAN6-LOCAL rule 3 action accept
set firewall ipv6-name WAN6-LOCAL rule 3 description "Allow ICMPv6"
set firewall ipv6-name WAN6-LOCAL rule 3 protocol icmpv6
set firewall ipv6-name WAN6-LOCAL rule 4 action drop
set firewall ipv6-name WAN6-LOCAL rule 4 description "Deny invalid state"
set firewall ipv6-name WAN6-LOCAL rule 4 state invalid enable
set firewall ipv6-receive-redirects disable
set firewall ipv6-src-route disable
set interfaces ethernet eth0 firewall in ipv6-name WAN6-IN
set interfaces ethernet eth0 firewall local ipv6-name WAN6-LOCAL
[/ICODE]
If you do not get an IPv6 address, use the following commands to force DHCPv6 renew:
[ICODE]
release dhcpv6-pd interface eth0
delete dhcpv6-pd duid
renew dhcpv6-pd interface eth0
[/ICODE]
Tried this too! No output on "show dhcpv6-pd log"
[ICODE]
$ show firewall ipv6-name
--------------------------------------------------------------------------------
IPv6 Firewall "WAN6-IN":
Active on (eth0,IN)
rule action proto packets bytes
---- ------ ----- ------- -----
1 accept all 0 0
condition - state RELATED,ESTABLISHED
2 drop all 0 0
condition - state INVALID
10000 drop all 0 0
condition - LOG enabled
--------------------------------------------------------------------------------
IPv6 Firewall "WAN6-LOCAL":
Active on (eth0,LOCAL)
rule action proto packets bytes
---- ------ ----- ------- -----
1 accept all 0 0
condition - state RELATED,ESTABLISHED
2 accept udp 0 0
condition - udp spt:dhcpv6-server dpt:dhcpv6-client
3 accept ipv6-icmp 102 7168
4 drop all 0 0
condition - state INVALID
10000 drop all 0 0
condition - LOG enabled
```
[/ICODE]
Last edited:
