NetBSD Problem Report #41431

From www@NetBSD.org  Thu May 14 22:55:05 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id BBBFE63C1C0
	for <gnats-bugs@gnats.netbsd.org>; Thu, 14 May 2009 22:55:05 +0000 (UTC)
Message-Id: <20090514225505.52F2963BAB3@www.NetBSD.org>
Date: Thu, 14 May 2009 22:55:05 +0000 (UTC)
From: p2nd8vp02@sneakemail.com
Reply-To: p2nd8vp02@sneakemail.com
To: gnats-bugs@NetBSD.org
Subject: PXE client gets IP Gateway, doesn't pass to userland
X-Send-Pr-Version: www-1.0

>Number:         41431
>Category:       misc
>Synopsis:       PXE client gets IP Gateway, doesn't pass to userland
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 14 23:00:01 +0000 2009
>Originator:     Tim Judd
>Release:        5.0 i386
>Organization:
N/A
>Environment:
GENERIC 5.0 i386 kernel, Apr/26'2009 18:50:08 UTC
>Description:
Netbooting, aka PXE booting, shows during kernel load that it's getting all the DHCP/ TCP/IP parameters, but the default gateway is not set (or passed) on further so the OS can get outside the subnet.  See repeat and *workaround* to see clarity.
>How-To-Repeat:
remove all ifconfig variables from rc.conf, remove all ifconfig files from /etc (so a disked-system won't have any network connectivity).  Boot from PXE, the green output lists the IP, subnet, gateway and DNS being received from DHCP.  Check your routing table post-boot (netstat -rnf inet).  No default gateway is set.
>Fix:
**WORKAROUND**
apply the ifconfig_ifX in rc.conf, or the ifconfig.ifX in /etc to re-obtain the DHCP settings.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.