The dhcp server
Step 1: Configure network cards
Step two:
Install dhcp (yum need to build a warehouse, warehouse building yum methods in the previous blog)
Write dhcp.conf file
This content will appear into the future
We need to perform the following content writing content
Write to the following:
Open dhcp service
With windows test (Note that, in the virtual machine, windows network connection mode should be the same as DHCP)
=================================================================================================
DHCP relay configuration
Step 1: Configure DHCP server
NIC configuration
(Here the gateway as relay ip)
Install dhcp, ibid.
Write dhcpd.conf file
Open dhcp service
Step repeater configuration
Repeater configuration requires two NICs
(When added after the preparation of the card, you will find there is no content case
Execute the following command, and then go after the preparation)
NIC Network connection mode setting 1
NIC Network connection mode setting 2
Install DHCP, as above (the relay does not require configuration file dhcpd.conf)
Write sysctl.conf file
After writing, save and exit; execute the following command
Then, execute the following command
(Ip is ip DHCP server)
Look
With windows test: