From owner-freebsd-questions Mon Aug 10 17:42:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01145 for freebsd-questions-outgoing; Mon, 10 Aug 1998 17:42:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclops.xtra.co.nz (cyclops.xtra.co.nz [202.27.184.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01129 for ; Mon, 10 Aug 1998 17:42:11 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker (210-55-210-87.ipnets.xtra.co.nz [210.55.210.87]) by cyclops.xtra.co.nz (8.9.1/8.9.1) with SMTP id MAA10187; Tue, 11 Aug 1998 12:41:13 +1200 (NZST) Message-Id: <199808110041.MAA10187@cyclops.xtra.co.nz> From: "Dan Langille" Organization: DVL Software Limited To: Doug White Date: Tue, 11 Aug 1998 12:41:08 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: DHCP configuration (was "changes to file are lost") Reply-to: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG References: <199808072040.IAA05754@cyclops.xtra.co.nz> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > 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. -- Dan Langille DVL Software Limited http://www.dvl-software.com/freebsd : my [mis]adventures To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message