Help Center Help Articles Community RMA & Warranty Downloads Tech Specs

EdgeSwitch - DHCP Server

Translated by AI

Overview

Readers will learn how to configure the EdgeSwitch as a DHCP server.

NOTES & REQUIREMENTS:
Applicable to the latest EdgeSwitch firmware on all EdgeSwitch models. Knowledge of the Command Line Interface (CLI) and basic networking knowledge is required. Please see the Related Articles below for more information.
 
Devices used in this article:

Adding the DHCP Service

Back to Top

topology.png

The EdgeSwitch will be configured to issue DHCP assigned IP addresses in the 192.168.1.0/24 range.

CLI: Access the EdgeSwitch Command Line Interface.

1. Enter privileged mode.

enable

2. Enter configuration mode.

configure

3. Globally enable the DHCP service.

service dhcp

4.  Define the IP address range that should not be leased by the DHCP server.

ip dhcp excluded-address 192.168.1.0 192.168.1.10
ip dhcp excluded-address 192.168.1.240 192.168.1.255

5. Create the DHCP server pool and specify the additional scope options.

ip dhcp pool example
lease 0 12 0
dns-server 192.168.1.1
default-router 192.168.1.1
network 192.168.1.0 255.255.255.0
exit

6. Exit back to privileged mode.

exit

7. Write the changes to the startup configuration.

write memory

Related Articles

Back to Top

Intro to Networking - How to Establish a Connection Using SSH

EdgeRouter - DHCP Relay

EdgeRouter - DHCP Server

Was this article helpful?
0 out of 0 found this helpful