#With DD-WRT
DHCPv6 with Prefix Delegation
Prefix Length 64
Dhcp6c Custom Disable
Dhcp6s Enable / Custom Disable
Radvd Enable / Custom Disable
Router 2804:14c:5f80:1054:200:ff:fe00:0
Client 2804:14c:5f80:1054:54ac:333f:3dfc:852e
Ok!
test-ipv6.com 10/10
ipv6-test.com 19/20
#With EdgeRouter
Router
eth0 WAN Only /128
eth1 LAN No IPv6
switch0 No IPv6
Client No IPv6
#Configuration:
firewall {
all-ping enable
broadcast-ping disable
group {
network-group BOGONS {
network 10.0.0.0/8
network 100.64.0.0/10
network 127.0.0.0/8
network 169.254.0.0/16
network 172.16.0.0/12
network 192.0.0.0/24
network 192.0.2.0/24
network 192.168.0.0/16
network 198.18.0.0/15
network 198.51.100.0/24
network 203.0.113.0/24
network 224.0.0.0/4
network 240.0.0.0/4
}
}
ipv6-name WANv6_IN {
default-action drop
description "WAN IPv6 to LAN"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
rule 30 {
action accept
description "Allow icmpv6"
protocol ipv6-icmp
}
rule 60 {
action accept
description "Allow DHCPV6 responses from ISP"
destination {
port dhcpv6-client
}
protocol udp
source {
port dhcpv6-server
}
}
}
ipv6-name WANv6_LOCAL {
default-action drop
description "WAN inbound to router"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
rule 30 {
action accept
description "Allow icmpv6"
protocol ipv6-icmp
}
rule 40 {
action accept
description "Allow dhcpv6"
destination {
port 546
}
protocol udp
source {
port 547
}
}
}
ipv6-name client6-in {
default-action accept
description "Clients to other nets"
}
ipv6-name client6-local {
default-action accept
description "Clients to router"
}
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name client_IN {
default-action accept
description "Clients to other net"
}
name client_LOCAL {
default-action accept
description "Clients to router"
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
address dhcp
description Internet
dhcpv6-pd {
pd 0 {
interface switch0 {
host-address ::1
prefix-id :1
service slaac
}
prefix-length 60
}
rapid-commit enable
}
duplex auto
firewall {
in {
ipv6-name WANv6_IN
name WAN_IN
}
local {
ipv6-name WANv6_LOCAL
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
description Local
duplex auto
speed auto
poe {
output off
}
}
ethernet eth2 {
description Local
duplex auto
speed auto
poe {
output off
}
}
ethernet eth3 {
description Local
duplex auto
speed auto
poe {
output off
}
}
ethernet eth4 {
description Local
duplex auto
speed auto
poe {
output off
}
}
loopback lo {
}
switch switch0 {
address 192.168.2.1/24
description Local
firewall {
in {
ipv6-name client6-in
name client_IN
}
local {
ipv6-name client6-local
name client_LOCAL
}
}
ipv6 {
dup-addr-detect-transmits 1
router-advert {
cur-hop-limit 64
link-mtu 0
managed-flag true
max-interval 600
name-server 2001:4860:4860::8888
name-server 2620:0:ccc::2
name-server 2804:10:10::10
other-config-flag false
prefix ::/64 {
autonomous-flag true
on-link-flag true
valid-lifetime 2592000
}
reachable-time 0
retrans-timer 0
send-advert true
}
}
mtu 1500
switch-port {
interface eth1
interface eth2
interface eth3
interface eth4
}
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN {
authoritative disable
subnet 192.168.2.0/24 {
default-router 192.168.2.1
dns-server 192.168.2.1
lease 180
start 192.168.2.2 {
stop 192.168.2.254
}
}
}
}
dns {
forwarding {
cache-size 500
listen-on switch0
}
}
gui {
https-port 443
}
nat {
rule 5010 {
description "masquerade for WAN"
outbound-interface eth0
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
upnp {
listen-on switch0 {
outbound-interface eth0
}
}
ubnt-discover {
disable
}
}
...