MikroTik DHCP Server configuration for multiple Networks
If you are having multiple Network and want to configure DHCP server for your Networks .
Follow the steps and change the IP Address and Interface names according to your requirement.
Here I will configure two networks for my home
1- 172.16.10.0/24 for my LAB
2- 10.34.200.0/24 for my Home
My Interfaces IP address
/ip address add address=172.16.10.1/24 interface=ether2_lab network=172.16.10.0 add address=10.34.200.1/24 interface=ether3_home network=10.34.200.0
1- Create IP Pools for your Network
/ip pool add name=lab ranges=172.16.10.100-172.16.10.150 add name=home ranges=10.34.200.100-10.34.200.150 add name=PPTP ranges=172.16.11.100-172.16.11.150
2- Create DHCP Server
/ip dhcp-server add address-pool=lab disabled=no interface=ether2_lab name=dhcp1 add address-pool=home disabled=no interface=ether3_home name=server1
3- Create DHCP-Server Network
/ip dhcp-server network add address=10.34.200.0/24 gateway=10.34.200.1 add address=172.16.10.0/24 gateway=172.16.10.1