Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 38 of 63
device-name
(config-dhcp-subnet)#
option domain-name-servers 30.30.40.10
9. Set the client’s default gateway to 30.30.40.10:
device-name
(config-dhcp-subnet)#
option router 30.30.40.10
device-name
(config-dhcp-subnet)#
exit
10. Enter into DHCP Host Configuration mode to configure host
PC1
:
device-name
(config-dhcp)#
host PC1
11. Set the host
PC1
MAC address:
device-name
(config-dhcp-host)#
hardware-address 00:01:00:00:23:34
12. Enable the IP address 30.30.50.1 for host
PC1
:
device-name
(config-dhcp-host)#
fixed-ip-address 30.30.50.1
device-name
(config-dhcp-host)#
exit
13. Enter into DHCP Host Configuration mode to configure host
PC2
:
device-name
(config-dhcp)#
host PC2
14. Set the host
PC2
MAC address:
device-name
(config-dhcp-host)#
hardware-address 00:01:44:d0:23:34
15. Enable the IP address 30.30.40.1 for host
PC2
:
device-name
(config-dhcp-host)#
fixed-ip-address 30.30.40.1
device-name
(config-dhcp-host)#
exit
16. Enter into DHCP Host Configuration mode to configure host
PC3
:
device-name
(config-dhcp)#
host PC3
17. Set the host
PC3
MAC address:
device-name
(config-dhcp-host)#
hardware-address 00:0d:23:bb:00:ac
18. Enable the IP address 30.30.40.2 for host
PC3
:
device-name
(config-dhcp-host)#
fixed-ip-address 30.30.40.2
device-name
(config-dhcp-host)#
exit
device-name
(config-dhcp)#
exit
19. Enable the DHCP server:
device-name
(config)#
service dhcp enable
20. Display the results of the configuration above:
device-name
#
show running-config dhcp
.
!
service dhcp
subnet 30.30.30.0/24
range 30.30.30.1 30.30.30.100
option domain-name-servers 30.30.30.110