Beranda > HoW-To, Linux > DHCP server di Ubuntu 7.10

DHCP server di Ubuntu 7.10

Instal bind9
rika@SRV:~$ sudo apt-get install bind9 dnsutils

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

$sudo vi /etc/dhcp3/dhcpd.conf
option domain-name “great.local”;
option domain-name-servers;
option routers;
option subnet-mask;
default-lease-time 86400;
max-lease-time 604800;
subnet netmask {

# untuk menetapkan bahwa hostname rika selalu mendapatkan IP
host rika {
hardware ethernet 00:80:c7:ee:41:c6;
fixed address;

# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts
# This is a POSIX shell fragment
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#Separate multiple interfaces with spaces, e.g. “eth0 eth1”.

Jalankan Masquerade
$sudo iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE

restart network
$sudo /etc/init.d/networking restart


Kategori:HoW-To, Linux
  1. Oktober 17, 2013 pukul 9:28 pm

    This design is incredible! You certainly know how to keep a
    reader amused. Between your wit and your videos, I was almost moved to start
    my own blog (well, almost…HaHa!) Wonderful job.
    I really enjoyed what you had to say, and more than that, how you presented it.

    Too cool!

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )


Connecting to %s

%d blogger menyukai ini: