NetBSD Problem Report #41431

From  Thu May 14 22:55:05 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id BBBFE63C1C0
	for <>; Thu, 14 May 2009 22:55:05 +0000 (UTC)
Message-Id: <>
Date: Thu, 14 May 2009 22:55:05 +0000 (UTC)
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
GENERIC 5.0 i386 kernel, Apr/26'2009 18:50:08 UTC
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.
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.
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:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.