Setting DHCP Server


Edit file konfigurasi pada /etc/dhcpd.conf
# vi /etc/dhcpd.conf

ddns-update-style none;
default-lease-time 14400;
option subnet-mask 255.255.255.0;
option broadcast-address 10.14.5.255;
option routers 10.14.5.1;
option domain-name-servers 10.14.5.86, 10.14.201.9, 10.14.1.37;
option domain-name smiert;

subnet 10.14.5.0 netmask 255.255.255.0 {
range 10.14.5.200 10.14.5.254;
}

host pc_1 {
hardware ethernet 00:11:2F:34:7E:CC;
fixed-address 10.14.5.11;
}

Agar service dhcpd berjalan otomatis pada saat booting
# chkconfig dhcpd on

Cara mengontrol service dhcpd dengan
# /etc/init.d/dhcpd { start | stop | status | restart | condrestart | configtest }

Sedangkan di klien untuk mengaktifkan status sebagai dhcp client dengan
# dhclient

Cek IP address pada client dengan
# ifconfig

Popular posts from this blog

Howto configure boot device order on ILOM

Installing Depot files on HP-UX 11.23 ia64

SAN Switch Config Command