From owner-freebsd-questions Mon Mar 2 10:48:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20514 for freebsd-questions-outgoing; Mon, 2 Mar 1998 10:48:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from arh0300.urh.uiuc.edu (arh0300.urh.uiuc.edu [130.126.72.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20499 for ; Mon, 2 Mar 1998 10:48:41 -0800 (PST) (envelope-from dannyman@arh0300.urh.uiuc.edu) Received: (from dannyman@localhost) by arh0300.urh.uiuc.edu (8.8.8/8.8.5) id MAA12685; Mon, 2 Mar 1998 12:48:39 -0600 (CST) Message-ID: <19980302124839.63000@urh.uiuc.edu> Date: Mon, 2 Mar 1998 12:48:39 -0600 From: dannyman To: Steven S Shapiro , freebsd-questions@FreeBSD.ORG Cc: dannyman Subject: Re: DHCP Support in FreeBSD? References: <199803021629.LAA19799@m1-142-3.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199803021629.LAA19799@m1-142-3.MIT.EDU>; from Steven S Shapiro on Mon, Mar 02, 1998 at 11:29:51AM -0500 X-Loop: djhoward@uiuc.edu X-URL: http://www.uiuc.edu/ph/www/djhoward/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 02, 1998 at 11:29:51AM -0500, Steven S Shapiro wrote: > Hi, I am currently running a FreeBSD server. However, I'm supplying > the server's network configuration with static IP addresses and such > that change (since the ISP uses DHCP). I was wondering if FreeBSD has > DHCP support or how I can deal with this? Thanks for your help. check out /usr/ports/net and get a dhcp client installed. test that client out. then, create an /etc/start_if.if-name with the right command. my /etc/start_if.ed1; #!/bin/sh #dhcpc -n ed1 #ifconfig ed1 inet 130.126.72.10 netmask 0xffffff00 #route add default 130.126.72.1 dhclient ed1 note: dhcpc and dhclient are both two different dhcp clients. the ifconfig/route add is for static configuration. i'll try to compile this in to a little FAQ later. don't forget to get a kernel with; pseudo-device bpfilter 4 #Berkeley packet filter (DHCP DEPEND) dan -- //Dan -=- This message brought to you by djhoward@uiuc.edu -=- \\/yori -=- Information - http://www.uiuc.edu/ph/www/djhoward/ -=- aiokomete -=- Our Honored Symbol deserves an Honorable Retirement To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message