Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
force LAN IPv6 suffix
« previous
next »
Print
Pages: [
1
]
Author
Topic: force LAN IPv6 suffix (Read 2738 times)
almodovaris
Sr. Member
Posts: 318
Karma: 15
force LAN IPv6 suffix
«
on:
December 19, 2022, 11:40:06 pm »
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.
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
WN1X
Newbie
Posts: 43
Karma: 0
Re: force LAN IPv6 suffix
«
Reply #1 on:
December 19, 2022, 11:57:25 pm »
What size prefix are you getting on the WAN?
Logged
- Jim
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #2 on:
December 19, 2022, 11:58:32 pm »
WAN has /64 alotted to it, but the IPv6-PD is /60.
«
Last Edit: December 20, 2022, 12:00:24 am by almodovaris
»
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #3 on:
December 20, 2022, 12:30:03 am »
I fixed it with a hack. I have applied Step 3 from
https://docs.opnsense.org/manual/how-tos/ipv6_dsl.html
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: force LAN IPv6 suffix
«
Reply #4 on:
December 20, 2022, 11:08:45 am »
Why is that a hack. I don't understand.
Cheers,
Franco
Logged
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #5 on:
December 20, 2022, 11:41:59 am »
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.
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 573
Re: force LAN IPv6 suffix
«
Reply #6 on:
December 20, 2022, 11:54:51 am »
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.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: force LAN IPv6 suffix
«
Reply #7 on:
December 20, 2022, 12:38:56 pm »
Yes, it just sounds like it wasn't configured properly, hence me doubting the "hack" part of the fix.
Cheers,
Franco
Logged
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #8 on:
December 21, 2022, 09:13:38 am »
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.
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 573
Re: force LAN IPv6 suffix
«
Reply #9 on:
December 21, 2022, 09:16:30 am »
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
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #10 on:
December 22, 2022, 02:11:32 am »
In OpenWRT I have a /60 on the LAN. And it works.
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: force LAN IPv6 suffix
«
Reply #11 on:
December 22, 2022, 09:13:05 am »
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
Logged
almodovaris
Sr. Member
Posts: 318
Karma: 15
Re: force LAN IPv6 suffix
«
Reply #12 on:
December 22, 2022, 12:17:06 pm »
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.
«
Last Edit: December 22, 2022, 12:21:37 pm by almodovaris
»
Logged
OPNsense HW:
Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: force LAN IPv6 suffix
«
Reply #13 on:
December 22, 2022, 12:36:18 pm »
Nevermind, going to pass on this.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
force LAN IPv6 suffix