1
24.7 Production Series / Re: [CALL FOR TESTING] PPPoE restructuring and IPv6 improvements
« on: September 01, 2024, 08:05:42 pm »> igc1 and vlan01 are not currently assigned. Are you saying I'd drop the v6 configuration from WAN (pppoe1), assign vlan01 or igc1 to WAN6, and configure the 6rd from that?
Correct. I believe it would be vlan01. This should confirm it for you from the console:
# ifconfig wan_stf
Trial on 24.7.3_1:
- Removed the 6rd configuration from WAN (assigned to the pppoe interface), save, apply. The 6rd prefix is removed from the routing table, but the wan_stf interface remains partially configured (it has the tv4rbr address still configured, but no inet6 address) and is the tsill default v6 route.
- Reboot, flushes out the wan_stf interface and the associated default v6 route.
- Assign the vlan interface under the pppoe interface to WAN6, enable. IPv4 configured as none, IPv6 configured as 6rd, save apply. No stf interface gets configured. Also notice the old 6RD gateway associated with WAN is still listed, marked as defunct. Delete.
- Reboot, still no stf interface.
- Repeat, but use the hardware igc interface under the vlan interface (under the pppoe interface), same result.
- Remove the WAN6 assignment, re-configure 6RD on the WAN assignment (as it was originally), and the stf interface returns with a correct 6rd configuration.
Searching logs for WAN6 I see this a bunch of times:
Code: [Select]
/interfaces.php: The command '/sbin/ifconfig 'opt6_stf' inet6 description 'WAN6 (opt6)' up' returned exit code '1', the output was 'ifconfig: interface opt6_stf does not exist'
So it seems like a code path to create the stf interface is getting missed in this scenario, but later code paths expecting to find it existing is being hit.
With 6rd configured on the WAN assignment (pppoe), the stf interface looks like:
Code: [Select]
wan_stf: flags=1004041<UP,RUNNING,LINK2,LOWER_UP> metric 0 mtu 1280
description: WAN (wan)
options=0
inet6 2602:<redacted>:: prefixlen 24
groups: stf
v4net 0.0.0.0/32 -> tv4br 205.171.2.64
nd6 options=103<PERFORMNUD,ACCEPT_RTADV,NO_DAD>