From owner-freebsd-questions Thu Jun 25 09:08:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA02696 for freebsd-questions-outgoing; Thu, 25 Jun 1998 09:08:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from server6.singular.com (server6.singular.com [204.140.208.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02689 for ; Thu, 25 Jun 1998 09:08:18 -0700 (PDT) (envelope-from jbarbee@singular.com) Received: from singular.com ([204.140.208.136]) by server6.singular.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-42397U400L100S0) with ESMTP id AAA374 for ; Thu, 25 Jun 1998 09:09:48 -0700 Message-ID: <3592767A.C8A996D3@singular.com> Date: Thu, 25 Jun 1998 09:10:34 -0700 From: John Organization: Singular Solutions X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Resolved: llinfo... source of many problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > On Tue, 23 Jun 1998, John wrote: > > > Originally, within /etc/rc, I placed the call to the dhcp client before > > all the other network stuff was set up. This time I removed de0 from > > rc.conf and placed the dhcp client after all the other network stuff was > > done. Now apache responds right away and I don't get the llinfo error > > anymore. This seems more like a bandage than a solution. > > IOt's correct .. if you read the dhclinet docs you're not supposed to > configure the ethernet interface beforehand. > should've read it, sorry > > Now, route complains that network is unreachable since de0 hasn't been > > configured yet. In fact, default router and other settings probably > > don't happen until the dhcp client sets them up. All indications show > > that route is failing to set the routes. > > Make sure you're running that route add after the dhclient run completes. > I thought dhclient runds the `route add default xx' automatically. > it does. which is probably why netstat shows the correct information. the network unreachable error happens when rc tried to route add default, which is before dhclient configures de0. that why i say that dhclient doesn't really blend too well with rc. > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message