Bug #13633
closed
DHCPv6 rules are not created for interfaces with static IPv6
Added by Marcos M about 2 years ago.
Updated almost 2 years ago.
Plus Target Version:
23.01
Affected Architecture:
All
Description
Tested on 23.01.
Rules are not created automatically when the DHCPv6 server is enabled on interfaces with a static IPv6 address configured.
- Status changed from New to Pull Request Review
- Assignee set to Marcos M
I couldn't replicate the issue on 22.05.
After setting the static IPv6 on the LAN interface and enabling DHCPv6 Server, I got the IPv6 address on my PC from the defined range.
Here is the generated ruleset:
# allow access to DHCPv6 server on LAN
# We need inet6 icmp for stateless autoconfig and dhcpv6
pass quick on $LAN inet6 proto udp from fe80::/10 to fe80::/10 port = 546 ridentifier 1000002551 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from fe80::/10 to ff02::/16 port = 546 ridentifier 1000002552 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from fe80::/10 to ff02::/16 port = 547 ridentifier 1000002553 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from ff02::/16 to fe80::/10 port = 547 ridentifier 1000002554 label "allow access to DHCPv6 server"
pass in quick on $LAN inet6 proto udp from fe80::/10 to fc00::1 port = 546 ridentifier 1000002555 label "allow access to DHCPv6 server"
pass out quick on $LAN inet6 proto udp from fc00::1 port = 547 to fe80::/10 ridentifier 1000002556 label "allow access to DHCPv6 server"
I get the same ruleset generated after I copied the patched filter.inc file and reloaded the filter:
# allow access to DHCPv6 server on LAN
pass quick on $LAN inet6 proto udp from fe80::/10 to fe80::/10 port = 546 ridentifier 1000002551 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from fe80::/10 to ff02::/16 port = 546 ridentifier 1000002552 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from fe80::/10 to ff02::/16 port = 547 ridentifier 1000002553 label "allow access to DHCPv6 server"
pass quick on $LAN inet6 proto udp from ff02::/16 to fe80::/10 port = 547 ridentifier 1000002554 label "allow access to DHCPv6 server"
pass in quick on $LAN inet6 proto udp from fe80::/10 to fc00::1 port = 546 ridentifier 1000002555 label "allow access to DHCPv6 server"
pass out quick on $LAN inet6 proto udp from fc00::1 port = 547 to fe80::/10 ridentifier 1000002556 label "allow access to DHCPv6 server"
The 22.05 system that had the same symptom ended up being user error. However 23.01 is still an issue.
- Description updated (diff)
- Affected Architecture All added
Patch works as expected and is required in current snapshots.
Tested:
2.7.0-DEVELOPMENT (amd64)
built on Mon Nov 14 06:04:22 UTC 2022
FreeBSD 14.0-CURRENT
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Tested against:
23.01-DEVELOPMENT (amd64)
built on Fri Nov 18 06:04:48 UTC 2022
FreeBSD 14.0-CURRENT
It works as expected. I am marking this ticket resolved.
- Target version set to 2.7.0
- Plus Target Version set to 23.01
Also available in: Atom
PDF