I’ve got a Zyxel VMG1312-B10D (provided by ISP) and a MikroTik RB750G.
I want to use the RB750G as a switch and configure VLANs.
On the Zyxel modem/router I’ve added a static route pointing to 10.0.10.0 network and this is my configuration for RB750G.
Zyxel IP: 192.168.1.254
MikroTiK IP(desired): 192.168.1.110
I want each client connected to RB750G to be able to ping clients connected to Zyxel Modem/Router and vice versa.
What should I change? What firewall rules should I add? Also I want to add more VLANs(on RB750G) later, on all 5 interfaces and do VLAN tagging from my ProxMox node.
Remove ether1 from BR1. The way it is configured now it tags packets from Zyxel with VLAN ID 10 … and messes things big time.
Or, if you want to keep ether1 in bridge (I don’t see any good reason for that), remove pvid setting from it so that it allows untagged packets remain untagged inside the bridge. And then you have to move “Zyxel LAN” settings from ether1 to BR1 “interface”.
If it’s possible can you customize my code with your suggestion? Also what about firewall filters? What should I masquarade and drop etc?
I’m pretty new to networking, background is in system administration, so any help is appreciated!
You’ll be using RB as router between 10.0.10.0 and 192.168.1.0. Firewall setup largely depends on what kind of connectivity you intend to allow between the two networks.
Regarding ether1: it will be used as only connection between RB and 192.168.1.0 network, so it shouldn’t be part of bridge (bridge is kind of a switch). The only change of your code would be to omit two lines
add bridge=BR1 untagged=ether2,ether3,ether4,ether5 vlan-ids=10 # ether1 not mentioned any more
I’ll assume that the setup you posted is beginning of something bigger … because in its present state it doesn’t make sense to use VLANs at all. All ports are untagged member of same VLAN … so that VLAN is only present internally to RB device. Setup would be functionally identical without using VLANs.