From owner-freebsd-questions Wed Jun 23 0:37:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id 5A0FC14D01 for ; Wed, 23 Jun 1999 00:37:37 -0700 (PDT) (envelope-from Thierry.Herbelot@alcatel.fr) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id IAA27218; Wed, 23 Jun 1999 08:34:18 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id JAA09805; Wed, 23 Jun 1999 09:31:48 +0200 (MET DST) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with ESMTP id JAA17132; Wed, 23 Jun 1999 09:23:59 +0200 (MEST) Received: from telspace.alcatel.fr by telss1 (8.8.8+Sun/SMI-SVR4) id JAA06949; Wed, 23 Jun 1999 09:29:45 +0200 (MET DST) Message-ID: <37708E3D.443D19E4@telspace.alcatel.fr> Date: Wed, 23 Jun 1999 09:35:25 +0200 From: Thierry Herbelot Reply-To: thierry.herbelot@alcatel.fr Organization: Alcatel CIT Nanterre X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.5.1 sun4m) X-Accept-Language: en MIME-Version: 1.0 To: Geoff Jukema Cc: Korvus , freebsd-questions@FreeBSD.ORG Subject: Re: dhcpc & natd References: <3.0.5.32.19990622142231.007ca300@silk.net> <00b001bebd0c$5515c5a0$5a31fea9@korvus> <3770578C.8AE75FDC@silk.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I'm running dhcp and natd on my home machine and I don't have problems. natd is started via rc.network IIRC and I start dhcp in rc.local (which must be run later ?). I do have error messages at boot up : "natd : no route to host" but everything works ok later. This is on a recent 3.2-S with the "standard" isc-dhcp client (included in the base distrib) - I'm still having some minor troubles when the dhcp server changes my subnet (xx.yy.18.zz to xx.yy.21.tt) : the route for the previous network do not get erased. TfH Geoff Jukema wrote: > > Korvus wrote: > > > > did you try starting natd from rc.local? > I thought rc.local was replaced by rc.conf since 2.2.5? I have found > out more though; it could be a timing issue. If I create a script with > just two lines in it like so: > > /usr/sbin/dhcpc ed1 > natd -dynamic -interface ed1 > > Then run that script after bootup, the same problem persists. natd > reports that ed1 is not configured. But, if at the command line I run > the dhcpc command, then wait for its reply, run the natd command, > everything is fine. I probably should have mensioned it in the first > message, but I'm running wide-dhcpc. > > Geoff > > > ----- Original Message ----- > > > > > I have 3.1 installed as a gateway running dhcpc. It all works great, > > > except for when attempting to run natd during bootup. The problem seems > > > that DHCPC needs to run before natd, but when putting the entries in the > > > rc.conf file, natd is run first. The message I get is always ed1 not > --snip-- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Thierry Herbelot (+33) 1 46 52 47 23 http://perso.cybercable.fr/herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message