I have a hEX s with the latest 7.17 firmware.
My main upstream backhaul is a PPPoE link and as a fall back I have a LTE USB stick and a script setup to start a L2TP connection via the LTE interface if the PPPoE link goes down.
My upstream provider will route both my IPv4 and IPv6 allocations over the L2TP link while the PPPoE link is down.
Both the PPPoE and the L2TP link have DHCP-v6 clients configured to do Prefix delegation.
The system won't allow both clients to point to the same pool, but also won't allow 2 pools to have the same address range ("failed to add ipv6 pool isp: prefix of two pools cannot overlap! (6)"), which is a problem because the PPPoE link has to come back up before the L2TP link brought down (the transition is triggered by netwatch and pings over specific links).
The LAN interface is set to pull an IPV6 address from both pools.
This means that the pool set from the PPPoE link is not updated until the DHCP-v6 client refreshes which appears to be leading to the devices with SLAAC allocated addresses not renewing them after the link comes back up.
Anybody got any ideas how to work round this?
Best I've come up with so far is to trigger a pd renewal after a delay when shutting down the L2TP connection e.g.
My main upstream backhaul is a PPPoE link and as a fall back I have a LTE USB stick and a script setup to start a L2TP connection via the LTE interface if the PPPoE link goes down.
My upstream provider will route both my IPv4 and IPv6 allocations over the L2TP link while the PPPoE link is down.
Both the PPPoE and the L2TP link have DHCP-v6 clients configured to do Prefix delegation.
The system won't allow both clients to point to the same pool, but also won't allow 2 pools to have the same address range ("failed to add ipv6 pool isp: prefix of two pools cannot overlap! (6)"), which is a problem because the PPPoE link has to come back up before the L2TP link brought down (the transition is triggered by netwatch and pings over specific links).
The LAN interface is set to pull an IPV6 address from both pools.
This means that the pool set from the PPPoE link is not updated until the DHCP-v6 client refreshes which appears to be leading to the devices with SLAAC allocated addresses not renewing them after the link comes back up.
Anybody got any ideas how to work round this?
Best I've come up with so far is to trigger a pd renewal after a delay when shutting down the L2TP connection e.g.
Code:
/interface/l2tp-client/disable [find name="l2tp"]:delay 2s;/ipv6/dhcp-client renew pppoe-out1
Statistics: Posted by hardillb — Sun Jan 19, 2025 10:03 pm