I'm looking to have dhcp scope /24 per vlan x 3 vlans. I've done lots of googling and can only find examples of where one port per vlan is used. I plan to have vlan 10, 20, 30 all running over one port tagged and untagged vid 1.
Can anyone provide any guidance on setting this up or helpful links?
This is what I am trying to achieve;
all on interface1 (lan port 1 on the router)
VID 10 - Ip range 192.168.10.0/24 tagged
VID 20 - ip range 192.168.20.0/24 tagged
VID 30 - ip range 192.168.30.0/24 tagged
VID 1 - ip range 192.168.0.1 untagged
I don't recommend to send untagged frames to the switch.
What you can do on the switchport connecting to OpenWrt is to have 4 vlans all tagged. Then on the switch you can have untagged ports on each vlan where the lan hosts will connect to.
First of all it is not needed. The switchport understands tagged frames so you can use only tagged vlans.
Second and most important you can have vlan hopping due to misconfiguration.
In most cases the native vlan is used as a blackhole.