From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 12:14:42 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13E2F16A4BF for ; Tue, 21 Oct 2003 12:14:42 -0700 (PDT) Received: from bast.ocsinternet.com (bast.ocsinternet.com [204.107.76.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1109A43F75 for ; Tue, 21 Oct 2003 12:14:40 -0700 (PDT) (envelope-from mikel.king@ocsny.com) Received: from ocsny.com (fw207.ocsny.com [204.107.76.207]) by bast.ocsinternet.com (8.12.10/8.12.9) with ESMTP id h9LJCXd1045907; Tue, 21 Oct 2003 15:12:33 -0400 (EDT) (envelope-from mikel.king@ocsny.com) Message-ID: <3F9583F4.9020306@ocsny.com> Date: Tue, 21 Oct 2003 15:07:32 -0400 From: Mikel King User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: atanu@icsi.berkeley.edu References: <23439.1066760713@tigger.icir.org> In-Reply-To: <23439.1066760713@tigger.icir.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Remote Boot X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 19:14:42 -0000 Just curious would it be better to add a rule to allowe 67 & 68 (tcp & udp) in from the dhcp server instead of leaving the box all open? Understand I've never attempted this booting a diskless, but it seems like something worth trying.... Atanu Ghosh wrote: >>From my notes when trying to get diskless booting working: > > We usually have the firewall and dummynet enabled in our configs. The > default is therefore not to allow any packets in or out. This stops > the DHCP packets leaving a diskless kernel. Override this default. > >options IPFIREWALL_DEFAULT_TO_ACCEPT > > Atanu. > > > >>>>>>"Tobias" == Tobias P Santos writes: >>>>>> >>>>>> > > Tobias> Hello, I am trying to boot a FreeBSD diskless client with > Tobias> no success. Actually, I can boot the client, the kernel > Tobias> is downloaded and begins to boot. Then it tries to reach > Tobias> the DHCP/BOOT server, but this never occurs and the > Tobias> machine repeats the following messages forever: > > Tobias> bootpc_call: sosend: 13 state 00000000 DHCP/BOOTP timeout > Tobias> for server 255.255.255.255 > > Tobias> I connected both machines (server and client) with a > Tobias> crossover cable and ran tcpdump on server. Once the kernel > Tobias> is downloaded, there isn't any more talking on the network > Tobias> so the client is not asking for a DHCP/BOOTP server as it > Tobias> should be, or as it says to be. > > Tobias> I made these tests with FreeBSD 4.8 and then switched back > Tobias> to 4.4 but got the same behaviour with both versions. > > Tobias> With version 5.0, the kernel was downloaded but it didn't > Tobias> boot, so I gave up 5.x. > > Tobias> The NIC's are Realtek 8139 detected as rl0 on client and > Tobias> also on server. BTW, I also tried an ed0 interface but it > Tobias> didn't change anything. > > Tobias> Anyone could give a hand here? The only thing I can > Tobias> imagine is something wrong with diskless kernel, but I've > Tobias> compiled with the handbook instructions: > > Tobias> options BOOTP # Use BOOTP to obtain IP address/hostname > Tobias> options BOOTP_NFSROOT # NFS mount root filesystem using > Tobias> BOOTP info options BOOTP_COMPAT # Workaround for broken > Tobias> bootp daemons. > > Tobias> Any clues? > > Tobias> Thank you in advance! Best regards, -- Tobias. > Tobias> _______________________________________________ > Tobias> freebsd-net@freebsd.org mailing list > Tobias> http://lists.freebsd.org/mailman/listinfo/freebsd-net To > Tobias> unsubscribe, send any mail to > Tobias> "freebsd-net-unsubscribe@freebsd.org" >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >