Using PXE to install FreeBSD 6.0 - wrong kernel path and ip

Emre Bastuz info at emre.de
Thu Nov 10 02:12:09 PST 2005


Hi,

I´m trying to set up an environment where I can install FreeBSD servers via
network/PXE.

For testing purposes I installed a FreeBSD 6.0 system inside VMWare and created
all neccessary configurations according to the tutorials at
http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml and
http://people.freebsd.org/~alfred/pxe/en_US.ISO8859-1/articles/pxe/article.html.
(dhcpd, nfs, etc.)

I also added another virtual machine into VMWare which is supposed to be the
server to be set up. When I boot the "client" machine however, the following
happens:

# tail /var/log/dhcpd.log

Nov 10 09:54:48 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 via lnc0
Nov 10 09:54:48 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to
00:0c:29:a1:44:95 via lnc0
Nov 10 09:54:49 install-i386 dhcpd: DHCPREQUEST for 192.168.2.17 (192.168.2.38)
from 00:0c:29:a1:44:95 via lnc0
Nov 10 09:54:49 install-i386 dhcpd: DHCPACK on 192.168.2.17 to 00:0c:29:a1:44:95
via lnc0

... so far so good ... the box asks for an IP address and receives the one I
have configured in the dhcpd.conf for it´s particular MAC address ...

Nov 10 09:54:50 install-i386 dhcpd: DHCPDISCOVER from 00:0c:29:a1:44:95 via lnc0
Nov 10 09:54:50 install-i386 dhcpd: DHCPOFFER on 192.168.2.17 to
00:0c:29:a1:44:95 via lnc0
Nov 10 09:54:50 install-i386 dhcpd: DHCPREQUEST for 192.168.1.38 (192.168.2.3)
from 00:0c:29:a1:44:95 via lnc0: ignored (not authoritative).

... now this is strange:
- why does the box ask *again* for an IP address?
- why does it ask for 192.168.1.38 in particular? I have not configured this
address anywhere

On the screen of the client I see the following information:
BTX Loader ...
[...]
PXE Version 2.1
[...]
FreeBSD/i386 bootstrap loader
[...]
pxe_open: server addr: 192.168.2.38 -> the address of the DHCP server - that´s
OK
pxe_open: server root: /pxeroot -> this one ist not OK - I have configured the
kernel to be in /usr/local/export/pxe (nfs export) and not in /pxeroot
pxe_open: gateway ip : 192.168.1.38 -> why this address? I have not configured
this address or the subnet anywhere?!

Does anyone have idea what might be going wrong?

Cheers,

Emre

--
http://www.emre.de                        UIN: 561260
PGP Key ID: 0xAFAC77FD

I don't see why some people even HAVE cars. -- Calvin


More information about the freebsd-isp mailing list