- 论坛徽章:
- 4
|
[core]
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 { //这是网络地址,这个网络最大有254台机器
range 192.168.1.10 192.168.1.30; //IP地址可分配的范围
# --- default gateway
option routers 192.168.1.33; //这里就是让你选择路由
option subnet-mask 255.255.255.0; //这里让你选择网络掩码
# option nis-domain "local.com";
option domain-name "local.com"; //选择DNS
option domain-name-servers 202.96.128.86,202.96.134.133;
option broadcast-address 192.168.1.255;
option time-offset -18000; # Eastern Standard Time
option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
# range dynamic-bootp 192.168.1.2 192.168.1.254;
default-lease-time 86400;
max-lease-time 172800;
# we want the nameserver to appear at a fixed address
host pc {
next-server www.163.com;
hardware ethernet 12 34 56 78 9A BC;
fixed-address 192.168.1.28;
}
}
[/core] |
|