Hi there,
I am currently attempting to connect my OpenWRT router with my modem with a CSS610-8G-2S+ Switch running SwitchOS Lite v2.14 in between.
The even numbers of the GbE ports are configured to be VLAN 1 in access mode (2, 4, 6).
The odd numbers of the GbE ports are configured to be VLAN62 in access mode (1, 3, 5, 7).
Port 8 is configured to have VLAN1 without VLAN tags and VLAN 62 accessible tagged.
My router configuration:
WAN-Interfaces: eth2 and eth1.62 (eth1 with VLAN 62 tagged)
LAN-Interfaces: eth0 and eth1 (no tagging)
Scenario 1 (works without problems):
An ethernet connection between the modem and the eth2 WAN-interface on the router.
plus
An ethernet connection between the router's eth1 and the switch's port 8.
Scenario 2 (Causes problems):
An ethernet connection between the modem and port 1 of the Switch
plus
An ethernet connection between the switch's port 8 and the router's eth1.
Scenario 3 (Causes problems too):
An ethernet connection between the modem and port 1 of the Switch.
plus
An ethernet connection between the router and port 3 of the Switch.
plus
An ethernet connection between the router's eth1 and the switch's port 8.
What works, what doesn't in scenario 2 and 3:
The router is able to receive an IPv4 address via DHCP from the modem and also an IPv6 address.
Clients connected to the router are able to receive an IPv4 address via DHCP, but are not able to receive an IPv6 address using SLAAC when the router is connected to the modem with the switch in between. I tested this with a switch from Netgear that is configured the equivalently and it works without any issues.
What intrigues me here is that IPv4 just works perfectly but just the prefix delegation doesnt work here.
I triple-checked and really cannot find any indicator that the router is causing the problem here, this means that the Switch must somehow interfere with the prefix-delegation in IPv6.
Also, when coming from scenario 2, when I disconnect the cable from Switchport 1 and plug it in eth2 instead prefix delegation starts working and will keep working even when I connect the cables back into the scenario 2 setup. This will work just fine until the router is rebooted, even for new devices that are added after the cable is plugged back.
Is that a bug? Did I configure my switchos incorrectly? I'm really out of ideas here.
Best regards
Sellerie