Home > Linux > Install dhcp server di ubuntu 8.0.4

Install dhcp server di ubuntu 8.0.4

1. root@chiko-laptop:/# apt-get install dhcp3-server

Reading package lists… DoneBuilding dependency tree       Reading state information… Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/318kB of archives.
After this operation, 774kB of additional disk space will be used.
Preconfiguring packages …
Selecting previously deselected package dhcp3-server.
(Reading database … 95889 files and directories currently installed.)
Unpacking dhcp3-server (from …/dhcp3-server_3.0.6.dfsg-1ubuntu9_i386.deb) …
Setting up dhcp3-server (3.0.6.dfsg-1ubuntu9) …
Generating /etc/default/dhcp3-server…

2. Mulai dari setelah apt-get install dhcp3-server
root@chiko-laptop:/# nano /etc/dhcp3/dhcp3.conf
root@chiko-laptop:/# nano /etc/dhcp3/dhcpd.conf
root@chiko-laptop:/# cd /etc/dhcp3
root@chiko-laptop:/etc/dhcp3# ls
dhclient.conf  dhclient-enter-hooks.d  dhclient-exit-hooks.d  dhcpd.conf  dhcpd.conf.orig
root@chiko-laptop:/etc/dhcp3# mv dhcpd.conf thom
root@chiko-laptop:/etc/dhcp3# touch dhcpd.conf
root@chiko-laptop:/etc/dhcp3# nano dhcpd.conf
root@chiko-laptop:/etc/dhcp3# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:02:3f:ea:61:63

RX packets:7476 errors:597 dropped:598 overruns:597 frame:0
TX packets:4815 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6894120 (6.5 MB)  TX bytes:382840 (373.8 KB)
Interrupt:22 Base address:0x2000

3.  root@chiko-laptop:/etc/dhcp3# ifconfig eth0 netmask up

4.  root@chiko-laptop:/etc/dhcp3# /etc/init.d/dhcp3-server restart
* Stopping DHCP server    dhcpd3                                                                                                                        [fail]
* Starting DHCP server  dhcpd3

5. root@chiko-laptop:/etc/dhcp3# /etc/init.d/dhcp3-server status

Status of DHCP server: dhcpd3 is     running                                                                                       [ OK ]

6. root@chiko-laptop:/etc/dhcp3# /etc/init.d/dhcp3-server stop

7.  root@chiko-laptop:/etc/dhcp3#

8.  file dhcpd.conf:

ddns-update-style none;
subnet netmask {
option routers;
option subnet-mask;
option domain-name-servers;
# option domain-name “indofreebsd.or.id”;
default-lease-time 3600;
max-lease-time 86400;


9.  selesai cuy…

Categories: Linux
  1. November 6, 2015 at 5:40 am

    What i do not understood is actually how you’re no longer really a lot more smartly-liked than you might be right now.
    You’re so intelligent. You realize thus significantly in
    the case of this topic, produced me individually believe it from a lot of varied angles.
    Its like women and men are not interested unless it’s one
    thing to do with Lady gaga! Your personal stuffs nice.

    At all times maintain it up!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: