A Dynamic Host Configuration Protocol (DHCP) server automatically assigns IP addresses to devices in a network, making management easier. Without DHCP, devices would need to be configured with static IPs manually.
Step-by-Step Guide:
WinBox Method:
- Open WinBox and go to IP → DHCP Server.
- Click DHCP Setup, select the interface (e.g.,Â
ether2), and follow the wizard:- Network:Â
192.168.88.0/24 - Gateway:Â
192.168.88.1 - IP Pool:Â
192.168.88.10-192.168.88.100 - DNS:Â
8.8.8.8 - Lease Time: Default
- Network:Â
- Click Apply and OK.
Webfig Method:
- Open Webfig (
http://192.168.88.1). - Navigate to IP → DHCP Server → DHCP Setup.
- Select the interface and enter the details as prompted.
- Click Apply and OK.
CLI Method:
- Open a terminal or SSH session.
- Run the following commands:
- Verify using:/ip DHCP-server print