From owner-freebsd-questions Thu Mar 16 13:28:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id 6250637BCDA for ; Thu, 16 Mar 2000 13:28:15 -0800 (PST) (envelope-from rjoseph@nwlink.com) Received: from ip213.r8.d.bel.nwlink.com (ip213.r8.d.bel.nwlink.com [207.202.173.213]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id NAA24654; Thu, 16 Mar 2000 13:28:10 -0800 (PST) Date: Thu, 16 Mar 2000 13:22:17 -0800 (PST) From: R Joseph Wright X-Sender: rjoseph@mammalia.sea To: Scott Johnson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhcp configuration In-Reply-To: <20000316030952.A3942@lovano.tmtowtdi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Mar 2000, Scott Johnson wrote: > On Wed, Mar 15, 2000 at 11:57:02PM -0800, R Joseph Wright wrote: > > When connecting via ethernet to an ISP using dhcp with the > > /stand/sysinstall menu, what IP address do I give to ed0? Or do I just > > leave that blank since I will have an IP address dynamically assigned? > > > > Try just putting "DCHP" there. Sysinstall puts your non-default config > data in /etc/rc.conf. The ifconfig_{interface} line is used by rc.network > to set up the interface. It checks for that string, and if it's present > sets up the dhcp client. > This doesn't work. It won't let me leave the menu without first entering an IP address. So, I read the man page on dhclient. This is what happens when I run dhclient: Script started on Thu Mar 16 13:11:17 2000 Listening on BPF/ed0/00:00:c0:cd:f0:c8 Sending on BPF/ed0/00:00:c0:cd:f0:c8 Sending on Socket/fallback/fallback-net DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 20 DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on ed0 to 255.255.255.255 port 67 interval 3 No DHCPOFFERS received. No working leases in persistent database - sleeping. Here's what ifconfig -a shows for ed0: ed0: flags=8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:00:c0:cd:f0:c8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message