Date: Wed, 23 Jun 1999 09:35:25 +0200 From: Thierry Herbelot <Thierry.Herbelot@alcatel.fr> To: Geoff Jukema <gjukema@silk.net> Cc: Korvus <korvus@tasam.com>, freebsd-questions@FreeBSD.ORG Subject: Re: dhcpc & natd Message-ID: <37708E3D.443D19E4@telspace.alcatel.fr> References: <3.0.5.32.19990622142231.007ca300@silk.net> <00b001bebd0c$5515c5a0$5a31fea9@korvus> <3770578C.8AE75FDC@silk.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <thierry.herbelot@alcatel.fr> (+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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37708E3D.443D19E4>