OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: falcon1 on July 08, 2022, 09:41:36 pm

Title: PPPoE: Static IPv6 assigned to wrong interface
Post by: falcon1 on July 08, 2022, 09:41:36 pm
Hi there,

I am looking for some ideas as I ran out of them. Hopefully someone around here can help me. I have a dual-stack DSL config with a static IPv4 address and a static IPv6 48-bit prefix. No DHCP or similar on the WAN side.

My modem is connected to igb3, so I defined a Point-to-Point interface pppoe0 on that port.
I also created an assignment from pppoe0 to an interface I called "INTERNET". The IPv4 configuration type of "INTERNET" is set to "PPPoE" and works without trouble. I set the IPv6 configuration type to "Static IPv6" and defined my address to be "2a01:1720:abcd::1/48".

Watching via SSH I expected to see "2a01:1720:abcd::1" appearing on interface pppoe0. But instead it was assigned to igb3:

igb3: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ...
        inet6 2a01:1720:abcd::1 prefixlen 48
        ...


This is completely wrong as the IPv6 address needs to be assigned to pppoe0 instead of igb3. I cannot see any mistakes in the configuration steps I took so this might well be a bug. Any ideas?

Best regards,

Steven



Title: Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: marjohn56 on July 09, 2022, 06:25:26 pm
Check  the Use IPv4 Connectivity box in the DHCPv6 client configuration section, see if that fixes it.
Title: Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: franco on July 11, 2022, 08:56:01 am
It should. As the OP describes it it works as configured: option off, VIP not on pppoe device.


Cheers,
Franco
Title: Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: falcon1 on July 12, 2022, 09:45:20 am
I will try that out as soon as I get back home.

Are you sure about that DHCPv6 setting? I have to use static addressing for IPv6, no DHCPv6...
Title: Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: franco on July 12, 2022, 10:17:30 am
It's available for static as well and if you checked you would see that's true. ;)


Cheers,
Franco
Title: Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: marjohn56 on July 13, 2022, 05:42:55 pm
Yes, sorry... should have pointed that out as he's using static. Either way, tick that box.
Title: [SOLVED] Re: PPPoE: Static IPv6 assigned to wrong interface
Post by: falcon1 on July 25, 2022, 10:09:10 pm
Thanks. That worked!