You are on page 1of 1

1.

Install Debian 6
2. Install driver
3. Konfigurasi ip / SETTING DHCP SERVER

vim /etc/network/interfaces

# The loopback network interface


auto lo
iface lo inet loopbackh

# The local network interface


auto eth0
iface eth0 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

Restart networknya : /etc/init.d/networking restart

4. Install dhcp server


apt-get install dhcp3-server

vim /etc/dhcp/dhcpd.conf

#. . .
# A slightly different configuration for an internal subnet.
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.100 192.168.10.200;
option domain-name-servers debian.edu;
option domain-name "debian.edu";
option routers 192.168.10.254;
option broadcast-address 192.168.10.255;
default-lease-time 600;
max-lease-time 7200;
}
#. . .

vim /etc/default/isc-dhcp-server
#. . .
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#          Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
#. . .

5. Restart
service isc-dhcp-server restart

6. SETTING CLIENT

Setting salah satu linux

vim /etc/network/interfaces

#. . .
auto eth0
iface eth0 inet dhcp

Restart network : /etc/init.d/networking restart

ifconfig

You might also like