
200CHAPTER 21: DHCP CONFIGURATION GUIDE
Network Diagram Figure 55 Network diagram for DHCP relay agent configuration
DHCP client DHCP client
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
| ||||
|
|
|
|
|
| 10.10.1.1/24 | 10.1.1.2/24 |
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| Switch A | 10.1.1.1/24 | Switch B | |
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
| DHCP relay | DHCP server | ||
|
|
|
|
|
|
|
|
|
| |
| Host A | DHCP client |
|
|
| |||||
| IP:10.10.10.5/24 |
|
|
|
|
|
| |||
|
|
|
|
|
|
| ||||
Networking and | ■ | |||||||||
Configuration | where DHCP clients reside. The IP address of | |||||||||
Requirements | and the IP address of |
■The clients (except Host A, which uses a fixed IP address of 10.10.10.5/24) dynamically obtain IP addresses from the DHCP server at 10.1.1.1/24.
■Switch A forwards messages between DHCP clients and the DHCP server to assign IP addresses in subnet 10.10.1.0/24 and related configuration information to the clients.
■Enable the address check function on Switch A to allow only the clients with valid fixed IP addresses or with IP addresses obtained from the DHCP server to access external networks.
Applicable Products
Product series | Software version | Hardware version |
|
|
|
Switch 5500 | Release V03.02.04 | All versions |
Switch 5500G | Release V03.02.04 | All versions |
Switch 4500 | Release V03.03.00 | All versions |
|
|
|
Configuration Procedure # Create DHCP server group 1 and specify DHCP server 10.1.1.1 for it.
[SwitchA]
# Configure the IP address of
[SwitchA] interface
# Map VLAN-interface 1 to DHCP server group 1.
#Bind the IP address 10.10.10.5/24 to the MAC address