Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 41 of 63
Figure 7: Multiple DCHP Relay Agents
1. Set the DHCP server IP address:
device-name
#
configure terminal
device-name
(config)#
ip address 20.20.0.2 255.255.0.0
2. Enter into DHCP configuration mode:
device-name
(config)#
service dhcp
3. Enter into DHCP Subnet configuration mode to configure subnet 10.10.0.0/16
with the name
SUB
:
device-name
(config-dhcp)#
subnet 10.10.0.0/16 name SUB
4. Create a range for circuit-ID
hostA
(tag 23, VLAN 10 and port 1) with the
name
RAN1
:
device-name
(config-dhcp-subnet)#
range 10.10.0.10 10.10.0.30 name RAN1
circuit-id string hostA
5. Create a range for circuit-ID 00023000100000000002 (tag 23, VLAN 10 and
port 2) with the name
RAN2
:
device-name
(config-dhcp-subnet)#
range 10.10.0.50 10.10.0.70 name RAN2
circuit-id string 0hostB
device-name
(config-dhcp-subnet)#
exit
6. Configure the DHCP server subnet as DHCP subnet:
device-name
(config-dhcp)#
subnet 20.20.0.0/16
device-name
(config-dhcp-subnet)#
exit
device-name
(config-dhcp)#
exit