无忧启动论坛

标题: 关于IPXE的DHCP选项,设置keep-san,no-pxedhcp等 [打印本页]

作者: huaqingyuan    时间: 2015-10-15 16:32
标题: 关于IPXE的DHCP选项,设置keep-san,no-pxedhcp等
本帖最后由 huaqingyuan 于 2015-10-31 09:08 编辑

IPXE的DHCP选项,严格来说就是对175选项的设置。
以Tiny PXE Server为列子

175.6.8.1.1.176.1.1
解释一下,175,选项
6,长度
8.1.1,IPXE选项8,长度1,值1,也就是设置keep-san=1
176.1.1,IPXE选项176,长度1,值1,也就是设置no-pxedhcp=1


作者: huaqingyuan    时间: 2015-10-15 16:38
  IPXE的很多设置,都能在DHCP下面定义,可以参考下面的文本。

option space ipxe;
  option ipxe-encap-opts code 175 = encapsulate ipxe;
  option ipxe.priority code 1 = signed integer 8;
  option ipxe.keep-san code 8 = unsigned integer 8;
  option ipxe.skip-san-boot code 9 = unsigned integer 8;
  option ipxe.syslogs code 85 = string;
  option ipxe.cert code 91 = string;
  option ipxe.privkey code 92 = string;
  option ipxe.crosscert code 93 = string;
  option ipxe.no-pxedhcp code 176 = unsigned integer 8;
  option ipxe.bus-id code 177 = string;
  option ipxe.bios-drive code 189 = unsigned integer 8;
  option ipxe.username code 190 = string;
  option ipxe.password code 191 = string;
  option ipxe.reverse-username code 192 = string;
  option ipxe.reverse-password code 193 = string;
  option ipxe.version code 235 = string;
  option iscsi-initiator-iqn code 203 = string;
  # Feature indicators
  option ipxe.pxeext code 16 = unsigned integer 8;
  option ipxe.iscsi code 17 = unsigned integer 8;
  option ipxe.aoe code 18 = unsigned integer 8;
  option ipxe.http code 19 = unsigned integer 8;
  option ipxe.https code 20 = unsigned integer 8;
  option ipxe.tftp code 21 = unsigned integer 8;
  option ipxe.ftp code 22 = unsigned integer 8;
  option ipxe.dns code 23 = unsigned integer 8;
  option ipxe.bzimage code 24 = unsigned integer 8;
  option ipxe.multiboot code 25 = unsigned integer 8;
  option ipxe.slam code 26 = unsigned integer 8;
  option ipxe.srp code 27 = unsigned integer 8;
  option ipxe.nbi code 32 = unsigned integer 8;
  option ipxe.pxe code 33 = unsigned integer 8;
  option ipxe.elf code 34 = unsigned integer 8;
  option ipxe.comboot code 35 = unsigned integer 8;
  option ipxe.efi code 36 = unsigned integer 8;
  option ipxe.fcoe code 37 = unsigned integer 8;
  option ipxe.vlan code 38 = unsigned integer 8;
  option ipxe.menu code 39 = unsigned integer 8;
  option ipxe.sdi code 40 = unsigned integer 8;
  option ipxe.nfs code 41 = unsigned integer 8;
作者: notepad    时间: 2015-10-15 19:49
这个得关心关心,感谢分享!
作者: 假大空    时间: 2015-10-18 20:54
学习下。
作者: cfgs    时间: 2015-10-21 08:41
非常感谢楼主的分享!谢谢
作者: zhaohj    时间: 2015-11-19 11:42
本帖最后由 zhaohj 于 2015-11-19 11:44 编辑

Configuring the DHCP server
A chain
You must configure your DHCP server to check for a UEFI HTTP Boot client, and to provide the string HTTPClient as the vendor class identifier, and an HTTP URI as the boot filename. If you are using ISC dhcpd then you need to edit /etc/dhcpd.conf to contain
  if option client-architecture = encode-int ( 16, 16 ) {
     option vendor-class-identifier "HTTPClient";
     filename "http://my.web.server/ipxe.efi";
  } else {
     filename "http://my.web.server/script.ipxe";
  }
where my.web.server is the DNS name (or IP address) of your web server.

==========================
参见:http://ipxe.org/appnote/uefihttp

问老大,这段话在ms的dhcp中怎么设置?

作者: 201287zr    时间: 2016-1-7 08:32
老大能否再详细说明下,英文不好啊,具体在tinypxe中怎么实现?每条代码是什么意思,排列成的一串数据是按什么方式组合的,可否多举几例说明下具体实现的功能?
作者: mougua783    时间: 2016-4-23 07:54
这么强,支持楼主,佩服
作者: huaqingyuan    时间: 2017-3-9 21:49
远景论坛关闭了,好可惜。希望无忧能长久,就像今天我就忘了以前发的资料,上来查看
作者: yijingmo    时间: 2018-3-20 15:33
学习~~~~
作者: wplin    时间: 2018-3-20 19:29
進來學習
感謝大大提供學習資源
作者: syppl    时间: 2018-7-14 09:01
不错,谢谢分享
作者: p8276625    时间: 2018-7-18 16:49
qiangtie_zhidexuexi,huifuhoukankandaanzhihuoxuexiyixia.
作者: liuyangaifox    时间: 2018-7-21 18:20
看看隐藏内容
作者: 自由航    时间: 2018-8-9 20:57
学习一下。。
作者: a00169    时间: 2018-8-14 18:05
学习学习啊............
作者: cheneytac    时间: 2018-8-24 13:28
我在想能否搞到hanewin dhcp里
作者: papago    时间: 2018-10-20 23:37
不明觉厉,学习一下
作者: rabbired    时间: 2018-11-26 12:53
这个得关心关心,感谢分享!
作者: key0327    时间: 2018-11-26 16:10
用法呢?
作者: 未完成的歌    时间: 2018-11-26 17:02
绝世好文,不得不顶
作者: mxso    时间: 2018-11-30 15:57
我也想知道
作者: rose4cat    时间: 2018-12-2 11:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: cc150    时间: 2019-3-10 23:39
gan xie feng xiang
作者: bihaitian    时间: 2019-3-20 01:08
老的东东才是最实用的
作者: xingwuzhe    时间: 2019-3-20 01:35
谢谢 学习了
作者: 缠水    时间: 2019-3-24 09:31
谢谢你来了
作者: ziyi520    时间: 2019-3-27 04:27
看看明白明白
作者: 熄灭的烟    时间: 2019-3-27 16:28
这个得关心关心,感谢分享!
作者: anxiang    时间: 2019-3-28 06:07
这个要学习学习
作者: icevan    时间: 2019-4-6 02:38
刚好在找这方面的东西
作者: goodtime    时间: 2019-4-28 14:47
谢谢分享, 这个好
作者: nytc006    时间: 2019-5-12 17:09
看看隐藏内容
作者: zt02zt    时间: 2019-5-15 13:43

作者: nihaitao1325    时间: 2019-5-25 18:37
想要学习,谢谢啦
作者: amita    时间: 2019-6-20 08:16
太厉害了,今天才看到这篇文章,非常感谢!
作者: hanbing0532    时间: 2019-7-10 16:50
吃了英语不好的亏
作者: xhyy2018    时间: 2019-7-10 16:59

作者: shouhou86    时间: 2019-7-25 21:44
1
作者: ♂竇豆♂    时间: 2019-7-31 23:58

学习下。
作者: hangwei67    时间: 2019-9-12 10:41
学习,一直没明白此含义
作者: 友联电脑    时间: 2019-9-23 00:01
关注细节,学习细节,用好细节,谢谢
作者: sgzyl    时间: 2019-11-3 19:26
最想知道了
作者: 2012zgrking    时间: 2019-11-6 08:33
非常感谢楼主的分享!
作者: 毛小华    时间: 2019-11-25 23:21
dddfffffddddddddddddddf
作者: 星体投射    时间: 2019-12-8 11:38
学习~
作者: justing23    时间: 2019-12-25 13:38
本帖最后由 justing23 于 2019-12-25 15:32 编辑

mark下

以下我的配置 linux,ipxe


set keep-san 1
sanboot sanboot --no-describe --drive 0x00 {$next-server}/pxe/dos.img


问题:客户端加载的虚拟A盘不能读写是怎么回事

作者: 残光丶沫影    时间: 2020-1-15 13:11
参考下......
作者: alehandro    时间: 2020-1-24 00:37
#在这里快速回复学习下#
作者: alehandro    时间: 2020-1-24 00:37
学习下
作者: 2010forever倩    时间: 2020-2-19 21:32
支持一下,谢谢楼主
作者: QM98    时间: 2020-2-28 17:04
最近在尝试用NAS搭建无盘系统,学习一下
作者: dgrshv    时间: 2020-2-28 19:36
学习学习
作者: 508806    时间: 2020-3-2 21:05
还有吗 还有吗
作者: 北冥有鱼    时间: 2020-3-3 07:29
??????
作者: mayi    时间: 2020-6-2 18:13
非常感谢楼主的分享!谢谢
作者: sccc123    时间: 2020-6-11 14:10
文章内容很好哦
作者: kk2003kk    时间: 2020-6-23 15:42
几年了,以前的版本不稳定,没有使用。
作者: ok11u    时间: 2020-7-5 14:39
6666
作者: cq_zhbo    时间: 2020-7-6 14:26
学习,学习.....................
作者: 夜袭寡妇村    时间: 2020-7-6 17:11
收藏了。谢谢楼主分享
作者: nishijiji1    时间: 2020-7-6 17:59
什么什么什么
作者: 278439972    时间: 2020-7-16 11:50
看看隐藏的内容是啥
作者: mayi    时间: 2020-7-18 15:11

支持一下,谢谢楼主
作者: jason0127    时间: 2020-7-19 16:07

绝世好文,不得不顶
作者: enet    时间: 2020-7-21 10:39
非常感谢楼主的分享!谢谢
作者: dlucifer    时间: 2020-8-17 07:58
正在找这个谢谢!!!
作者: fmwqsn    时间: 2020-9-28 16:08
谢谢分享
作者: runlin    时间: 2020-10-1 13:45
感谢分享,谢谢
作者: hnrrn    时间: 2020-10-10 20:10
牛b的说明
作者: caige518    时间: 2020-10-13 18:26
ipxe.reverse-username code 192
作者: change1abc    时间: 2020-10-19 21:42
看看喽,谢谢。
作者: lijingjack    时间: 2021-1-12 10:56
看看隐藏内容
作者: bjay2008xmy    时间: 2021-1-14 11:56
提示: 作者被禁止或删除 内容自动屏蔽
作者: playuserza    时间: 2021-1-22 08:56
回复一下看看
作者: yjd    时间: 2021-1-22 17:08
看看。
作者: iceatao    时间: 2021-4-10 00:27
感谢分享。
作者: 973599    时间: 2021-6-25 09:51
哈哈
作者: snaking999    时间: 2021-7-1 20:42
谢谢分享!!!
作者: shyshark    时间: 2021-7-12 15:14
学习
作者: 365天的思念    时间: 2021-7-16 10:13

谢谢 学习了
作者: czvcjwz    时间: 2021-7-16 22:23
学习一下
作者: lostbeing    时间: 2021-7-17 23:25
感谢楼主分享
作者: 007yfx    时间: 2021-7-27 21:17
看看。。。
作者: chainofhonor    时间: 2021-7-31 20:16
看看选项
作者: QuadAndroid    时间: 2021-7-31 21:49
前来学习了,现在dhcp请求很慢。
作者: 2010sunfeng    时间: 2021-12-30 10:54
学习一下
作者: imlym    时间: 2022-2-13 19:41
IPXE的DHCP选项
作者: dingfengguo    时间: 2022-2-18 11:28
我也不知道
作者: kunpeng    时间: 2022-5-5 01:18

学习学习
作者: 5youxjb    时间: 2022-5-7 14:07
学习学习啊
作者: 3524729590    时间: 2022-5-24 13:16
非常不错
作者: 小小小璇    时间: 2022-8-4 20:59
感谢楼主呀!
作者: luy-wong    时间: 2022-8-16 23:56
看看是什么
作者: mlc8675    时间: 2022-8-26 16:25
这么强,支持楼主,佩服
作者: wxf617@163.com    时间: 2022-9-6 15:46
谢谢楼主分享,学习一下
作者: luy-wong    时间: 2022-9-9 11:01
网启要那么多参数吗
作者: ZMLoveLH    时间: 2022-9-14 20:03
这个帖子很精彩,我仔细看看
作者: abe520    时间: 2022-9-15 00:14
貌似还不够十五字,我轻轻地来正如我轻轻地走
作者: wyzhanghao    时间: 2022-9-15 00:42
对方飒飒法地方




欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3