Re: vm+ipxe+pxeboot fail

看板FB_hackers作者時間11年前 (2014/05/01 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/8 (看更多)
Hi Mark thanks for your reply, I have my root-path in dhcpd.conf and etc/exports. my dhcpd.conf : authoritative; subnet 10.28.236.0 netmask 255.255.255.0 { one-lease-per-client on; range 10.28.236.10 10.28.236.250; default-lease-time 1200; max-lease-time 43200; dynamic-bootp-lease-length 1200; option ntp-servers 10.28.236.1; option broadcast-address 10.28.236.255; option subnet-mask 255.255.255.0; option domain-name "xxxxxxxxxxxxx"; option domain-search "xxxxxxxxxxxxxxxxxxxxx"; option domain-name-servers 10.28.236.1; allow duplicates; allow unknown-clients; allow booting; allow bootp; host freebsd {hardware ethernet 00:50:56:99:0b:c4; fixed-address 10.28.236.14; option root-path "/opt/razor/image/image/os/7I2RjjQvo7IkbqO4rLv6kJ";} if exists user-class and option user-class = "iPXE" { filename "razor.ipxe"; # we are in an iPXE kernel and load static script } else { filename "undionly.kpxe"; # we are in burned in PXE and load iPXE kernel } next-server 10.28.236.1; } And the Freebsd pxeboot loader is launched by razor. 2014-04-30 15:22 GMT+02:00 Mark Saad <nonesuch@longcount.org>: > > > > On Apr 30, 2014, at 4:10 AM, amine tay <amine.tay91@gmail.com> wrote: > > > > Hi everyone, > > > > Lately I had some problems, trying to get FreeBSD to PXE boot. (Actually > > I'm using a VMware virtual machine.) First I'm using iPXE 1.0.0 and then > > load and launch the FreeBSD pxeboot > > <http://man.freebsd.org/pxeboot>loader. But I'm getting this : > > http://forums.freebsd.org/viewtopic.php?f=4&t=45901 > > When using isc-dhcp as DHCP server I'm getting the error but when using > > dnsmasq everything works fine. > > > > The problem seems that the client when booting is sending 2 DHCP requests > > and therefore gets two different IP addresses, the first one sent by the > > ROM and the second one by the FreeBSD > > pxeboot<http://man.freebsd.org/pxeboot>loader. > > > > I found somewhere in some posts that the pxe.c file is doing a second > > bootprequest because it fails to get cached DHCP data from the ROM. > > > > Any help or more ideas would be appreciated. > > It looked like you either do not have options rootpath set in dhcpd.conf , > etc/exports is mis configured , the nfs server is disabled or if you have > loader built with tftp support you do not have a tftp server setup / > running . > > Can you sent the dhcpd.conf the exports file off the server ? > > Mark saad | mark.saad@longcount.org > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1JOJfV3_ (FB_hackers)
文章代碼(AID): #1JOJfV3_ (FB_hackers)