06 Agustus 2008

Free BSD set ip

SET IP ADDRESS
Buka file rc.conf yg terletak di /etc/rc.conf lalu ketikkan command di bawah ini: hostname="host.domain.com"
network_interfaces="rl0 rl1 lo0" (bisa juga di set dengan auto = network_interfaces="auto")
ifconfig_lo0="inet 127.0.0.1" ifconfig_rl0="inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx"
ifconfig_rl1="inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx"
save dengan command :wq!