Hi,
my OpenWrt is working perfectly. This is the setup:
- OpenWrt on Netgear XR500, 4x LAN-Ports (eth1), 1x WAN (eth0)
- I use: Wifi -> LAN1 -> external managed switch -> DHCP/DNS/internet
- I don't use WAN, and openwrt's DHCP server is disabled
- I use Luci only (could switch one day to ssh/config editing)
VLAN is on, all defaults:
- VLAN1: CPU (wan) off, CPU (lan) tagged, LAN1-4 untagged, WAN off
- VLAN2: CPU (wan) tagged, CPU (lan) off, LAN1-4 off, WAN untagged
What I try to achieve:
I would like to configure LAN2 to not send/receive untagged, but TAGGED frames from/to the external managed switch. This shall be the only plugged LAN cable then. (I would like to keep LAN1 untagged as-is, but only for temporary openwrt management purposes.)
So I changed openwrt's vlan setup:
- VLAN1 (changed): ... LAN2: off ...
- VLAN20 (new): CPU (wan) off, CPU (lan) tagged, LAN1/3/4 off, LAN2 tagged, WAN off
The managed external switch config is:
- Allow any kind of incoming frame (with/without VLAN tag)
- On the LAN port towards openwrt's LAN2: Include traffic tagged VLAN 20
- PVID: 10 (probably not relevant)
- Not tagging untagged incoming frames
Then I pull LAN1 and plug LAN2 to the external managed switch. Then I start wifi clients.
Problem:
Wifi clients get connected to wifi but do not seem to pass the external managed switch. They do not reach DHCP/DNS/internet behind the external switch.
As a test:
When I configure the external managed switch to forcefully tag the frames with VLAN 20, then it works.
Question:
I assume, my openwrt setup does not really send out VLAN 20 tagged frames. What may I missing?
FYI: I saw the new VLAN20 be added automatically in openwrt to the "LAN"'s bridge configuration as eth1.20.