From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 07:10:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0716A404 for ; Thu, 26 Apr 2007 07:10:51 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (7-137-58-66.gci.net [66.58.137.7]) by mx1.freebsd.org (Postfix) with ESMTP id 3925313C4C3 for ; Thu, 26 Apr 2007 07:10:50 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 47D0C7E37; Wed, 25 Apr 2007 23:10:49 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-questions@freebsd.org Date: Wed, 25 Apr 2007 23:10:43 -0800 User-Agent: KMail/1.9.6 References: <453394.79542.qm@web58112.mail.re3.yahoo.com> In-Reply-To: <453394.79542.qm@web58112.mail.re3.yahoo.com> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704252310.45963.beech@alaskaparadise.com> Cc: Subject: Re: DHCP/NIC IP address contention issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@alaskaparadise.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 07:10:51 -0000 > Beech Rintoul wrote: On Wednesday 25 April 2007, L Goodwin said: > > Will someone please lead me in the right direction towards > > resolving the following network issue? > > > > I just added a FreeBSD server to a LAN that consists of a router > > and 2 pc's, one of which is running Windows XP Pro and the other > > Windows Vista. The lan is connected to the Internet via a cable > > modem that goes through the router. The router is set up to be > > the DHCP server. Now it is being assigned a non-unique IP > > address. > > > > Before adding the FreeBSD box to the mix, everybody was getting > > along fine (unique IP addresses were dynamically assigned to the > > pc's). > > > > I connected the FreeBSD box to the router, selected "Configure > > additional network interfaces" from the sysinstall menu, selected > > "fxp0 Intel EtherExpress Pro/100B PCI Fast Ethernet card" from > > the top of the list and clicked "OK" to prompts to try to > > configure IPv6 and DCHP. When done, the Network Configuration > > dialog contained the following values (which I did not alter): > > > > Host: dhcppc0 > > Domain: (the cable provider's domain name) > > IPv4 Gateway: 192.168.1.1 > > Name server: (IP address of ISP's name server) > > Configuration for Interface fxp0: > > IPv4 Address: 192.168.1.33 > > Netmask: 255.255.255.0 > > Extra options: (blank) > > > > Note that the Host field does not match the hostname of the > > FreeBSD box, which is named "SERVER" (real creative, huh?). I > > guess I should have changed the Host field to "SERVER", eh? > > > > Then I got the following console messages on the FreeBSD server: > > > > 1) "Apr 25 13:33:19 SERVER kernel: arp 00:40:f4:47:fb:8e is using > > my IP address xxx.xxx.x.xx!" 2) "dhcppc0# Apr 25 14:07:05 dhcpp0 > > kernel: arp: 00:40:f4:47:fb:8e is using my IP address > > xxx.xxx.x.xx!" > > > > I ran "ipconfig /all" on both Windows boxes and found that the > > FreeBSD box is assigned the same IP address as the Windows XP box > > (which had that IP address FIRST). Why is the FreeBSD box being > > assigned a non-unique IP address? > > 1. Check that your router's dhcp server is set up properly. > > 2. Check that the windows box is not set up with a static ip. The > box could be hard coded to an ip address and your dhcp server > thinks the lease is free. > > Other than that you need to supply more info. > > Beech > On Wednesday 25 April 2007, L Goodwin said: > I'll double-check the things you listed. If you can tell me what > additional info I need to supply and where to get it, I'll be happy > to oblige. Thanks... > First off, please don't top post. It makes the conversation hard to follow. On the XP box what does the output of 'ipconfig /all' tell you about the DHCP lease? On the FreeBSD box what is in /etc/rc.conf? On your router what is the DHCP range set to? and how long do the leases last before they expire? And from the other post it's not possible to "accidentally" make the FreeBSD box a DHCP server. You would have to install the isc-dhcpd port, then configure and start it. If all of the above looks ok, go to /var/db and delete anything that says "dhclient.leases" then restart your machine and see if you get a new IP. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------