|
| |||||||||
| Tags: configure dhcp, dhcp, dhcp server, install dhcp server, ubuntu, ubuntu server |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to Install and Configure DHCP Server in Ubuntu Server
Hi all, I am working in as a network admin in one company. We have a Ubunto server in my office. I want to install DHCP server in Ubunto server. A DHCP Server assigns IP addresses to client computers. This is very often used in enterprise networks to reduce configuration efforts. All IP addresses of all computers are stored in a database that resides on a server machine. Please advise me to how install and configure DHCP server in ubuntu. Thanks. |
|
#2
| ||||
| ||||
| Re: How to Install and Configure DHCP Server in Ubuntu Server
A DHCP server can provide configuration settings using Address Pool methods. This method involve defining a pool of IP deal with from which DHCP clients are supplied their configuration assets dynamically and on a fist come first serve basis. When a DHCP client is no longer on the network for a particular period, the configuration is expired and free back to the address pool for use by other DHCP Clients. Check this method and reply. |
|
#3
| ||||
| ||||
| Re: How to Install and Configure DHCP Server in Ubuntu Server
You can also try the method that is based on MAC Address. This method require using DHCP to recognize the single hardware address of each network card connected to the network and then repeatedly provide a steady configuration each time the DHCP client makes a demand to the DHCP server using that network device. It is also the fast and convenient method. Try this and reply. |
|
#4
| ||||
| ||||
| How to Install and Configure DHCP Server in Ubuntu Server
If you want to install DHCP server in ubuntu, type this command on ubuntu Code: sudo apt-get install dhcp3-server Code: sudo vi /etc/default/dhcp3-server Code: INTERFACES=”eth0″ Code: INTERFACES=”eth1″ |
|
#5
| ||||
| ||||
| How to Install and Configure DHCP Server in Ubuntu Server
If you are using address pool method, then you need to change the following sections in /etc/dhcp3/dhcpd.conf file Code: default-lease-time 600;
max-lease-time 7200;option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name “yourdomainname.com”;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.200;
} |
|
#6
| ||||
| ||||
| How to Install and Configure DHCP Server in Ubuntu Server
You can find DHCP server IP address by following commands Code: sudo dhclient Code: tail -n 15 /var/lib/dhcp3/dhclient.*.leases |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to Install and Configure DHCP Server in Ubuntu Server" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Install DHCP server on Windows Server 2008 | Elizabeth Allen | Small Business Server | 2 | 24-01-2011 04:52 AM |
| How to Configure LAN without DHCP server | Caiden | Networking & Security | 4 | 30-01-2010 04:54 AM |
| How to configure 2 DHCP server using 2 switches and only 1 DSL router? | RasMus | Networking & Security | 3 | 11-09-2009 10:24 AM |
| How to configure a DHCP server on a router | Tanvir | Networking & Security | 3 | 27-04-2009 08:01 PM |
| Server 2003. Problem: How to configure DHCP and PXE | Matias Hohl | Windows Server Help | 5 | 04-02-2008 06:58 PM |