欢迎您来到悍铭数据中心,开始互联网之旅!

新闻中心

DHCP配置

 
/usr/ports/net/isc-dhcp3-server
make install
default-lease-time 21600;
max-lease-time     86400;
option domain-name-servers 202.103.44.5,202.103.0.117;
option domain-name "kmip.net";
option routers 10.0.0.2;
option broadcast-address 10.0.0.255;
option perform-mask-discovery on;
ddns-update-style none;
group

subnet 10.0.0.0 netmask 255.255.255.0
{
  range dynamic-bootp 10.0.0.4 10.0.0.250;
}

}
然后去/usr/local/sbin
./dhcpd -cf /usr/local/etc/dhcpd.conf lnc0
如果启动成功就在rc.conf里加入dhcpd_enable="YES"

香港云主机