Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
IPv6 - weird interaction between opnsense and fritz!box
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPv6 - weird interaction between opnsense and fritz!box (Read 2657 times)
julf
Newbie
Posts: 6
Karma: 0
IPv6 - weird interaction between opnsense and fritz!box
«
on:
June 14, 2021, 05:47:03 pm »
The WAN interface of my opnsense box connects to my fritz!box fibre optic modem. Strangely the opnsense interface, configured for dhcp6 only gets a link-local address, while my laptop gets a proper global IPv6 address when connected directly to the fritz!box.
Any clues or suggestions? I might of course be doing something stupid...
Logged
KHE
Full Member
Posts: 229
Karma: 18
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #1 on:
June 14, 2021, 05:54:11 pm »
Did you select
Request only an IPv6 prefix
in the DHCPv6 client configuration of the WAN interface?
If yes unselect it.
KH
Logged
julf
Newbie
Posts: 6
Karma: 0
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #2 on:
June 14, 2021, 06:07:25 pm »
Thanks, that helped - now the WAN interface gets a proper, routeable address. Now I just need to get the same to happen with the clients on the LAN interface.
Logged
KHE
Full Member
Posts: 229
Karma: 18
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #3 on:
June 14, 2021, 06:16:55 pm »
Set
IPv6 Configuration Type
to
Track interface
and in the
Track IPv6 Interface
section then select
WAN
. If you have only one internal network you can leave the
IPv6 Prefix ID
to 0 (Also needed if the Prefix is only /64).
KH
Logged
julf
Newbie
Posts: 6
Karma: 0
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #4 on:
June 14, 2021, 06:36:20 pm »
That is what I have - and I have a /48. Looking at the dashboard, I see that the dhcp6 server is not running, and refuses to start. In the general log file I see a message with "found no suitable IPv6 address on em0".
Logged
KHE
Full Member
Posts: 229
Karma: 18
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #5 on:
June 14, 2021, 07:06:21 pm »
Did you set something under
Services -> Router Advertisements -> [LAN] -> Router Advertisements
?
I use Unmanaged, which means SLAAC (Stateless Address Auto-Configuration).
I have not used DHCPv6, because SLAAC was easier for me to setup and also some devices (e.g. Android phones) seem not to work with it.
It is possible to set up a network with DHCPv6, but IPv6 is designed to work without it. There are many websites out there describing the reasons to use SLAAC or DHCPv6 and as many opinions which one is better.
IPv6 introduces many new concepts and solutions, and I just wanted to mention that SLAAC is the option which works for me.
I forgot to mention, that in the LAN interface I checked the
Manual configuration
checkbox.
KH
«
Last Edit: June 14, 2021, 07:13:35 pm by KHE
»
Logged
julf
Newbie
Posts: 6
Karma: 0
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #6 on:
June 14, 2021, 08:46:20 pm »
I did try changing to SLAAC, but the client machines on the LAN still only have link-local addresses.
Logged
KHE
Full Member
Posts: 229
Karma: 18
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #7 on:
June 14, 2021, 08:58:09 pm »
If a reboot does not work, then is time for screenshots of the WAN, LAN and Router advertisment settings.
There sometimes seems to be an issue with the propagation of the IPv6 prefix.
KH
Logged
julf
Newbie
Posts: 6
Karma: 0
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #8 on:
June 14, 2021, 09:10:32 pm »
Will do that tomorrow morning - it is not entirely trivial, as the machine I use to access the opnsense box doesn't talk to the Internet...
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #9 on:
June 15, 2021, 12:20:12 am »
Is the /48 actually getting delegated to OPNsense? Check under Interfaces/Overview/WAN.
It is possible that the Fritz!box is taking the prefix. Some modems don’t bridge IPv6 properly, and so it is necessary to disable IPv6 entirely on them before bridging, so that they don’t interfere with OPNsense getting an IP address and prefix on the WAN interface.
Logged
julf
Newbie
Posts: 6
Karma: 0
Re: IPv6 - weird interaction between opnsense and fritz!box
«
Reply #10 on:
June 15, 2021, 10:02:23 am »
Hmm, yes... Interfaces/Overview/WAN shows that the OPNsense box only gets a /57.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
IPv6 - weird interaction between opnsense and fritz!box