I have two routers in cascade providing IPv6 connectivity to internal networks.
HE.net <---> [border router] <---> [internal router] <---> LAN
My border router is only intended to two purposes, really:
- connect to ISP via PPPoE
- connect to HE via 6in4
Everything works just fine until the border router is restarted. After the border router restarts, the internal router can still traceroute6
as usual; IPv6 connectivity looks OK from the internal router perspective. However, workstations in the LAN lose IPv6 connectivity completely.
This behavior would suggest that the issue is on the internal router. However, after several tests, turns out that restarting the LAN interface of the border router "solves" the issue.
After restarting the LAN interface of the border router (not the internal router!), all workstations in the internal LAN regain IPv6 connectivity as usual.
Could anyone hint what could possibly be wrong, please?
Thanks a lot,
This is the border router
/etc/config/network
config dsl 'dsl'
option annex 'b'
option line_mode 'vdsl'
option tone 'a'
option xfer_mode 'ptm'
option ds_snr_offset '0'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option macaddr 'a0:bd:cd:96:1e:49'
option ipaddr '192.168.0.1'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'
option ip6ifaceid '::1'
option ip6hint '4000'
option ip6assign '64'
option force_link '0'
config interface 'wan'
option proto 'pppoe'
option ifname 'dsl0.101'
option username 'dsl00000000@utilitiesuk.vodafone.net'
option password 'password'
option ipv6 '0'
config interface 'he6'
option ifname 'pppoe-wan'
option proto '6in4'
option username 'username'
option peeraddr '216.66.88.98'
option ip6addr '2001:470:cafe:babe::2/64'
option password 'password'
option tunnelid '123456'
list ip6prefix '2001:470:cafe::/48'
config device 'lan_eth0_1_dev'
option name 'eth0.1'
option macaddr '34:8a:ae:74:a6:4c'
config device 'wan_dsl0_dev'
option name 'dsl0'
option macaddr 'a0:bd:cd:96:1e:4a'
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
config dhcp 'lan'
option interface 'lan'
option ndp 'hybrid'
option ra_management '1'
option start '2'
option leasetime '12h'
option limit '1'
option ra_default '1'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'
list dns '1.1.1.1'
list dns '1.0.0.1'
list domain 'example.com'
option ra 'hybrid'
option dhcpv6 'hybrid'
option dynamicdhcp '0'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
This is the internal router
/etc/config/network
config interface 'wan'
option proto 'static'
option ipaddr '192.168.0.2'
option netmask '255.255.255.0'
option gateway '192.168.0.1'
option force_link '0'
option delegate '0'
option device 'wan'
list dns '1.1.1.1'
list dns '1.0.0.1'
list dns_search 'example.com'
config interface 'wan6'
option proto 'static'
list ip6addr '2001:470:cafe:4000::2/64'
option ip6gw '2001:470:cafe:4000::1'
option ip6prefix '2001:470:cafe:4000::/64'
option device 'wan'
option force_link '0'
config interface 'lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option metric '100'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'
list dns '1.1.1.1'
list dns '1.0.0.1'
option stp '1'
option ip6gw '2001:470:cafe:4000::1'
list ip6addr '2001:470:cafe:4500::1/64'
option device 'br-lan'
/etc/config/dhcp
config dnsmasq
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option expandhosts '1'
option authoritative '1'
option leasefile '/tmp/dhcp.leases'
option domain 'example.com'
option domainneeded '1'
list server '1.1.1.1'
list server '1.0.0.1'
list server '2606:4700:4700::1111'
list server '2606:4700:4700::1001'
option localservice '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
option start '100'
option limit '150'
option leasetime '12h'
list ra_flags 'none'
config dhcp 'wan6'
option interface 'wan6'
option start '100'
option limit '150'
option leasetime '12h'
option ignore '1'
option ra 'hybrid'
list ra_flags 'none'
option dhcpv6 'hybrid'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'
list domain 'example.com'
option ndp 'hybrid'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option ra_management '1'
list dhcp_option '6,192.168.1.1'
option leasetime '12h'
option ra 'server'
option dhcpv6 'server'
list domain 'example.com'
option ndp 'hybrid'
list dns '2001:470:cafe:4500::1'
list ra_flags 'none'