Planet XGS3-24042 User Manual Page 233

  • Download
  • Add to my manuals
  • Print
  • Page
    / 721
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 232
29-70
4. On receiving DHCPREQUEST, the DHCP server responds with a DHCPACK packet via DHCP relay
to the DHCP client.
DHCP Relay Configuration Task List:
1. Enable DHCP relay.
2. Configure DHCP relay to forward DHCP broadcast packet.
1. Enable DHCP relay.
Command
Explanation
Global Mode
service dhcp
no service dhcp
DHCP server and DHCP relay is enabled as the
DHCP service is enabled.
2. Configure DHCP relay to forward DHCP broadcast packet.
Command
Explanation
Global Mode
ip forward-protocol udp bootps
no ip forward-protocol udp bootps
The UDP port 67 is used for DHCP broadcast
packet forwarding.
Interface Configuration Mode
ip helper-address <ipaddress>
no ip helper-address <ipaddress>
Set the destination IP address for DHCP relay
forwarding; the “no ip helper-address
<ipaddress>command cancels the setting.
29.4 DHCP Configuration Examples
Scenario 1:
Too save configuration efforts of network administrators and users, a company is using switch as a DHCP
server. The Admin VLAN IP address is 10.16.1.2/16. The local area network for the company is divided into
network A and B according to the office locations. The network configurations for location A and B are shown
below.
PoolA(network 10.16.1.0)
PoolB(network 10.16.2.0)
Device
IP address
Device
IP address
Default gateway 10.16.1.200
10.16.1.201
Default gateway 10.16.1.200
10.16.1.201
DNS server
10.16.1.202
DNS server
10.16.1.202
WINS server
10.16.1.209
WWW server
10.16.1.209
WINS node type
H-node
Lease
3 days
Lease
1day
In location A, a machine with MAC address 00-03-22-23-dc-ab is assigned with a fixed IP address of
10.16.1.210 and named as “management”.
Page view 232
1 2 ... 228 229 230 231 232 233 234 235 236 237 238 ... 720 721

Comments to this Manuals

No comments