Live Experience

DHCP Server 

Configure DHCP ( Dynamic Host Configuration Protocol ) Server. If you make your linux computer DHCP server, it's neccesarry to disable DHCP function on router in LAN. 
[1] Install and configure DHCP
root@ubuntu:~# aptitude -y install dhcp3-server 
root@ubuntu:~# vi /etc/dhcp3/dhcpd.conf 
# line 17: specify domain name
option domain-name "";
# line 18: specify nameserver's hostname or IP address
option domain-name-servers;
# add at the bottom
# specify network address and subnet mask
subnet netmask {
# specify default gateway
option routers;
# specify subnet-mask
option subnet-mask;
# specify the range of leased IP address
range dynamic-bootp;
root@ubuntu:~# /etc/init.d/dhcp3-server start 
[2] Configure on client. Enable 'Obtain an IP Address Autometically' from network interface.
You are here: Home / Ubuntu / DHCP Server on Ubuntu