This time, we will mainly explain the content of the user address table for configuring dhcp relay. In the previous article, we learned that the dhcp relay configuration includes the following parts:
1. Configure the dhcp server corresponding to the vlan interface;
2. Configure the user address table for dhcp relay;
3. dhcp security features on enable vlan interfaces;
4. Enable the dhcp relay handshake feature;
5. Configure the dhcp relay dynamic user Address Table item regular refresh function
◆ Configure the user address table for dhcp relay
To enable users with valid fixed IP addresses in vlan configured with dhcp relay to pass the address legality check of dhcp security features, you need to use this command to add a static address table entry that corresponds to an IP address and a mac address to a user with a fixed IP address.
Configure the user address table items for dhcp relay in the System View:
The dhcp client applies for an IP address through dhcp relay. When a dhcp client packet passes through relay, relay fills in its own primary IP address in the packet and forwards it to the dhcp server. After the server receives the packet forwarded by relay, it allocates the IP address of the same network segment according to the IP address entered by relay.
If a local dhcp server exists, when the dhcp client applies for an IP address, it can only be assigned an IP address of the same network segment as the main IP address of the server interface connected to the client, the server interface connected to the client cannot be assigned an IP address of the same network segment from the IP address.
If the dhcp server does not exist locally, when the dhcp client applies for an IP address through relay, the dhcp server can only be allocated to the IP address of the same network segment as the primary IP address of relay, and cannot be allocated to the IP address of the same network segment as the primary IP address of relay.
The preceding settings are related to configuring the user address table for dhcp relay. I hope this will be helpful to you.