After we have a detailed understanding of DHCP, we also know that it also has some service settings in the applications of a variety of routers and switches. Here we will focus on the configuration of dhcp relay. This time, we will explain the content of the dhcp server corresponding to the vlan interface configuration.
◆ Dhcp relay Configuration
Dhcp relay configurations include:
Configure the dhcp server corresponding to the vlan Interface
Configure the user address table for dhcp relay
Dhcp security features on enable vlan interfaces
Enable dhcp relay handshake
Configure the dhcp relay dynamic user Address Table item regular refresh function
◆ Configure the dhcp server to which the vlan Interface directs
You can use the following command to configure the vlan interface to process dhcp packets in relay mode, and configure the server address pointed to by the vlan interface. Perform the following configurations in the vlan Interface view.
By default, vlan interfaces do not correspond to any dhcp server.
When you configure a vlan interface to correspond to a new dhcp server, you do not need to delete the original ing first. You only need to configure a new ing. The IP addresses that are configured repeatedly are valid, are the corresponding server addresses. A total of 20 server IP addresses can be configured.
The IP address of the dhcp server to which the dhcp relay feature directs cannot be the IP address of the vlan Virtual Interface corresponding to the dhcp relay. Otherwise, the system will give the following example: can't set ip relay address as interface address on interface vlan-interface 100!
The above is the dhcp server step corresponding to the configuration vlan Interface in the dhcp relay configuration.