I’ve got an RB411, which means 1 ethernet and 1 Wireless
What I want is one WLAN for the internal LAN with DHCP from an external router in one IP subnet, and one WLAN for the public/guest LAN with DHCP from the rb411 and a different IP subnet with access only to internet (I plan to split these subnets in a firewall)
I’ve got a switch with VLAN capabilities, but i can’t get this to work.
I’ve set this up with the wlan card as the internal wlan, and made a virtual wlan for the guest wlan.
I’ve set up a bridge, and set up ethernet, internal wlan, and guest wlan as ports.
i’ve created 2 vlans with id 1 and 2 and assigned these to internal and guest respectively.
the trouble comes when I set up the DHCP. I want the DHCP to serve only the guest wlan, so I assign it to the guest interface, but as long as the guest interface is a part of the bridge, I cant get the dhcp server to run, and if i disable the guest intrface port to bridge 1, traffic wont flow between the guest interface and the ethernet interface, but the dhcp works tho…
What am i missing here?
Have I got it all backwards?
I’m guessing that the mikrotik DHCP senses the other DHCP on the Internal LAN when I enable the guest bridge port, and therefore stops serving IP-addresses.
Is there perhaps a firewall rule I could set up to prevent the guest WLAN interface from seeing the external DHCP?
I changed the VLANs from 1 & 2 to 2 & 3 because VLAN 1 is normally used for untagged packets within a managed switch.
You weren’t quite clear as to how Internet traffic for the public WiFi segment would be routed. There are a couple of possible configs. You could use a DHCP client, and use that external IP for management purposes.
I’ve tried to adapt your config to my scenario, but i hit a snag on the routing-mark. I tried to set up a mangle rule to make a routing-mark, but i’m in way over my head here.
I was planning to run the traffic from the public wlan to a different leg on the firewall, and do the routing there.