88
C
HAPTER
5: N
ETWORK
P
ROTOCOL
O
PERATION
■
If the requested IP address becomes unavailable (for example, having been
allocated to another client), the DHCP server returns the DHCP_NAK
message. After receiving the DHCP_NAK message, the client sends the
DHCP_Discover message to request another new IP address.
■
A DHCP client extends its IP lease period
There is a time limit for the IP addresses leased to DHCP clients. The DHCP
server shall withdraw the IP addresses when their lease period expires. If the
DHCP client wants to continue use of the old IP address, it has to extend the IP
lease.
In practice, the DHCP client, by default, shall originate the DHCP_Request
message to the DHCP server right in the middle of the IP lease period, to
update the IP lease. If the IP address is still available, the DHCP server responds
with the DHCP_ACK message, notifying the client that it has got the new IP
lease.
The DHCP client implemented on the Switch supports automatic IP lease
update.
DHCP Relay
The DHCP described above applies only when DHCP clients and server(s) are in the
same subnet, and it does not support trans-segment networking. To achieve
dynamic address configuration, you would have to configure a DHCP server for
each subnet, which is not a practical solution. Introduction of DHCP relay has
solved this problem: the clients in a LAN can communicate with DHCP servers in
another subnet through DHCP relay, to get valid IP addresses. Then DHCP clients
of multiple different networks can share a DHCP server, which saves networking
cost, as well as facilitating centralized management. A typical DHCP relay
application is shown in
Figure 25
.
Figure 25
Typical DHCP Relay Application
DHCP Relay works on the following principle:
■
When the DHCP client starts and initializes DHCP, it broadcasts the request
message to the local network.
■
If there is a DHCP server on the local network, it can begin DHCP configuration
without requiring a DHCP relay function. If not, the local network device
configured for DHCP relay, upon receiving the broadcast message, will forward
the message to the DHCP server on the specified network.
Ethernet
Internet
DHCP client
DHCP client
DHCP client
DHCP client
Switch ( DHCP Relay)
DHCP Server
Содержание Switch 4500 26-Port
Страница 16: ...14 ABOUT THIS GUIDE...
Страница 58: ...56 CHAPTER 2 PORT OPERATION...
Страница 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Страница 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Страница 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Страница 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Страница 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Страница 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Страница 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Страница 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Страница 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...