Search For :
Tutorial: bsd
Title: Install DHCP Server di OpenBSD
Date: July 18, 2008
Tutorial bsd
Install DHCP Server di OpenBSD

Sebelum nya sebaiknya baca disini terlebih dahulu
http://www.openbsd.org/faq/faq6.html#DHCP

oke, lanjut

edit rc.conf.local utk aktifkan dhcp server
# ee /etc/rc.conf.local
dhcpd_flags=\"\"

pastikan ethernet card mana yg akan di pakai untuk dhcp
misalkan fxp0 fxp1
fxp0 --> public
fxp1 --> local --> digunakan untuk dhcp server

# echo fxp1 > /etc/dhcpd.interfaces

cek dengan
# more /etc/dhcpd.interfaces
# fxp1

kemudian configurasi /etc/dhcpd.conf
# ee /etc/dhcpd.conf

option domain-name \"ampuh.warnet.com\";
option domain-name-servers 192.168.1.3, 192.168.1.5;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;

range 192.168.1.32 192.168.1.127;
}

SAVE & reboot :D

artinya
nama domain ampuh.warnet.com
first DNS 192.168.1.3
second DNS 192.168.1.5
subnet 255.255.255.0
router atau gw 192.168.1.1
range ip dhcp --> 192.168.1.32 sampai 192.168.1.127

kira2 spt itu :D
OpenBSD ampuh
OpenBSD secure by default :D

Posted by luckyy_man