From owner-freebsd-questions Wed May 12 5:54: 4 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 2833115D20 for ; Wed, 12 May 1999 05:53:57 -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 NAA23330; Wed, 12 May 1999 13:49:30 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id OAA12554; Wed, 12 May 1999 14:48:51 +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 OAA20469; Wed, 12 May 1999 14:42:18 +0200 (MEST) Received: from telspace.alcatel.fr by telss1 (8.8.8+Sun/SMI-SVR4) id OAA04962; Wed, 12 May 1999 14:45:01 +0200 (MET DST) Message-ID: <37397926.8E8B2FD5@telspace.alcatel.fr> Date: Wed, 12 May 1999 14:50:46 +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 (WAS : no subject) References: <8525676F.004480BE.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, 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