RAs with Router lifetime of 0
brianjmurrell opened this issue · 4 comments
brianjmurrell commented
I have the following configuration:
config dhcp 'lan'
option interface 'lan'
option dhcpv6 'disabled'
option ra 'server'
option ra_management '0'
list dns 'fd31:aeb1:48df::2'
option prefix_filter 'fc00:0:0:0:0:0:0:0/7'
option ra_preference 'high'
config dhcp 'lan1'
option interface 'lan1'
option dhcpv6 'disabled'
option ra 'server'
option ra_management '0'
list dns 'fd31:aeb1:48df::2'
option prefix_filter '2001:123:ab:123::/64'
option ra_preference 'medium'
and am getting two RAs from odhcpd
, one for each prefix. However the first one is sent with a Router lifetime of 0 and the second one is sent with a Router lifetime of 1800.
I have installed on my OpenWRT 18.06.4 router:
# opkg info odhcpd-ipv6only
Package: odhcpd-ipv6only
Version: 1.15-3
Depends: libc, libubox, libuci, libubus, libnl-tiny
Status: install user installed
Section: net
Architecture: mips_24kc
Size: 28841
Filename: odhcpd-ipv6only_1.15-3_mips_24kc.ipk
Description: odhcpd is a daemon for serving and relaying IP management protocols to
configure clients and downstream routers. It tries to follow the RFC 6204
requirements for IPv6 home routers.
This is a variant providing server services for RA, stateless and stateful
DHCPv6, prefix delegation and can be used to relay RA, DHCPv6 and NDP between
routed (non-bridged) interfaces in case no delegated prefixes are available.
Installed-Time: 1570894498
brianjmurrell commented
Just updated to OpenWrt 19.07.1 r10911-c155900f66 with odhcpd-ipv6only - 2019-12-16-e53fec89-3 and this problem still occurs.
brianjmurrell commented
Any thoughts on this?
brianjmurrell commented
Any thoughts? This is wreaking havoc in my network with IPv6 default route flapping as the RAs contradict each other.
Surely this can't be considered "OK".
brianjmurrell commented
Hrm. It seems that this is a duplicate of #133. I've added a new comment to clarify the suggestion made.