From owner-freebsd-questions Wed May 12 6:50:11 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 5BD7B15A79 for ; Wed, 12 May 1999 06:50:07 -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 OAA11176; Wed, 12 May 1999 14:45:41 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id PAA17056; Wed, 12 May 1999 15:45:01 +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 PAA02124; Wed, 12 May 1999 15:33:51 +0200 (MEST) Received: from telspace.alcatel.fr by telss1 (8.8.8+Sun/SMI-SVR4) id PAA06558; Wed, 12 May 1999 15:36:23 +0200 (MET DST) Message-ID: <3739852F.6B49FE26@telspace.alcatel.fr> Date: Wed, 12 May 1999 15:42:07 +0200 From: Thierry Herbelot Reply-To: thierry.herbelot@alcatel.fr Organization: Alcatel CIT Nanterre X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4m) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Amelin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP client configuration References: <8525676F.004870B4.00@leia.alpinecsi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, If you use 3.0-R, the dhcp clients are installed from the ports (or the packages). When I ran 3.0-R, I used to use the wide-dhcp client, which seems easier to configure than isc-dhcp client (both are accessible as packages). You may want to investigate both packages before choosing which you perfer (for wide-dhcp, you just have to add a line "dchpc -n -r " to /etc/rc.local - it must be similar with the isc client) For both packages, you will find man pages, it's usually a good help to setup the programs. TfH PS : just after you setup your DHCP client, you should upgrade FreeBSD with cvsup and "make world" (3.0-R is quite old, and the newer releases are much better : 3.2-R is due real soon now) Matthew Amelin wrote: > > sorry I did't tell you I am using 3.0 - release #0 > also in starting the > dhclient in /etc/rc.local . there is no refrence in the file > do i manually add the line(S)? > do you have any sample configurations? > I am still a bit confused? Please help > "I will NEVER give up!" > I set up FREEBSD as a server at my house and everything works great > But is different using DHCP and I am still unsure. > Thankyou for everything! > > ---------------------- Forwarded by Matthew Amelin on 05/12/99 09:12 AM > --------------------------- > > Thierry.Herbelot@alcatel.fr on 05/12/99 08:50:46 AM > > Please respond to thierry.herbelot@alcatel.fr > > To: Matthew Amelin > cc: freebsd-questions@FreeBSD.ORG > Subject: Re: DHCP client configuration (WAS : no subject) > > Hello, > DHCP will by itself configure the IP address, the subnet mask and the > default gateway of your Ethernet interface. > You MUST NOT set anything by hand via ifconfig (IP address / netmask), > as DHCP will set these by itself. > The configuration of a dhcp client is quite straightforward in recent > versions of FreeBSD : the main thing to do is to remember starting the > dhclient in /etc/rc.local > anyway, there are man pages (on a 3.1-Stable machine) : > pc-mcs1:/usr/home/herbelot (382) ->apropos dhcp > dhclient-script(8) - DHCP client network configuration script > dhclient.conf(5) - DHCP client configuration file > dhclient.leases(5) - DHCP client lease database > dhcp-options(5) - Dynamic Host Configuration Protocol options > pc-mcs1:/usr/home/herbelot (383) -> > TfH > > PS : for more comprehensive answers, you should give the version of your > OS (output of uname -a) and the list of peripheral of your machine (cat > /var/run/dmesg.boot is ok) > > Matthew Amelin wrote: > > > > I am tring to set up my laptop so I can browse the internet from work > > I put my default gateway in the defaultrouter "0.0.0.0" in my rc.conf > > and my nameserver in /etc/resolv.conf > > and when I try to ping my gate way I get > > /kernel : arpresolve: can't allocate llinfo for "mygatewayaddress" 14rt > > > > My company is using DHCP then what would be my inet address that I > specify > > for my nic card? > > > > please help > > is there somthing i am missing? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message