OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: Okahzio on July 30, 2023, 10:08:59 PM

Title: IPv6 through VLAN-tagged WAN
Post by: Okahzio on July 30, 2023, 10:08:59 PM
Hello,

I have an ISP with PPPOE connection that requires VLAN-tagging.

Currently I have following configuration:

1) VLAN interface connected to igb0
2) PtP interface connected to VLAN
3) WAN interface assigned to PtP

This works perfectly fine and WAN interface gets IPv4 address properly, but IPv6 is link-local (fe80::/7).
ISP claims they are assigning IPv6 range... In the log of the PtP interface I could find this:


2023-07-25T12:08:34 Informational ppp [wan] IFACE: Rename interface ng0 to pppoe1
2023-07-25T12:08:34 Informational ppp [wan] IFACE: Up event
2023-07-25T12:08:34 Informational ppp [wan]   266e:96ff:fe56:e315 -> 0200:5eff:fe00:01d7
2023-07-25T12:08:34 Informational ppp [wan] IPV6CP: LayerUp
2023-07-25T12:08:34 Informational ppp [wan] IPV6CP: state change Ack-Sent --> Opened
2023-07-25T12:08:34 Informational ppp [wan] IPV6CP: rec'd Configure Ack #1 (Ack-Sent)
2023-07-25T12:08:34 Informational ppp [wan]   SECDNS 0.0.0.0
2023-07-25T12:08:34 Informational ppp [wan]   PRIDNS 0.0.0.0
2023-07-25T12:08:34 Informational ppp [wan]   IPADDR 0.0.0.0


Those IPv6 ranges (if they are /64 ranges) look very strange for me. Can you guys suggest whether I am doing something wrong or do I have to keep pushing the ISP?
Title: Re: IPv6 through VLAN-tagged WAN
Post by: Maurice on July 31, 2023, 02:11:04 PM
How did you configure the DHCPv6 client?
Title: Re: IPv6 through VLAN-tagged WAN
Post by: Okahzio on July 31, 2023, 05:10:10 PM
Problem solved. After 2 hours on the phone with the ISP they figured out to tell me that 1) I needed to do DHCPv6 over IPv4 connection, 2) set VLAN Priority to 7 (!)