OPNsense Forum

English Forums => General Discussion => Topic started by: linus666 on November 11, 2022, 11:03:13 AM

Title: No IPV6 address on LAN interface, DHCPV6 is up
Post by: linus666 on November 11, 2022, 11:03:13 AM
Hello :)

I tried to activate IPV6 via DHCPv6 on my LAN interface.
This is my configuration:
https://ibb.co/mCKV494

And this is the result in the overview:
https://ibb.co/rcX93gW

As you can see, no IPV6 gets assorted in the LAN, even if DHCPV6 is up

I tried all combinations of the checkboxes in the IPV6 field, when IPV4 connectivity is ticket, DHCPV6 is down. But no change can get me a ipv6 adress.
What is the reason for this and how to resolve?

Thank you so much for any help
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 11:15:08 AM
For LAN you would like to set config type to "Track interface" and select your WAN for tracking at the bottom of the page.
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: Patrick M. Hausen on November 11, 2022, 11:15:24 AM
Do you have another IPv6 capable router that acts as a DHCPv6 server in that network?
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 11:17:43 AM
Looks like we need some information about the setup :)
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: linus666 on November 11, 2022, 11:52:08 AM
Quote from: tiermutter on November 11, 2022, 11:15:08 AM
For LAN you would like to set config type to "Track interface" and select your WAN for tracking at the bottom of the page.

This also doesnt work. My WAN gets an ipv6 adress but the lan doesnt (only local)
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: linus666 on November 11, 2022, 11:54:14 AM
Quote from: tiermutter on November 11, 2022, 11:17:43 AM
Looks like we need some information about the setup :)

My Setup:

I have a LTE router which is capable of ipv4 + 6.
This LTE router goes  to the firewall, which has an interface "LTE" which is used for connectivity. The WAN interface is called NETC, and its not used connectivity.
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 11:55:19 AM
As said: Looks like we need some information about your setup.
Tell us something about your setup and provide some screenshots from your OPNsense config.
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 11:57:25 AM
Sorry, posts overlapped.
In this case you need to select "LTE" for tracking interface and LTE needs a v6 address.
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: linus666 on November 11, 2022, 11:59:04 AM
Quote from: tiermutter on November 11, 2022, 11:57:25 AM
Sorry, posts overlapped.
In this case you need to select "LTE" for tracking interface and LTE needs a v6 address.

I already selected LTE with DHCPV6 (LTE got an ipv6 assorted), then used it as track interface in my LAN. The result: no IPV6 got assorted to the LAN, no ipv6 connectivity with lan even after several reboots of both my computer and the firewall, after an hour of waiting.

Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 12:05:03 PM
What prefix lenght is delegated to your LTE interface?
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: linus666 on November 11, 2022, 12:07:36 PM
Quote from: tiermutter on November 11, 2022, 12:05:03 PM
What prefix lenght is delegated to your LTE interface?

My LTE overview:
https://ibb.co/ynK0t04

/64 is the prefix length
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: tiermutter on November 11, 2022, 12:25:49 PM
My fear came true:
You cannot delegate subnets from a /64! You need e.g. a /56, thats most common.
I am not sure if mobile provider will provide it, but you can give it a try. Whats your LTE interface config? Do you send a prefix hint for /56?
Title: Re: No IPV6 address on LAN interface, DHCPV6 is up
Post by: Patrick M. Hausen on November 11, 2022, 12:57:31 PM
You can use ULA and NPT. But then some clients like e.g. Mac OS will ignore IPv6 if they have *only* ULA.

You could try to get *some* GUA /64, e.g. from your company or from a friend who gets a /56 from their ISP, which is unused. Then configure that statically and use NPT to your LTE /64.

I use parts of my German Telekom assigned /56 in VPN connections with outbound NAT.

Or register a tunnel with Hurrican Electric just to get a fixed address that is assigned to you. Then use that and NPT.

HTH,
Patrick