200CHAPTER 21: DHCP CONFIGURATION GUIDE

Network Diagram Figure 55 Network diagram for DHCP relay agent configuration

DHCP client DHCP client

 

 

 

 

 

 

 

Vlan-int1

Vlan-int2

 

 

 

 

 

 

 

 

 

 

 

 

 

10.10.1.1/24

10.1.1.2/24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vlan-int2

 

 

 

 

 

 

 

Switch A

10.1.1.1/24

Switch B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DHCP relay

DHCP server

 

 

 

 

 

 

 

 

 

 

 

Host A

DHCP client

 

 

 

 

IP:10.10.10.5/24

 

 

 

 

 

 

 

MAC:0001-0010-0001

 

 

 

 

 

 

Networking and

VLAN-interface 1 on the DHCP relay agent (Switch A) connects to the network

Configuration

where DHCP clients reside. The IP address of VLAN-interface 1 is 10.10.1.1/24

Requirements

and the IP address of VLAN-interface 2 is 10.1.1.2/24.

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] dhcp-server 1 ip 10.1.1.1

# Configure the IP address of VLAN-interface 1 as 10.10.1.1/24.

[SwitchA] interface Vlan-interface 1

[SwitchA-Vlan-interface1] ip address 10.10.1.1 24

# Map VLAN-interface 1 to DHCP server group 1.

[SwitchA-Vlan-interface1] dhcp-server 1

[SwitchA-Vlan-interface1] quit

#Bind the IP address 10.10.10.5/24 to the MAC address 0001-0010-0001 of Host A on the DHCP relay agent.

Page 200
Image 200
3Com 5500G, 4210, 4200G manual Requirements, # Map VLAN-interface 1 to Dhcp server group