diskless boot, nfs server behind router

alexs at ulgsm.ru alexs at ulgsm.ru
Sat Jun 26 11:34:22 UTC 2010


* Rick Macklem <rmacklem at uoguelph.ca> [2010-06-25 20:11:42 -0400]:

> From a quick glance at the code, I think that the dhcp server must return
> the gateway the client uses to get to the server. (ie. it must be an ip
> addr on the diskless client's network for the gateway to where the server
> is) It looks like this will then be used to set boot.netif.gateway to the
> correct value for the kernel.
> 
> So you might want to check how your dhcpd is configured w.r.t. gateway
> address?


dhcp seems ok.
[alexs:ul-it13:~]>kenv
LINES="24"
acpi_load="YES"
boot.netif.gateway="10.144.140.1"
boot.netif.hwaddr="00:1c:c0:5a:f4:72"
boot.netif.ip="10.144.142.78"
boot.netif.netmask="255.255.252.0"
boot.nfsroot.nfshandle="Xbb55e849c6f9fd520c000000011c0600c20af931000000000000000000000000X"
boot.nfsroot.path="/exp/fbsd71"
boot.nfsroot.server="10.144.140.160"
....

It is from diskless host in same subnet where tftp and nfs server.

If i use server from over subnet, pxe cant load pxeboot, and kernel can`t
mount boot.nfsroot.path="/exp/fbsd71".

About pxe google found http://www.appdeploy.com/faq/detail.asp?id=10
As i understand router must make ip helper.
I seen it in cisco routers, not freebsd.








-- 
alexs


More information about the freebsd-stable mailing list