Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 22:35:09 +0200
From:      Axel Scheepers <axel@axel.truedestiny.net>
To:        Anthony Carmody <carmoda@interfaceergonomics.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DHCP client on 4.4
Message-ID:  <20020425223509.F24392@mars.thuis>
In-Reply-To: <00f701c1eb1e$d7fbbc70$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Wed, Apr 24, 2002 at 09:30:20AM %2B1000
References:  <00f701c1eb1e$d7fbbc70$6700a8c0@interfa.fortune>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 24, 2002 at 09:30:20AM +1000, Anthony Carmody wrote:
> Hi,
> 
> I am running a DHCP server on my network. It has my FreeBSD box in question
> listed in the static address list. Should I now configure the FreeBSD
> machine to be a DHCP client or hard code the IP?
 
Hi,

If you've done something like 
host hostname {
	hardware ethernet 00:01:0a:12:13:33;
	fixed-address 192.168.0.10;
}
in your dhcpd.conf, you can leave the FreeBSD box at it's DHCP settings, e.g.
ifconfig_ed1="DHCP" in your /etc/rc.conf, it query the dhcpd server and it
will give back the information (you can check it with tcpdump if you like, look
for a line like A:192.168.0.10, G:your.gateway.address ...)

> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Gr,
-- 
Axel Scheepers
UNIX System Administrator

email: axel@axel.truedestiny.net
       a.scheepers@iae.nl
http://axel.truedestiny.net/~axel
------------------------------------------
Kiss me twice.  I'm schizophrenic.
------------------------------------------

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?20020425223509.F24392>