weilong 发表于 2013-5-2 12:56:42

关于linux架设DHCP服务器请教各位大侠

有图有真相,请各位大侠帮帮忙,小弟我弄了很久也没有解决。。。!!!dhcp作用域的名称究竟怎么设置!!!。。。

菜鸟学徒 发表于 2013-5-2 13:48:42

我觉得就是为不同的vlan划分不同的网段,可以用不同的名字来当域名

zoomanyp 发表于 2013-5-2 14:36:53

{:6_267:}{:6_267:}{:6_267:}看鸟哥的linux私房菜里面有详细介绍

rhjv55 发表于 2013-5-2 14:56:33

帮助原文,给你搬来了
The subnet statement

      subnet subnet-number netmask netmask {
          [ parameters ]
          [ declarations ]
      }

       Thesubnetstatementisusedto provide dhcpd with enough information to tell
       whether or not an IP address is on that subnet.It may also beusedtoprovide
       subnet-specificparameters and to specify what addresses may be dynamically allo-
       cated to clients booting on that subnet.   Such addresses are specified usingthe
       range declaration.

       Thesubnet-numbershouldbean IP address or domain name which resolves to the
       subnet number of the subnet being described.   The netmask should be an IP address
       ordomainnamewhich resolves to the subnet mask of the subnet being described.
       The subnet number, together with the netmask, are sufficient to determinewhether
       any given IP address is on the specified subnet.

       Althougha netmask must be given with every subnet declaration, it is recommended
       that if there is any variance in subnet masks atasite,asubnet-maskoption
       statement be used in each subnet declaration to set the desired subnet mask, since
       any subnet-mask option statement will override the subnetmaskdeclaredinthe
       subnet statement.

weilong 发表于 2013-5-2 16:05:35

zoomanyp 发表于 2013-5-2 14:36 static/image/common/back.gif
看鸟哥的linux私房菜里面有详细介绍

鸟哥我服务器架设篇我已经看过了,没有找到设置作用域的名称的方法

weilong 发表于 2013-5-2 16:06:31

菜鸟学徒 发表于 2013-5-2 13:48 static/image/common/back.gif
我觉得就是为不同的vlan划分不同的网段,可以用不同的名字来当域名

怎么用不同的名字来当域名。。具体方法呢?

weilong 发表于 2013-5-2 16:07:55

rhjv55 发表于 2013-5-2 14:56 static/image/common/back.gif
帮助原文,给你搬来了
The subnet statement



谢谢提供帮助,但是你给的这些原文好像没有多少帮助啊!

weilong 发表于 2013-5-2 16:34:50

菜鸟学徒 发表于 2013-5-2 13:48 static/image/common/back.gif
我觉得就是为不同的vlan划分不同的网段,可以用不同的名字来当域名

大侠,是不是修改   option domain-name ,比如valn1的作用域,是不是下面的那样修改
option domain-name            "vlan1";


但是option domain-name指明的应该是DNS的名字才对啊!可以用来设置作用域的名字吗?

菜鸟学徒 发表于 2013-5-2 16:38:58

不是吧,我的理解作用域就是指要分配的IP地址的范围
页: [1]
查看完整版本: 关于linux架设DHCP服务器请教各位大侠