Creating a DHCP server
DHCPserver | |
---|---|
Name | A symbolic name for the server. Used as an interface reference but also used as a reference in log messages. |
Interface | The source interface on which cOS Core will listen for DHCP requests. This can be a single interface or a group of interfaces. |
IPAddressPool | An IP range, group or network that the DHCP server will use as an IP address pool for handing out DHCP leases. e.g 192.168.1.0/24 | IP4Address Group | 192.168.1.0/24, 192.168.2.0/24 | 192.168.1.0/23 |
DefaultGateway | This specifies what IP should be sent to the client for use as the default gateway (the router to which the client connects). |
Netmask | The netmask which will be sent to DHCP clients. |
Primary/Secondary DNS | The IP of the primary and secondary DNS servers. |
Via WebUI
Under Network → Network Services → DHCP Servers
Via CLI
add DHCPServer <Servername> Interface=<If1> IPAddressPool=<192.168.1.0/24,192.168.2.0/24> DefaultGateway=<192.168.1.1> Netmask=<255.255.255.0> DNS1=<1.1.1.1> DNS2=<1.0.0.1>
Related articles
No related articles found.