Difference between revisions of "Instalasi DHCP Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Instal DHCP Server # apt-get install dhcp3-server Konfigurasi dhcpd.conf # vi /etc/dhcp3/dhcpd.conf option domain-name "warnet.net" option domain-name-servers 202.134.2.5, 203.130...) |
Onnowpurbo (talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | 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. | ||
| + | |||
| + | |||
Instal DHCP Server | Instal DHCP Server | ||
# apt-get install dhcp3-server | # apt-get install dhcp3-server | ||
| − | Konfigurasi dhcpd.conf | + | |
| + | 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 | # 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 | Restart DHCP Server | ||
# /etc/init.d/dhcp3-server restart | # /etc/init.d/dhcp3-server restart | ||
| + | |||
| + | |||
| + | |||
| + | ==Pranala Menarik== | ||
| + | |||
| + | * [[Linux Howto]] | ||
Revision as of 11:01, 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.
Instal DHCP Server
# 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