From owner-freebsd-questions Wed Aug 12 00:30:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09258 for freebsd-questions-outgoing; Wed, 12 Aug 1998 00:30:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09249 for ; Wed, 12 Aug 1998 00:30:12 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id AAA09809; Wed, 12 Aug 1998 00:29:44 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 12 Aug 1998 00:29:43 -0700 (PDT) From: Doug White To: Dan Langille cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP configuration (was "changes to file are lost") In-Reply-To: <199808110041.MAA10187@cyclops.xtra.co.nz> 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 Tue, 11 Aug 1998, Dan Langille wrote: > On 10 Aug 98, at 16:26, Doug White wrote: > > > > This is interesting. I have ed0 (outside world) and ed1 (my subnet) on > > > this box. If I issue "dhclient ed0", ed1 is also reconfigured and I > > > must issue "ifconfig ed1 10.0.0.5 255.255.255.0" before comms work again > > > . This appears to conflict with the man pages on dhclient. Any ideas? > > > > If ed1 ever obtained a DHCP lease, the system may try to re-acquire it. > > Try quitting dhclient and removing /var/db/dhclient.leases. > > I did this. But no difference. When I invoke "dhclient ed0", then do a > "ifconfig -a", ed0 is as expected, but ed1 shows "inet 0.0.0.0 netmast > 0xff00000000". I then must configure ed1 manually. Bummer. I'd like to > know if this is expected behaviour or if I'm to blame. It shouldn't, IMHO. Pester ISC about it. > > > I have only ed1 and ed0. No 3Com cards in this box. OK. I give up. > > > Perhaps dhclient didn't find ep0 but found ed0, so it configured that. > > > > I think my ep0 should have been ed0, a typo crept in somewhere. > > No, I don't think so. The dhclient.conf file contains a reference to ep0 > which I did not change after installing DHCP. Why it worked, I don't > know. I definitely don't have a 3Com nic here. I was curious as to why > DHCP was working with an incorrect device as the manual says that it won't > interrogate if a device is specified on the command line. odd... Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message