Using PXE to install FreeBSD 6.0 - wrong kernel path and ip
Patrik Forsberg
patrik.forsberg at dataphone.net
Thu Nov 10 05:32:39 PST 2005
Hm.. Im wondering..
I've never done this myself but from reading the articles you refer to
you seem to have done some fatal errors..
first off.. the second dhcp request you see is quite correct.. altho the
ip-adress got me confuced.. according to the dhcp rfc the client should
make a second request to verify that the ip-adress is actuly free aswell
as doing a arp-lookup for the ip for the same purpose before it aculy
binds the ipadress to itself.
Second..
you refer to the root-path as 192.168.2.38:/usr/local/export/pxe <--
ether you are simply stressed out or this is wrong.
The root-path should only refer to /usr/local/export/pxe.
The boot server is specified by the option next-server.
so..
next-server 192.168.2.38
root-path "/usr/local/export/pxe"
I think would be more correct ?
this would fetch, what ever default name, pxeboot file from the
tftp-server on 192.168.2.38.
I belive the minimum number of options you _have_ to set for this to
work is <http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml>
Requirement 3: DHCP Server:
option broadcast-address 192.168.254.255;
option domain-name-servers 192.168.254.3;
option domain-name "simerson.net";
option routers 192.168.254.1;
option subnet-mask 255.255.255.0;
server-name "pxe-gw";
server-identifier 192.168.254.3;
next-server 192.168.254.3;
and then the subnet and client clouse below
subnet 192.168.254.0 netmask 255.255.255.0 {
range 192.168.254.32 192.168.254.99;
option root-path "/usr/local/export/pxe";
filename "pxeboot";
}
host cm.simerson.net {
hardware ethernet 00:e0:18:98:f0:cc;
fixed-address 192.168.254.126;
}
If you follow the above I belive you should be good-to-go ;)
Regards,
Paddy
More information about the freebsd-isp
mailing list