StupidBeauty
Read times:549Posted at:Sat Jun 16 17:30:44 2012
- no title specified

转载:DHCP服务器学习之dhcp配置

DHCP服务器要负责向客户机提供默认路由项,也就是默认网关。

http://network.51cto.com/art/201009/223883.htm

亮点:

四、详细注解:

ddns-update-style interim; #定义所支持的DNS动态更新类型(必选),一般我们设置成关闭, #interim和none都是关闭的意思 allow/ignore client-updates; #允许/忽略客户机更新DNS记录 allow/deny unknown-clients; #是否动态分配IP给未知的使用者 allow/deny bootp; #是否响应激活查询 allow/deny booting; #是否响应使用者查询 subnet 192.168.2.0 netmask 255.255.255.0 { #设置子网声明 # --- default gateway option routers 192.168.2.1; #设置缺省网关为192.168.2.1 option subnet-mask 255.255.255.0; #设置客户端的子网掩码 option nis-domain "domain.org"; #为客户设置NIS域 option domain-name "domain.org"; #为客户设置域名 option domain-name-servers 192.168.2.1; #为客户设置域名服务器 option time-offset -18000; # Eastern Standard Time #为客户端指定格林威治时间偏移时间,单位秒, # 该选项可以在全局配置、局部配置均可使用 # option ntp-servers 192.168.2.1; #NTP是时间服务器 # option netbios-name-servers 192.168.2.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; #设置netbios节点类型 我不清楚这个netbios节点是什么东西 range dynamic-bootp 192.168.2.28 192.168.2.254; #设置动态的地址池 default-lease-time 21600; #设置缺省的地址租期 max-lease-time 43200; #设置客户端最长的地址租期 # we want the nameserver to appear at a fixed address filename "/pxelinux.0"; #开始启动文件的名称,应用于无盘安装,可以是tftp的相对或绝对路径 next-server 192.168.2.11; #This is the name of the server they should get it from #tftp服务器,可以和dhcp服务器不在同一机器上,一般是PXE网络使用此参数 #设置主机声明 host ns { next-server marvin.redhat.com; #设置由于定义服务器从引导文件中装入的主机名,用于无盘站 hardware ethernet 12:34:56:78:AB:CD; #指定dhcp客户的mac地址 fixed-address 207.175.42.254; #给指定的mac地址分配ip } }

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4