Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
DHCPv6 handing out /128 addresses
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCPv6 handing out /128 addresses (Read 3363 times)
GaryElmes
Newbie
Posts: 2
Karma: 1
DHCPv6 handing out /128 addresses
«
on:
April 29, 2018, 01:41:47 am »
I've been experimenting with different ways of configuring IPv6 on my router. Yesterday I thought I would take the DHCPv6 service for a spin.
I configured my LAN port with a static /64 address, then configured the DHCPv6 service on that port and configured a "test" device on the local LAN to request it's IPv6 config via DHCP.
The IPv6 address that was sent to the test device by the DHCPv6 service on the router had a /128 subnet mask, instead of the /64 mask I was expecting. Am I missing some configuration step, or is DHCPv6 broken? Surely it's not expected that DHCPv6 will force all local LAN traffic to be tromboned via the router.
(I'm also a bit bemused by the fact that you can't configure DHCPv6 for a port that is tracking a WAN port, but I see that is being discussed elsewhere.)
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: DHCPv6 handing out /128 addresses
«
Reply #1 on:
April 29, 2018, 05:02:26 pm »
DHCPv6 does not work like DHCPv4. DHCPv6 address assignments do not contain prefix or router information. That's why they are considered /128. Clients learn prefixes and routers from Router Advertisements only. If an on-link prefix from RAs matches an address from DHCPv6, local traffic won't go through the router.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
DHCPv6 handing out /128 addresses