From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 15:44:19 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 8B5D816A412 for ; Tue, 16 Jan 2007 15:44:19 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 66E2413C467 for ; Tue, 16 Jan 2007 15:44:17 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id BFB6251984 for ; Tue, 16 Jan 2007 10:44:15 -0500 (EST) Date: Tue, 16 Jan 2007 15:44:13 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070116154413.3c5d59c1@gumby.homeunix.com> In-Reply-To: <45AC719A.1020809@bobmc.net> References: <45AC719A.1020809@bobmc.net> X-Mailer: Claws Mail 2.7.0 (GTK+ 2.10.7; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD challenged by Internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 15:44:19 -0000 On Tue, 16 Jan 2007 01:32:58 -0500 Bob McIsaac wrote: > Hi: > > This is not exactly a question rather it is wrapup for a > series of questions. I had a tricky, confusing problem > getting FreeBSD on the net but I was able to solve it > with help from this list.. Ian Smith in particular. > > The DHCP lease from my ISP set the nameserver > address as being 192.168.1.254, the IP of some box > which connects me to to net. Correct me if wrong, > but whois would not reveal a nameserver IP in this > form for a net host. > > Linux accepted this but FreeBSD-6.1 had 10 second > delays in TCP connects for mail and web pages. > This does not imply a problem with BSD. It > probably implies that Linux is more tolerant of > loosely configured web services. But in the > world of security it's "casual configuration > considered harmful". No, you have misunderstood the problem. 192.168.1.254 is presumably the address of your NAT router. It's using its own DHCP server to give you its own address as a nameserver because it's running a DNS proxy. My D-Link ADSL-router has a similar problem, its DNS proxy was very unreliable with FreeBSD, much worse than 10 second delays, many lookups didn't resolve at all. Disabling IPv6 did help speed things up, but didn't cure the problem entirely. > I spent many hours reading and testing before > hitting on a solution in dhclient.conf. If you have a fixed location (i.e. it's not a laptop that connects elsewhere), it's probably better and easier to avoid DHCP altogether, since you are not getting any dynamic configuration from it. I setup my desktop PC like this: ifconfig_vr0="inet 192.168.1.201 netmask 255.255.255.0" this gives me a fixed private ip address, instead of one that depends on what else is plugged into the router. The address is reserved in the router.