Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 13:22:17 -0800 (PST)
From:      R Joseph Wright <rjoseph@nwlink.com>
To:        Scott Johnson <tmtowtdi@mailandnews.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: dhcp configuration
Message-ID:  <Pine.BSF.4.21.0003161318530.539-100000@mammalia.sea>
In-Reply-To: <20000316030952.A3942@lovano.tmtowtdi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003161318530.539-100000>