Date: Wed, 12 May 1999 14:50:46 +0200 From: Thierry Herbelot <Thierry.Herbelot@alcatel.fr> To: Matthew Amelin <Matthew_Amelin@alpinecsi.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP client configuration (WAS : no subject) Message-ID: <37397926.8E8B2FD5@telspace.alcatel.fr> References: <8525676F.004480BE.00@leia.alpinecsi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37397926.8E8B2FD5>