I have 2 LANs, in close proximity. I wish to connect the 2 LANs via a Mikrotik RB2011 Router on ether ports 4 & 5.
Each LAN has its own DHCP server, DNS and GW.
I wish to have clients on each LAN get IPs dynamically from their respective LAN without mixing up and also be able to ping one another. LAN 1 NW ID 192.168.0.0 /20
GW 192.168.0.1
DHCP SERVER 192.168.0.10
DNS SERVER 192.168.0.10
LAN 2 NW ID 192.168.0.0 /24
GW 192.168.0.1
DHCP SERVER 192.168.0.1
DNS SERVER 192.168.0.1 I have the two ports on bridge mode but DHCP requests are mixing up in both LANs, how do I fix this?
I would use /interface ethernet switch rule to block the DHCP client → server traffic on switch1 (ether1..ether5) of the 2011. Assuminig your two 2911 are connected to ether4 and ether5 of the 2011, no switch chip rules are present, and ether4 and ether5 are part of the same bridge with hardware forwarding enabled:
Along with the hardware (switch chip) forwarding, this will provide wire speed of the interconnection. Don’t forget to split the address pools between the LANs.