From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 06:57:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0DD116A4BF for ; Thu, 11 Sep 2003 06:57:23 -0700 (PDT) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08EA643FE3 for ; Thu, 11 Sep 2003 06:57:23 -0700 (PDT) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by firecrest.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 19xRwn-0000xQ-00; Thu, 11 Sep 2003 06:57:21 -0700 From: "Andrew L. Gould" To: "Colin Ryan" , Date: Thu, 11 Sep 2003 08:57:40 -0500 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309110857.40916.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b703324ed6594fc7ccd299df1230c3ddf350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: Re: FreeBSD's refusal to connect to the internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 13:57:23 -0000 On Thursday 11 September 2003 08:32 am, Colin Ryan wrote: > I have a small network of three computers in my office here. Two Windows > 2000, and one FreeBSD 5.1. It's the BSD box that's giving me problems. > > My computers are connected to my modem via an ethernet switch. My modem is > set up as a DHCP server, and my computers are DHCP enabled. > When the input cable is disconnected from the modem (not the power, so it's > still assigning IP addresses to my LAN) my BSD box picks up a valid > internal IP address and subnet mask, it can ping and be pinged from all > other computers on the LAN. > > However, when the input cable is connected to my modem, so it's connected > to the internet, my BSD box receives nothing. When I do an ifconfig, it > shows NO IP address and NO subnet mask. > > I tried "dhclient rl0" which didn't work, so I checked /var/log/messages > and was told "dhcp cannot bind to address; address already in use." I then > tried manually assigning an IP and subnet mask, which didn't work either. > > Getting FreeBSD online has been nothing but an ordeal, and I am about ready > to throw in the towel. If anyone has any ideas, I would be very grateful > indeed. > > Many thanks > > Colin I'm not sure it's a problem on the BSD box. Check the cable modem and switch documentation; and review your hardware setup. Make sure everything is connected properly. For example: I have a Linksys cable modem/router with a 4-port switch and dhcp server abilities. I can attach a switch to this unit to expand its capabilities; but to make it work: 1. the additional switch must be connected to a specific port; and 2. the first port on the Linksys unit must be left unused. Also, what IP range are you assigning via DHCP? I hope this helps, Andrew Gould