Date: Sat, 26 Jun 2010 15:34:19 +0400 From: alexs@ulgsm.ru To: freebsd-stable@freebsd.org Subject: Re: diskless boot, nfs server behind router Message-ID: <20100626113418.GA80299@mail.ulgsm.ru> In-Reply-To: <Pine.GSO.4.63.1006252008340.8512@muncher.cs.uoguelph.ca> References: <20100625152027.GA78442@mail.ulgsm.ru> <Pine.GSO.4.63.1006252008340.8512@muncher.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
* Rick Macklem <rmacklem@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100626113418.GA80299>