Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 15:07:32 -0400
From:      Mikel King <mikel.king@ocsny.com>
To:        atanu@icsi.berkeley.edu
Cc:        freebsd-net@freebsd.org
Subject:   Re: Remote Boot
Message-ID:  <3F9583F4.9020306@ocsny.com>
In-Reply-To: <23439.1066760713@tigger.icir.org>
References:  <23439.1066760713@tigger.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <tpeixoto@widesoft.com.br> 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"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9583F4.9020306>