Difference between revisions of "Instalasi DHCP Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
− | + | Instalasi [[DHCP Server]] di Ubuntu | |
# apt-get install dhcp3-server | # apt-get install dhcp3-server |
Revision as of 11:03, 13 March 2008
DHCP Server berfungsi untuk memberikan IP address secara automatis ke mesin-mesin di Jaringan LAN. Tentunya mesin di LAN tersebut harus di set agar IP address automatic.
Instalasi DHCP Server di Ubuntu
# apt-get install dhcp3-server
Dalam mengkonfigurasi DHCP Server, kita biasanya membutuhkan informasi
- DNS Server, misalnya, 202.134.2.5, 203.130.196.5
- Gateway / router, misalnya, 192.168.0.1
- Range alokasi IP address, misalnya, 192.168.0.100 s/d 192.168.0.200
- subnet, misalnya, 192.168.0.0
- netmask, misalnya, 255.255.255.0
Format Konfigurasi dhcpd.conf
# vi /etc/dhcp3/dhcpd.conf
Isinya kira-kira sebagai berikut
option domain-name "warnet.net" option domain-name-servers 202.134.2.5, 203.130.196.5;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.100 192.168.0.200 options routers 192.168.0.1; }
Restart DHCP Server
# /etc/init.d/dhcp3-server restart