From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 05:14:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EA75816A41C for ; Wed, 15 Jun 2005 05:14:34 +0000 (GMT) (envelope-from josepha48@yahoo.com) Received: from web41012.mail.yahoo.com (web41012.mail.yahoo.com [66.218.93.11]) by mx1.FreeBSD.org (Postfix) with SMTP id CF91243D1F for ; Wed, 15 Jun 2005 05:14:34 +0000 (GMT) (envelope-from josepha48@yahoo.com) Received: (qmail 84722 invoked by uid 60001); 15 Jun 2005 05:14:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UUdn4SFBUu4rjrmnPZfBqIGwmQM/iqMha3Uq+nXLFFJmE1kkwLmguGyymTMs4owsAaGPsTXBC20lWA0Y5iSvsz3cjI7m0FTn2MW40MxZ71nvI0HekO3RLyKE4xjUUaxjsGqL1JTy7sP2MfOCTGOkBOuqRWwmuzwp2vWOHLMxEDU= ; Message-ID: <20050615051434.84720.qmail@web41012.mail.yahoo.com> Received: from [69.3.234.17] by web41012.mail.yahoo.com via HTTP; Tue, 14 Jun 2005 22:14:34 PDT Date: Tue, 14 Jun 2005 22:14:34 -0700 (PDT) From: Joe To: Jarrod Martin In-Reply-To: <42AF8CAA.5030503@speakeasy.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Dmitry Mityugov Subject: Re: SMP and networking under FreeBSD 5.3 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: Wed, 15 Jun 2005 05:14:35 -0000 Hey thanks, it seems that ipfw complains during boot with a message: hostname ``or'' unknown which I have no idea where that is coming from yet, but will look. Then natd doesn't get started. If I run /etc/rc.d/ipfw start then the router is up and natd gets started. For now, I'll probably just add it to rc at the end. I think it has something to do with the order things get run. My firewall script is for a dhcp interface. Since I don't know the IP, I use ifconfig dc0 | grep -v inet6 | grep inet | awk ... to get the IP address for some of the rules. I'm wondering if this is failing and causing the message above. Is there a 'recommended' way to create a rule for ipfw on a dhcp interface using its IP address? Joe --- Jarrod Martin wrote: > Joe wrote: > > >Okay, I've figure it out. > > > >natd is not starting via rc.conf, or if it is, it dies. I > can > >start it manually, and it works okay. > > > >Also it seems that for some reason some of my ipfw rules > don't > >get set, so I have to rerun ipfw also to make things work. > > > >I'll just hack the rc scripts to get this machine up. > > > >Joe > > > >--- Dmitry Mityugov wrote: > > > > > > > rc_debug="YES" in rc.conf, then run 'dmesg -a | grep natd' and > see if > anything pops up. This should tell you everything that's goin > on with > natd at boot. > __________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/