Dhcp Server Configuration Example - Allied Telesis AT-9000 Series User Manual

Hide thumbs Also See for AT-9000 Series:
Table of Contents

Advertisement

DHCP Server
Configuration
Example
awplus> enable
awplus# configure terminal
awplus(config)# service dhcp-server
awplus(config)# ip dhcp pool P1
awplus(dhcp-config)# network 192.168.100.0
255.255.255.0
awplus(dhcp-config)# range 192.168.100.2
192.168.100.20
awplus(dhcp-config)# lease 0 0 35
This example enables DHCP service to assign IP address 192.168.1.100
on switch port 1.0.1.
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# dhcp-offer ip 192.168.1.100
This example enables DHCP service to assign an IP address range of
192.168.1.101 to 192.168.1.110 on switch port 1.0.10.
awplus# configure terminal
awplus(config)# interface port1.0.10
awplus(config-if)# dhcp-offer ip 192.168.1.101 192.168.1.110
The following is an example of configuring a DHCP server.
AT-9000 Switch Command Line User's Guide
Enter the Privileged Executive
mode from User Exec mode.
Enter Global Configuration mode.
Enable DHCP service on the
switch.
Use the IP DHCP POOL
command to create a DHCP pool
named P1 and enter DHCP
Configuration mode.
Use the NETWORK command to
configure a network for DHCP
pool P1, where the subnet is
192.168.100.0, and the mask is
255.255.255.0.
Note: A VLAN interface must exist
with an IP address in the same
subnet as the IP address that is
being offered via DHCP service.
Use the RANGE command to add
an address range of
192.168.100.2 to 192.168.100.20
to DHCP pool P1.
Use the LEASE command to set
the lease expiration time for DHCP
pool P1 to 35 minutes.
331

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AT-9000 Series and is the answer not in the manual?

Questions and answers

Table of Contents