How to make DHCP Server
DHCP Server will greatly assist us in providing computers ip address on the LAN, because the DHCP server will provide ip address automatically, and I install the DHCP Server on the server version of ubuntu.
OK, straight to the practice !
The first step is to take the package and install dhcp3-server :
root@server:~# apt-get install dhcp3-server
Once installed dhcp3-server, you must edit the file /etc/dhcp3/dhcpd.conf. For example,add the following line :
root@server:~# vim /etc/dhcp3/dhcpd.conf
subnet 10.14.10.0 netmask 255.255.255.0 {
range 10.14.10.100 10.14.10.150;
option routers 10.14.10.1;
option domain-name-servers 10.14.10.1;
}
Description:
Above configuration will cause the dhcp server to give IP 10.14.10.100 to the computer with MAC address 08: OI: 89:0 e: 86:21 and give Ip address 10.14.10.101 to the computer with MAC address 00:24:8A:0e:86:C5