User Manual

Enterasys X-Pedition User Reference Manual 133
DHCP Configuration Examples
DHCP Configuration Examples
The following configuration describes DHCP configuration for a simple network with just one
interface on which DHCP service is enabled to provide both dynamic and static IP addresses.
1. Create an IP VLAN called ‘client_vlan’.
2. Add all Fast Ethernet ports in the XP to the VLAN ‘client_vlan’.
3. Create an IP interface called ‘clients’ with the address 10.1.1.1 for the VLAN ‘client_vlan’.
4. Define DHCP network parameters for the scope ‘scope1’.
5. Define an IP address pool for addresses 10.1.1.10 through 10.1.1.20.
6. Define another IP address pool for addresses 10.1.1.40 through 10.1.1.50.
7. Define a static IP address for 10.1.7.5.
8. Define another static IP address for 10.1.7.7. and give it a specific gateway address of 10.1.1.2.
9. Specify a remote lease database on the TFTP server 10.1.89.88.
vlan create client_vlan ip
vlan add port et.*.* to client_vlan
interface create ip clients address-netmask 10.1.1.1./16 vlan client_vlan
dhcp scope1 define parameters address-netmask 10.1.0.0/16 gateway 10.1.1.1 lease-time 24 dns-
domain acme.com dns-server 10.2.45.67 netbios-name-server 10.1.55.60
dhcp scope1 define pool 10.1.1.10-10.1.1.20
dhcp scope1 define pool 10.1.1.40-10.1.1.50
dhcp scope1 define static-ip 10.1.7.5 mac-address 08:00:20:11:22:33
dhcp scope1 define static-ip 10.1.7.7 mac-address 08:00:20:aa:bb:cc:dd gateway 10.1.1.2
dhcp global set lease-database tftp://10.1.89.88/lease.db