I have an OpenWRT router that has been running stably for many many (many!) months if not years on BB (r42625).
It has suddenly stopped sending IPv6 router advertisements shortly
after boot. That is, if I reboot it, it sends out a few router
advertisements but then completely stops sending them after that.
The result is that the hosts on my LAN eventually lose their IPv6
addresses and routes and I have to reboot the router to get them back.
Restarting odhcpd doesn't even fix it.
Some configuration files:
# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd31:aeb1:48df::/48'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
list ipaddr '10.75.22.253'
list ipaddr '10.75.22.254'
option netmask '255.255.255.0'
option ip6assign '60'
option defaultroute '0'
option peerdns '0'
option dns '10.75.22.3'
list dns_search 'interlinx.bc.ca ilinx'
config interface 'wan0'
option ifname 'eth0.2'
option proto 'dhcp'
option peerdns '0'
config interface 'wan1'
option ifname 'eth0.3'
option proto 'pppoe'
option username 'xxx
option password 'xxx'
option ppp_redial 'persist'
option peerdns '0'
option defaultroute '0'
option ipv6 '1'
config interface 'wan6'
option ifname '@wan1'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option defaultroute '0'
option peerdns '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1t 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '0t 1t'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 1t'
config switch_vlan
option device 'switch0'
option vlan '100'
option vid '100'
option ports '0t 1t'
config interface 'pppoe_ether'
option ifname 'eth0.3'
option proto 'static'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
option defaultroute '0'
option peerdns '0'
config interface 'henet'
option proto '6in4'
option peeraddr '216.66.38.58'
option ip6addr '2001:xxx:xx:xxx::2/64'
option ip6prefix '2001:xxx:xx:xxx::/64'
option tunnelid 'xxx'
option username 'xxx'
option password 'xxx'
option updatekey 'xxx'
config interface 'cableco'
option proto '6to4'
option adv_subnet '1'
option adv_interface 'lan'
option ip6prefix '2002:xxxx:xxxx::1/60'
config interface 'guest'
option proto 'static'
list ipaddr '192.168.101.253'
list ipaddr '192.168.101.254'
option netmask '255.255.255.0'
option type 'bridge'
option _orig_ifname 'eth0.100 radio0.network2'
option _orig_bridge 'true'
option ifname 'eth0.100'
# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'ilinx'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp 'lan'
option interface 'lan'
option dhcpv6 'server'
option ra 'server'
option ra_management '1'
option start '100'
option limit '150'
option leasetime '12h'
list dns 'fd31:aeb1:48df:0:214:d1ff:fe13:45ac'
config dhcp 'wan0'
option interface 'wan0'
option ignore '1'
config dhcp 'wan1'
option ignore '1'
option interface 'wan1'
option dynamicdhcp '0'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
The thing I can't re-iterate enough is that no network/dhcp
configuration on this router has changed since deploying it
months/years ago, so this problem cannot be a configuration change
screwup. Something environmental must have changed to stop odhcpd from
sending out periodic router advertisements.
But I can't for the life of me think of any (legitimate) reasons why
odhcpd should/would stop sending RAs. Any ideas welcome on that, no
matter how far fetched.
Cheers,
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
