From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 00:42:05 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 56AAB16A4BF for ; Fri, 12 Sep 2003 00:42:05 -0700 (PDT) Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id B69C543FF5 for ; Fri, 12 Sep 2003 00:42:03 -0700 (PDT) (envelope-from akruijff@kruij557.speed.planet.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp08.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HL300M6NBZZJM@smtp08.wxs.nl> for freebsd-questions@freebsd.org; Fri, 12 Sep 2003 09:40:48 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h8C1TJ02019333;akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h8C1TIEE019332; Fri, 12 Sep 2003 03:29:18 +0200 (CEST envelope-from akruijff) Date: Fri, 12 Sep 2003 03:29:18 +0200 From: Alex de Kruijff In-reply-to: To: Colin Ryan Message-id: <20030912012918.GG31532@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: cc: freebsd-questions@freebsd.org 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: Fri, 12 Sep 2003 07:42:05 -0000 On Thu, Sep 11, 2003 at 02:32:19PM +0100, 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. A ASCII image of how you network (needs to) looks would be helpfull. Is this the situation?: > 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. So your modum is also a router? And this is the way your lan is made: FreeBSD 5.1 (private IP) <----\ +--> (private IP) Modum (public IP) Windows 1 & 2 (private IP) <--/ > 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. What did you do exacly? > 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. For now I sould stick with static IP adresses. You are ready to change this to dynamic IP adresses You could try and find other that have the same provider and modum and see if they have a solution. You could do this by finding a local FreeBSD group and ask questions there. You could use the FreeBSD website as a starting point for this. It may also be polible that a solution is already written out in a artile or a use net posing. Google can assist you in finding these. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/