Computers configured to be DHCP clients have no control over the settings they receive from the DHCP server, and the configuration is transparent to the computer's user. By default it listens to eth0. Also, you have to assign a static ip to the interface that you will use for dhcp. If you will use eth0 for providing addresses in the For example, in sample configuration file above, subnet-mask, broadcast-address, DNS server IP address and domain name are sent to each client.
Each option declaration is terminated by a semicolon ;. You can specify multiple subnets here. The parameters defined outside the braces apply globally to all the clients.
For example :. Now, check whether the isc-dhcp-server is running correctly with the following command:. As you can see, the isc-dhcp-server service is running correctly. So, the configuration was successful. Here, ceb9 is the MAC address of the computer where we want to assign the fixed IP address As you can see, the correct IP address So, it worked. Thanks for reading this article.
0コメント