首页 运维 网络学院 查看内容

linux DHCP多作用域

2011-4-14 11:33 484 0

摘要:   DHCP多作用域..第一个区域必须是此台DHCP服务器所在的网段的区域..然后再去添加其他的网段的域..  ddns-update-style interim;  ignore client-up...
关键词: option 192.168 nbsp domain netbios servers default time name 255.255

  DHCP多作用域..第一个区域必须是此台DHCP服务器所在的网段的区域..然后再去添加其他的网段的域..  ddns-update-style interim;  ignore client-updates;  subnet 192.168.1.0 netmask 255.255.255.0 {  # --- default gateway  option routers   192.168.1.1;  option subnet-mask  255.255.255.0;  option nis-domain  "domain.org";  option domain-name  "domain.org";  option domain-name-servers 192.168.1.1;  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.128 192.168.1.254;  default-lease-time 21600;  max-lease-time 43200;  # we want the nameserver to appear at a fixed address  host ns {  next-server marvin.redhat.com;  hardware ethernet 12:34:56:78:AB:CD;  fixed-address 207.175.42.254;  }  }  subnet 192.168.0.0 netmask 255.255.255.0 {  # --- default gateway  option routers   192.168.0.1;  option subnet-mask  255.255.255.0;  option nis-domain  "domain.org";  option domain-name  "domain.org";  option domain-name-servers 192.168.1.1;  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.0.128 192.168.0.254;  default-lease-time 21600;  max-lease-time 43200;  }  然后去交换机上去做中继
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部