GuidePedia

0
Configure DHCP ( Dynamic Host Configuration Protocol ) Server. DHCP Server uses 67/UDP.
[1] Install and configure DHCP Server
root@dlp:~#
aptitude -y install isc-dhcp-server
root@dlp:~#
vi /etc/dhcp/dhcpd.conf
# line 16: specify domain name

option domain-name
"server.world"
;
# line 17: specify nameserver's hostname or IP address

option domain-name-servers
dlp.server.world
;
# line 24: uncomment

authoritative;
# add at the last

# specify network address and subnet-mask

subnet 10.0.0.0 netmask 255.255.255.0 {
     
# specify default gateway

     option routers 10.0.0.1;
     
# specify subnet-mask

     option subnet-mask 255.255.255.0;
     
# specify the range of leased IP address

     range dynamic-bootp 10.0.0.200 10.0.0.254;
}
root@dlp:~#
initctl start isc-dhcp-server

isc-dhcp-server start/running, process 1852
-----------------------------------------------------------------------------------------------------------
Configure DHCP Client:---

Configure DHCP Client. DHCP Server uses 68/UDP.
[1] It's the example for configuring Ubuntu Client.
root@dlp:~#
vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
# uncomment

iface eth0 inet dhcp
# comment out

#
iface eth0 inet static
root@dlp:~#
ifdown eth0 && ifup eth0


Configure DHCP Client - Windows
 
It's the example for configuring Windows 7 Client.
[2] Open network settings and select "internet protocol" and click "property" button.
[3] Check boxes like below, then IP address is re-configured automatically.
[4] See the network status. Automatical configuration is done.

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Visitors

Cloud Power For You

Website Hosting At Low Price

Contatc

Empire Views
 
Top