- Pastikan komputer connect dengan internet
- terdapat 2 LAN card (eth0 dan eth1)
- vim /etc/network/interfaces (untuk mengatur IP)
iface inet static eth0
address 192.168.2.5
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
auto eth0
allow hot-plug eth1
iface inet static eth1
address 192.168.5.1
netmask 255.255.255.0
network 192.168.5.0
broadcast 192.168.5.255
auto eth1
- vim /etc/apt/sources.list (untuk connect ke mirror)
- vim /etc/resolv.conf (untuk konfigurasi nameserver)
nameserver 8.8.4.4
- /etc/init.d/networking restart
- apt-get update
- apt-get install dhcp3-server
- vim /etc/dhcp3/dhcpd.conf (atur konfigurasi DHCP-nya)
- vim /etc/default/dhcp3-server
- vim /etc/init.d/dhcp3-server restart
DHCP siap dicoba.................
Tidak ada komentar:
Posting Komentar