From owner-freebsd-stable@FreeBSD.ORG Sat Jun 26 14:07:59 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CFAA106566C for ; Sat, 26 Jun 2010 14:07:59 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id B40958FC0A for ; Sat, 26 Jun 2010 14:07:57 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAFABenJUyDaFvK/2dsb2JhbACSe4wvcb9mhSQE X-IronPort-AV: E=Sophos;i="4.53,487,1272859200"; d="scan'208";a="81981975" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 26 Jun 2010 10:07:53 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 54FCC109C2D8; Sat, 26 Jun 2010 10:07:55 -0400 (EDT) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q3MFG9E4o5p5; Sat, 26 Jun 2010 10:07:54 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id C924E109C2D1; Sat, 26 Jun 2010 10:07:54 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o5QEOi516826; Sat, 26 Jun 2010 10:24:44 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Sat, 26 Jun 2010 10:24:44 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: alexs@ulgsm.ru In-Reply-To: <20100626113418.GA80299@mail.ulgsm.ru> Message-ID: References: <20100625152027.GA78442@mail.ulgsm.ru> <20100626113418.GA80299@mail.ulgsm.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: diskless boot, nfs server behind router X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 14:07:59 -0000 On Sat, 26 Jun 2010, alexs@ulgsm.ru wrote: [stuff snipped] > > > 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. > Ok, this is when the server is on the same subnet and works ok. Am I correct? > If i use server from over subnet, pxe cant load pxeboot, and kernel can`t > mount boot.nfsroot.path="/exp/fbsd71". > I thought you had said that you had gotten pxeboot to work across to the other subnet and that it was the mount of "/" that then failed? (It is that case where "boot.netif.gateway" needs to be checked to see that it has the gateway for the client's subnet.) > 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. > If you haven't been able to get pxeboot to work when the server is on a different subnet, I'm afraid I can't help with that. rick