Installation Install the isc-dhcp-server package. Remember to make a backup copy of it before you edit the file. I would leave all other lines as they are. I guess it is needed if you want to refer to computers in the LAN by name without domain name, i. You have to list here the DNS that work for your internet provider, the addresses given here will most likely not work for you. Now, open and modify the main configuration file, define your DHCP server options:.
Set the following global parameters at the top of the file, they will apply to all the declarations below do specify values that apply to your scenario :. Next, start the DHCP service for the time being, and enable it to start automatically from the next system boot, like so:. At this point, you can configure your clients computers on the network to automatically receive IP addresses from the DHCP server.
Save the file and exit. And restart network services like so or reboot the system :. At this point, if all settings are correctly configured, your client machine should be receiving IP addresses automatically from the DHCP server. Share your thoughts with us via the feedback section below. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web.
Millions of people visit TecMint! If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation.
We are thankful for your never ending support. Thank you this article helped me a lot, I found no problems after following the steps in this post. You could do that, but your configuration is wrong. You need to learn about subnet masking.
Your netmask would need to allow for all those clients to fit in the range. After that you could add all the subnets you want and need. Another issue you will run into is broadcast storms with that many clients on the same network partition. This will be even worse if you are using wireless comms.
It looks weird to most people but The reserved IP address will be assigned to the client each time it boots. However, the reserved IP address entry can be also added after the subnet declaration. This feature is only available to subscribers. Get your subscription here.
Log in or Sign up. Suggested articles. Thank a lot from Kyrgyzstan!!! Hi, this guide is no longer up-to-date. Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password?
0コメント