Your Ad Here

Saturday, February 20, 2010

installation and configuration of the dhcp server



       If you have a simple network at home, you can configure one of your PC into a DHCP server. Dynamic Host Configuration Protocol (DHCP) is a network protocol used by the DHCP client for automatic IP configuration of the network is required, with this if you have many client PCs, each PC is just the set of DHCP for network configuration / IP is automatically from a DHCP server. 
      Creating a DHCP server service on ubuntu you can do with ease. Dhcp3-server package is needed to make these services have also been in ubuntu.Untuk install a DHCP server package in ubuntu ubuntu 9.04 or 9.10, you can run the following command: 

$ sudo apt-get install dhcp3-server 


      Before starting the DHCP server configuration, we will make IP network design that will be made on the DHCP server, following the design of DHCP server will be made: 


DHCP Client IP          : 192.168.0.100 - 192.168.0.200 
GATEWAY IP             : 192.168.0.85 
Subnet Mask             : 255.255.255.0 
Broadcast Address     : 192.168.0.255 
IP DNS Server 1        : 203.3.210.11 
DNS Server 2 IP        : 203.3.208.11 


     After creating the design for a DHCP IP network such as the above, we will begin the process of configuring a DHCP server, for the first backup configuration file /etc/dhcp3/dhcpd.conf be / etc/dhcp3/dhcpd.conf_default 


$ sudo cp / etc/dhcp3/dhcpd.conf / etc/dhcp3/dhcpd.conf_default 


Next edit the file /etc/dhcp3/dhcpd.conf be as follows: 


$ gksu gedit / etc/dhcp3/dhcpd.conf 


# Sample dhcpd.conf file 
default-lease-time 600; 
max-lease-time 7200; 


option subnet-mask 255.255.255.0; 
option broadcast-address 192.168.0.255; 
option routers 192.168.0.85; 
option domain-name-servers 203.3.210.11, 203.3.208.11; 


# This is a very basic subnet declaration. 
Subnet 192.168.0.0 netmask 255.255.255.0 ( 
range 192.168.0.100 192.168.0.200 ' 







Save the file changes / etc/dhcp3/dhcp.conf it. 
DHCP server configuration process service selesai.Restart DHCP server to activate the changes: 


$ sudo / etc/init.d/dhcp3-server restart 


Thank's
By:Mr.Gm

2 komentar:

Sam D. on February 20, 2010 at 6:32 PM said...

great post and very helpful.

Mr.Gm on February 20, 2010 at 8:38 PM said...

Thank.s Sam . . .
I hove u enjoy in my blog . . .

Post a Comment

 

My Room Temperature

My Pressure

My Humidity