当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu 14.04在其DHCP conf中的以下段所中特定参数代表的意思
帖子发表于 : 2016-11-24 14:54 

注册: 2016-08-21 10:39
帖子: 12
系统: ubuntu 14.04
送出感谢: 2
接收感谢: 0 次
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.

#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}

#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }

match if substring (option vendor-class-identifier, 0, 4) = "SUNW";中的 0, 4所代表的含义是什么,一直分不到想要的IP,估计是这两个参数理解错误了,哪位大神知道啊,求解....


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu 14.04在其DHCP conf中的以下段所中特定参数代表的意思
帖子发表于 : 2016-11-25 15:20 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
https://linux.die.net/man/5/dhcp-options
dhcp-options - Dynamic Host Configuration Protocol options
使用關鍵字 搜尋
vendor-class-identifier
VENDOR ENCAPSULATED OPTIONS



_________________
评价: 3.7% lilycn
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu 14.04在其DHCP conf中的以下段所中特定参数代表的意思
帖子发表于 : 2016-12-07 11:11 

注册: 2016-08-21 10:39
帖子: 12
系统: ubuntu 14.04
送出感谢: 2
接收感谢: 0 次
poloshiao 写道:
https://linux.die.net/man/5/dhcp-options
dhcp-options - Dynamic Host Configuration Protocol options
使用關鍵字 搜尋
vendor-class-identifier
VENDOR ENCAPSULATED OPTIONS


还想请问以下,如果我要在DHCP启动之后,给我的client 通过自己建立的TFTP server分配一个文件,我在DHCP文档中添加了文档的名字,但是一直识别不了,是不是还要添加此文档的路径在DHCP conf中?但是我不知道添加这个文件及文件路径的规则?急求?大神。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu 14.04在其DHCP conf中的以下段所中特定参数代表的意思
帖子发表于 : 2016-12-07 11:47 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
给我的 client 通过自己建立的 TFTP server 分配一个文件

引用:
我在 DHCP 文档中添加了文档的名字

1. 不是很清楚你這裡的 文档 跟上面的 文件 有沒有關聯

1-1. 猜測 也許 你把 dhcp 的功能 跟 ftp 的功能 混在一起了
1-1-1. DHCP
https://help.ubuntu.com/lts/serverguide/dhcp.html
1-1-2. FTP Server
https://help.ubuntu.com/16.04/servergui ... erver.html


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译