From owner-freebsd-questions Wed Dec 23 13:19:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09637 for freebsd-questions-outgoing; Wed, 23 Dec 1998 13:19:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from samizdat.uucom.com (samizdat.uucom.com [198.202.217.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA09625 for ; Wed, 23 Dec 1998 13:19:10 -0800 (PST) (envelope-from cshenton@uucom.com) Received: (from cshenton@localhost) by samizdat.uucom.com (8.9.1/8.9.0) id QAA09498; Wed, 23 Dec 1998 16:12:07 -0500 To: "Jeff Vehrs" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Get dynamic IP address from DHCP server on the net? References: <862566E3.006FE977.00@l98ong6.hewitt.com> From: Chris Shenton Date: 23 Dec 1998 16:12:07 -0500 In-Reply-To: "Jeff Vehrs"'s message of Wed, 23 Dec 1998 14:33:02 -0600 Message-ID: <86pv9ay34o.fsf@samizdat.uucom.com> Lines: 24 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Jeff Vehrs" writes: > Hi - I'd like to know how can I "tell" my fbsd box to get a dynamic IP > address from the DHCP server on the net? I've already installed > wide-dhcp-1.4.0p1 from the package stable. I've added "pseudo-device > bpfilter 4" to the kernel and created /dev/bpf[0-3]. Then, I added 3 IP > addresses of DHCP server in /etc/resolv.conf ==> xx.xx.xx.xx. Should I > added "nameserver" to ip address? Perhaps I misunderstand what you want to do. Do you want to boot the freebsd box and have it acquire it's IP and such from a DHCP server somewhere else on the LAN? If so, I do this on my laptop with the "isc-dhcp2" port using the "dhclient" program. At home I have a DHCP server (also running on FreeBSD :-) and the offices I usually work at have servers (not on FreeBSD, unfortunately). It's been a while since I used the WIDE software but I expect it has a client too. The external DHCP server should provide your FreeBSD client with its IP, default router, DNS domain and server address so you should have to do this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message