force LAN IPv6 suffix

Started by almodovaris, December 19, 2022, 11:40:06 PM

Previous topic - Next topic
I have the LAN have a v6/t6 (track WAN) IPv6 address. It has /62 suffix.

How do I force a /64 suffix for LAN only? I want to keep the track WAN option.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

What size prefix are you getting on the WAN?
- Jim

December 19, 2022, 11:58:32 PM #2 Last Edit: December 20, 2022, 12:00:24 AM by almodovaris
WAN has /64 alotted to it, but the IPv6-PD is /60.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

I fixed it with a hack. I have applied Step 3 from https://docs.opnsense.org/manual/how-tos/ipv6_dsl.html
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

Why is that a hack. I don't understand.


Cheers,
Franco

The WAN used to have public /64 IPs. It no longer haves them. Now it's a private /64. And it fixed the /62 into a /64 range for LAN.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

You cannot have a /62 on LAN. If DTAG delegates you a /62 the intention is to use up to 4 separate /64s. All boradcast interfaces have /64 in IPv6. Always.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Yes, it just sounds like it wasn't configured properly, hence me doubting the "hack" part of the fix.


Cheers,
Franco

Then I would like to have a checkbox to force a /64, nothing else.

If it matters, I have the internet provider Ziggo from the Netherlands. It behaves pretty much like FLETS from Japan.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

No, no, no  :)

If your provider delegates you a /62 you must ask for a /62. If they delegate a /56 you must ask for a /56.
It's only that the assignment to any local interface will always be a /64 because there are no other prefix lengths on local interfaces in IPv6. It's always /64.

HTH,
Patrick
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

In OpenWRT I have a /60 on the LAN. And it works.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

I still don't understand. Sure, /60 works in some ways, but only if the WAN gets a PD like /56. So what are we comparing? And how does this translate to discussing /62 vs. /64? It sounds like the OPNsense is behind the OpenWRT. The description of the problem leaves out the setup that is at play here..

And to reiterate. Track interface NEVER assigns anything other than /64.


Cheers,
Franco

December 22, 2022, 12:17:06 PM #12 Last Edit: December 22, 2022, 12:21:37 PM by almodovaris
Oh, boy. Track WAN assigns to LAN /62 in one location (behind OpenWRT) and /60 at another house (immediately behind Ziggo modem/router, that is in its DMZ).

In both cases a public /64 gets assigned to WAN.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

Nevermind, going to pass on this.


Cheers,
Franco