Hello all,
I have the following setup:
- bridge includes eth2 and eth5
- IP address 192.168.1.1/24 on bridge
- IP address 192.168.2.1/24 on eth5
- Both eth2 and eth5 have devices with IP addresses 192.168.1.0/24
- Only eth5 have devices with IP addresses 192.168.2.0/24
With the above setup I want to have two separate DHCP servers:
- 1st DCHP server with pool 192.168.1.2-192.168.1.100 on eth2 only
- 2nd DCHP server with pool 192.168.2.2-192.168.2.100 on eth5 only
But RouterOS does not allow DHCP server on slave interfaces.
Is there a way to do this ?
As a bonus:
Is there a way to assign DHCP pools/ IP subnets based on MAC address block mask (same manufacturer, ex. 11:22:33:xx:xx:xx) ?
The goal is to be able to separate device from different manufacturers in different subnets.
I know I can do static DHCP assignments base on MAC address but the goal is to use MAC address mask, not specific MAC addresses.
Thanks for the help.