RedHat as 4 DHCP ipv4部分安装配置
经过我一个晚上的努力,总算顺利地完成了DHCP的安装与配制工作.并且对所有过程做了手工记录和对dhcpd.conf做了注释.........ddns-update-style interim; #定义所支持的DNS动态更新的型{none|adhoc|interim}
ignore client-updates; #allow/ignore允许/忽略客户机更新DNS记录
subnet 192.168.1.0 netmask 255.255.255.0 { #subnet网络号netmask子网掩码
# --- default gateway
option routers 192.168.1.201; #为客户机定义默认网关
option subnet-mask 255.255.255.0; #为客户机指定子网掩码
# option nis-domain "domain.org"; #为客户机指定NIS域名称
# option domain-name "domain.org"; #为客户机指定DNS域名
option domain-name-servers 202.96.128.166,202.96.128.86;
#-------为客户机指定DNS服务器的IP地址
# option time-offset -18000; #格林尼治时间的偏移差
# option ntp-servers 192.168.1.1; #网络时间服务器地址
# option netbios-name-servers 192.168.1.1; #为客户机指定WINS服务器地址
# --- 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.100 192.168.1.200; #定义作用域范围
# default-lease-time 21600; #指定默认的租期
# max-lease-time 43200; #指定最大租期
# we want the nameserver to appear at a fixed address
host huaxia { #定义保留地址
next-server marvin.redhat.com; #另一台服务器地址
hardware ethernet 12:34:56:78:AB:CD; #定义硬件接口类型及硬件MAC地址
fixed-address 192.168.1.202; #定义保留的IP
}
} 支持一下 真的原创啊!支持。 :handshake :handshake :handshake 呵呵,能在说详细一点吗?我想知道ddns是什么?
页:
[1]
