From owner-freebsd-stable@FreeBSD.ORG Thu Jun 7 08:10:45 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 845FF16A41F for ; Thu, 7 Jun 2007 08:10:45 +0000 (UTC) (envelope-from kim.attree@za.verizonbusiness.com) Received: from mx01.uunet.co.za (mx01.uunet.co.za [196.7.142.153]) by mx1.freebsd.org (Postfix) with ESMTP id 1791613C45B for ; Thu, 7 Jun 2007 08:10:45 +0000 (UTC) (envelope-from kim.attree@za.verizonbusiness.com) Received: from [196.30.158.7] (helo=pixproxy.so.jnb6.za.uu.net) by mx01.uunet.co.za with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HwCk5-0005yU-O3 for freebsd-stable@freebsd.org; Thu, 07 Jun 2007 09:49:13 +0200 Received: from [196.22.64.216] (chickenboo.ops.uunet.co.za [196.22.64.216]) by pixproxy.so.jnb6.za.uu.net (Postfix) with ESMTP id BEBBA102C1C for ; Thu, 7 Jun 2007 09:49:13 +0200 (SAST) Message-ID: <4667B97D.2090200@za.verizonbusiness.com> Date: Thu, 07 Jun 2007 09:53:33 +0200 From: Kim Attree Organization: Verizon Business User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Server setup as a Diskless Server on reboot sends DHCP Discover packets out X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kim.attree@za.verizonbusiness.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 08:10:45 -0000 Hey Guys, I have a strange one: I've setup a machine as a diskless server, using PXEBoot with ihc-dhcpd to offer dhcp and dhcp configuration information. I did a test reboot on the server, and found to my dismay that the server NIC's are sending out dhcp discover packets and trying to get an address. The NIC's IP info is captured correctly in /etc/rc.conf: ifconfig_bge0="inet 196.30.157.162 media 100baseTX mediaopt full-duplex netmask 255.255.255.192" ifconfig_bge1="inet 196.31.157.162 media 100baseTX mediaopt full-duplex netmask 255.255.255.0" and the /etc/dhclient.conf file is empty. I thought maybe it was the /conf directory used in the diskless Root structure creation, so I renamed it out of the way, but that made no difference. I can't seem to find where the definition is that makes the NIC's ask for DHCP info. Shortened output of /var/run/dmesg.boot pertaining to the DHCP Discover packets: Sending DHCP Discover packet from interface bge0 (00:0b:db:e6:a9:33) Sending DHCP Discover packet from interface bge1 (00:0b:db:e6:a9:35) DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 Received DHCP Offer packet on bge0 from 196.30.157.161 (accepted) (no root path) Sending DHCP Request packet from interface bge0 (00:0b:db:e6:a9:33) DHCP/BOOTP timeout for server 255.255.255.255 Received DHCP Ack packet on bge0 from 196.30.157.161 (accepted) (got root path) DHCP timeout for interface bge1 bge0 at 196.30.157.149 server 196.30.157.161 server name diskless.csc.jnb6.za.uu.net boot file pxeboot subnet mask 255.255.255.192 router 196.30.157.129 rootfs 196.30.157.161:/diskless_root Adjusted interface bge0 Shutdown interface bge1 Trying to mount root from ufs:/dev/aacd0s1a 9 times out of ten the DHCP will just sit and timeout (it gets a DHCP return from my other diskless server running DHCPD) and then the 1 time out of 10 will mount the hard drive / partition. Thanks Kim Attree