LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1024|回复: 6

SLES,SLED,openSuSE10.2的dhcpd + tftp貌似有问题

[复制链接]
发表于 2007-5-21 00:04:02 | 显示全部楼层 |阅读模式
无法使用pxe启动,改用SLES9的dhcpd就没事了。
发表于 2007-5-22 09:34:52 | 显示全部楼层
不會,我在 sles10 跟 opensue10.2 都沒問題啊。
你貼一下你的 dhcpd.conf 看看?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-23 10:14:52 | 显示全部楼层
Post by netman網中人
不會,我在 sles10 跟 opensue10.2 都沒問題啊。
你貼一下你的 dhcpd.conf 看看?


ddns-update-style none;
subnet 172.16.1.0 netmask 255.255.255.0 {
  filename "pxelinux.0";
  allow booting;
  allow bootp;
  range dynamic-bootp 172.16.1.1 172.16.1.254;
}

我的故障现象是能获取IP,但是一直试图找pxelinux.cfg/下以网卡mac地址命名的配置文件。
回复 支持 反对

使用道具 举报

发表于 2007-5-24 00:12:24 | 显示全部楼层
next-server 呢?還有很多其他的地方也要設。
下面是我的 sample,你参考一下:
  1. default-lease-time 1209600;
  2. max-lease-time 1296000;
  3. ddns-update-style none; ddns-updates off;
  4. allow booting;
  5. option domain-name "test.cxm";
  6. option domain-name-servers 192.168.100.254, 168.95.1.1;
  7. option routers 192.168.100.254;
  8. # define rules to identify DHCP Requests from PXE and Etherboot clients.
  9. #class "pxe" {
  10. #    match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
  11. #}
  12. #class "etherboot" {
  13. #    match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";
  14. #}
  15. subnet 192.168.100.0 netmask 255.255.255.0 {
  16.     option broadcast-address 192.168.100.255;
  17.     pool {
  18.          server-name "gw.test.cxm";
  19.          next-server 192.168.100.254; # in case your local DNS only handles
  20.                                     # unqualified domains keep trailing '.'
  21.          filename "pxelinux.0";
  22. #         allow members of "pxe";
  23. #         allow members of "etherboot"; # allow etherboot, too
  24.          range 192.168.100.101 192.168.100.211;
  25.      }
  26. }
复制代码

或是参考:
http://en.opensuse.org/SuSE_install_with_PXE_boot
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-25 09:52:35 | 显示全部楼层
next-server是必须的吗?

我先试试看。
回复 支持 反对

使用道具 举报

发表于 2007-5-25 14:20:25 | 显示全部楼层
如果沒 next-server,那 client 就不知道要去哪下載開機文件了啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-25 23:02:14 | 显示全部楼层
OK了,多谢netman!
回复 支持 反对

使用道具 举报

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

本版积分规则

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