无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 10409|回复: 17
打印 上一主题 下一主题

[分享] 增加一个DHCP选项 可以大幅加快 iPXE 的启动速度

[复制链接]
1#
发表于 2014-9-29 23:04:41 | 显示全部楼层
本帖最后由 510819776 于 2014-9-29 23:35 编辑
我是神仙 发表于 2014-9-29 10:13
来个全套的倒也不难。而且隔壁其他贴子里面其实早就有了。不过最好是自己动手理顺一下,只有自己真正理解 ...


我晕 我是用dnsmasq
用dhsmasq --help dhcp没发现有175这个选项呀
添加dhcp-option=175,1
或者dhcp-option=option:nopredhcp,1
不知道我我该用哪个
我是手机开启了dnsmasq服务想网络启动

http://delphinus.qns.net/xwiki/bin/view/Blog/WebHome
我找到了这篇文章 大家可以参考下
针对ipxe进行的各种优化
# Boot for Etherboot gPXE. The idea is to send two different
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
#dhcp-match=set:gpxe,175 # gPXE sends a 175 option.
#dhcp-boot=tag:!gpxe,undionly.kpxe
#dhcp-boot=mybootimage

# Encapsulated options for Etherboot gPXE. All the options are
# encapsulated within option 175
#dhcp-option=encap:175, 1, 5b         # priority code
#dhcp-option=encap:175, 176, 1b       # no-proxydhcp
#dhcp-option=encap:175, 177, string   # bus-id
#dhcp-option=encap:175, 189, 1b       # BIOS drive code
#dhcp-option=encap:175, 190, user     # iSCSI username
#dhcp-option=encap:175, 191, pass     # iSCSI password
看的头大了
这个175选项不是那么容易添加的
这么多
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-6 08:18

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表