[CALL FOR TESTING] PPPoE restructuring and IPv6 improvements

Started by franco, August 09, 2024, 09:11:31 AM

Previous topic - Next topic
Unset and it keeps working?

https://github.com/opnsense/core/commit/805120ea7844f

The only thing that "dhcp6usev4iface" did was change the interface from the hardware to the PPP device when checked in get_real_interface(). When it's not PPP, it keeps (has to, really) the hardware name.


Cheers,
Franco

Maybe just a glitch or timing issue, but as I said, I had it on two machines with the same ISP. I know that this ISP sometimes takes a 2-3 minutes for DHCPv6, but the problem persisted for more than 5 minutes after the reboot.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

Quote from: meyergru on August 22, 2024, 11:38:39 AM
Maybe just a glitch or timing issue, but as I said, I had it on two machines with the same ISP. I know that this ISP sometimes takes a 2-3 minutes for DHCPv6, but the problem persisted for more than 5 minutes after the reboot.

I had the exact same issue this morning also on a Deutsche Glasfaser circuit.

Opnsense autoupdate ran at 3am this morning. The problem is No IPv6 on WAN.

The Services dhcpd6, dpinger (v6) were stopped (crashed?) and can't be started anymore.

I found this thread and checking the "Use IPv4 connectivity" on the DHCPv6c fixed IP v6 instantly.

There is no PPPOE link.
I can provide any logs if needed.


> I found this thread and checking the "Use IPv4 connectivity" on the DHCPv6c fixed IP v6 instantly.

Ok, it *might* serialise the IPv6 to be after IPv4 but that's pretty annoying if the ISP enforces this.


Cheers,
Franco

Quote from: franco on August 22, 2024, 03:36:28 PM
> I found this thread and checking the "Use IPv4 connectivity" on the DHCPv6c fixed IP v6 instantly.

Ok, it *might* serialise the IPv6 to be after IPv4 but that's pretty annoying if the ISP enforces this.


Cheers,
Franco
Any logs you wish have? I can maybe setup a wireshark capture next week with the option set and also with option unset.

More Info: My Opnsense is running on Proxmox
The Update ran today at 3am and didn't pull an Ipv6 for 11 hours until 2pm as I set the WAN option to use Ipv4 and hit apply.



Hi,

Welcome back after short holidays  8)
As a reminder, Orange Poland ISP provides 2 PPPoE configs: IPv4-only and IPv6-only. Everything on top of VLAN (id 35)
IPv6-only provides link-local address and expects you to get IPv6 prefix via DHCPv6.
I did a clean install of 24.7 yesterday than upgrade to 24.7.2 and here are my observations:

  • When PPPoE is configured for IPv4 I get IPv4 public address, dhcp6c.conf is configured properly (for PPPoE interface) but no prefix is recived - this is expected, no complain here.
  • When PPPoE is configured for IPv6 and "Use IPv4 connection" is checked I get the v6 link-local address (form PPPoE) and no v4 address (as expected) but... no v6 prefix from DHCPv6 - dhcp6c.conf file is now empty.
  • When PPPoE is configured for IPv6 and "Use IPv4 connection" is unchecked I get the v6 link-local address (form PPPoE) and no v4 address (as expected)  no v6 prefix from DHCPv6 - dhcp6c.conf file configured properly except the interface is set now to VLAN interface as it should

For me it looks like without IPv4 address PPPoE is considered "down" and no dhcp6c config is generated?

> Any logs you wish have? I can maybe setup a wireshark capture next week with the option set and also with option unset.

In the scope of this PPP rework? Unfortunately not. The behaviour can only be observed. The logs will just tell you that the ISP doesn't answer if the DHCPv6 request is dispatched before DHCPv4 is complete.

> I did a clean install of 24.7 yesterday than upgrade to 24.7.2 and here are my observations:

Not surprising considering none of the work here is included in 24.7.2. ;)


Cheers,
Franco

Quote from: franco on August 22, 2024, 04:17:06 PM
> Not surprising considering none of the work here is included in 24.7.2. ;)
So what's the correct course of action in my case? Which patch should I apply to 24.7.2?

i am confused. "Deutsche Glasfaser" here as ISP as well, upgrading to 24.7.2 broke IPv6 DHCP completely. Tried using "Use IPv4 connectivity" which does not work in my case.


how do i fix this or revert to 24.7.1 quickly?


Quote from: maclinuxfree on August 22, 2024, 07:22:59 PM
did you reboot?

yes, a few times already.

also not sure if relevant, but in my case there is no PPPoE. Both IPv4 and 6 are via DHCP. Whatever was changed in this version made something very odd.

for me it is working with dsl 250 and draytek modem..config is pppoev4 an dhcpv6

Quote from: CruxtheNinth on August 22, 2024, 07:17:35 PM
i am confused.

Apparently. This thread is about PPPoE WAN. You don't have any PPPoE set up, please start a new thread with whatever issues you are having.

Quote from: doktornotor on August 22, 2024, 07:31:18 PM
Quote from: CruxtheNinth on August 22, 2024, 07:17:35 PM
i am confused.

Apparently. This thread is about PPPoE WAN. You don't have any PPPoE set up, please start a new thread with whatever issues you are having.

yes, and i was using this thread because at least 2 other user with the same ISP has exactly the same issue after this upgrade.
Quote from: fatexs on August 22, 2024, 03:26:28 PM
Quote from: meyergru on August 22, 2024, 11:38:39 AM
Maybe just a glitch or timing issue, but as I said, I had it on two machines with the same ISP. I know that this ISP sometimes takes a 2-3 minutes for DHCPv6, but the problem persisted for more than 5 minutes after the reboot.

I had the exact same issue this morning also on a Deutsche Glasfaser circuit.

Opnsense autoupdate ran at 3am this morning. The problem is No IPv6 on WAN.

The Services dhcpd6, dpinger (v6) were stopped (crashed?) and can't be started anymore.

I found this thread and checking the "Use IPv4 connectivity" on the DHCPv6c fixed IP v6 instantly.

There is no PPPOE link.
I can provide any logs if needed.



Quote from: CruxtheNinth on August 22, 2024, 07:43:52 PM
yes, and i was using this thread because at least 2 other user with the same ISP has exactly the same issue after this upgrade.

The patches being tested here are for PPPoE connectivity. Additionally, they are NOT included in 24.7.2. This is not the thread to debug unrelated things.