Ticker

6/recent/ticker-posts

DHCP Server Ubuntu 14.10

in a client server network using DHCP network service applications are:
DHCP Server: The computer servers that provide Ip automatically on the client computer in accordance with the ip range that has been determined.

DHCP Client: Is a given computer Ip automatically by a computer server when connected to a network.

Things need to be prepared in:
1. The computer servers that have been installed ubuntu 14:10 version of Desktop / Server

2. Internet Connection
3. Supporting equipment such as hubs
4. The client computer.

Networking scheme will be carried out configuration is as follows:
1. Internet ----> 2. Computer Server -----> 3. Hub -----> 4. Client Computer
 
on the server computer I use two interfaces that wlan0 is connected to the internet and eth0 connected Hub.
 
Step configuration:
1. Connect to the server computer area wifi / ssid hotspot in order to get an internet connection.
2. Lakukuan installation ISC-dhcp-server with the command sudo apt-get install ISC-dhcp-server
3. Perform configuration interface elections that will be used to deploy a range ip dhcp client with the command sudo nano / etc / default / ISC-dhcp-server and change at the bottom INTERFACES = "" be INTERFACES = "eth0" when finished press combination ctrl + x and type Y to save the configuration.

4. Perform configuration ip range, netmask, gateway and dns that will be used by the client computer by way of using the command sudo nano /etc/dhcp/dhcpd.conf and I give options like this:


network address = 192.168.2.0
subnet = 255.255.255.0
range = 192.168.2.10 - 192.168.2.100
dns = 8.8.8.8, 8.8.4.4
gateway = 192.168.2.1
broadcast = 192.168.2.255


edit dhcp.conf file as shown below when finished edited out of the nano with a command ctrl + x and press the Y button to save the configuration.
 
5. Perform restart service ISC-dhcp-server by doing stop service then do re-start service with the command
/etc/init.d/isc-dhcp-server stop
/ etc init.d / ISC-dhcp-server start
 
6. To make sharing your Internet connection can read my previous tutorial here
7. Connect the client computer with the Hub UTP cable to connect to the server.
So hopefully help
 

Post a Comment

0 Comments