Configuring a dhcp server, Configuring a dhcp server -2 – Enterasys Networks D-Series User Manual
Page 434
DHCP Overview
16-2
DHCP Server Configuration
•
Boot file
•
DHCP options as defined by RFC 2132
Configuring a DHCP Server
For DHCP to function on D‐Series systems, the system has to “know about” the IP network for
which the DHCP pool is to be created. This is done by associating the DHCP address pool with the
switch’s host port IP address.
The following tasks provide basic DHCP server functionality when the DHCP pool is associated
with the system’s host IP address.
1.
Configure the system host port IP address with the set ip address command. Once the
system’s IP address is configured, the system then “knows” about the configured subnet. For
example:
set ip address 192.0.0.50 mask 255.255.255.0
2.
Enable DHCP server functionality on the system with the set dhcp enable command.
3.
Configure an IP address pool for dynamic IP address assignment. The only required steps are
to name the pool and define the network number and mask for the pool. Note that the pool
has to be in the same subnet and use the same mask as the system host port IP address. For
example:
set dhcp pool auto-pool network 192.0.0.0 255.255.255.0
All DHCP clients served by this switch must be in the same VLAN as the system’s host port.
Optional DHCP server tasks include:
•
You can limit the scope of addresses assigned to a pool for dynamic address assignment with
the set dhcp exclude command. Up to 128 non‐overlapping address ranges can be excluded
on the D‐Series. For example:
set dhcp exclude 192.0.0.1 192.0.0.10
•
Configure static address pools for manual address assignment. The only required steps are to
name the pool, configure either the hardware address of the client or the client identifier, and
configure the IP address and mask for the manual binding. For example:
set dhcp pool static-pool hardware-address 0011.2233.4455
set dhcp pool static-pool host 192.0.0.200 255.255.255.0
•
Set other DHCP server parameters such as the number of ping packets to be sent before
assigning an IP address, or enabling conflict logging.
Note: A total of 16 address pools, dynamic and/or static, can be configured on the D-Series
.
Note: The IP address of the system’s host port is automatically excluded.