Closed brianjmurrell closed 5 years ago
The odhcpd version in use in OpenWrt 18.06.1 had an issue related to the parsing of the prefix_filter config option; this was fixed in commit https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=ae6cf8008e50ba9838a056d78cb6aea405c55b7d. I backported this fix together with another fix to OpenWrt-18.06 branch (https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=016a71a18a238842e36d6742af7fb852fe5742dc)
Does this option not support being able to set multiple prefix_filter
s?
list prefix_filter '2001:1234::/32'
list prefix_filter '2001:5678::/32'
results in no prefixes being filtered.
The prefix_filter config option does currently not support multiple prefixes; I discussed this briefly with the original author of the patch in http://lists.infradead.org/pipermail/openwrt-devel/2018-January/010573.html. Feel free to submit a patch if the current implementation does not support your use case
I have an OpenWRT 18.06.1 router with 3 IPv6 links to the Internet. I have configured a
prefix_filter
on thelan
interface in/etc/config/dhcp
:But my LAN hosts are still seeing all of the available IPv6 prefixes in the RAs from the router.