3Com Switch 8800 Configuration Guide Chapter 13 DHCP Configuration
13-24
Operation Command
Disable debugging for DHCP
Relay undo debugging dhcp relay { all| packet | error |
event }
13.4.4 DHCP Relay Configuration Example
I. Network requirements
As shown in Figure 13-4, two DHCP clients located at the same network segment
(10.110.0.0) are connected to a switch through a port in VLAN 2. The switch, acting as
a DHCP relay, is supposed to forward DHCP packets between the two DHCP clients
and the DHCP server with the IP address of 202.38.1.2.
II. Network diagram
Ethernet
Ethernet
Internet
DHCP client DHCP client
Sw itch ( DHC P Re lay )
10.110.0.0 DHCP Se rv er
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Ethernet
Ethernet
Internet
DHCP client DHCP client
Sw itch ( DHC P Re lay )
10.110.0.0 DHCP Se rv er
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Figure 13-4 Network diagram for DHCP Relay
III. Configuration procedure
Enter system view.
<SW8800>system-view
Create VLAN 2.
[SW8800]vlan 2
Create Vlan-interface 2 and enter VLAN interface view.
[SW8800]interface Vlan-interface 2
Assign an IP address to Vlan-interface 2.
[SW8800-Vlan-interface2]ip address 10.110.1.1 255.255.0.0
Specify to forward DHCP packets to a remote DHCP server.
[SW8800-Vlan-interface2]dhcp select relay
Configure the IP address of the DHCP server to which VLAN 2 sends DHCP packets.