Date: Tue, 11 Aug 1998 12:41:08 +1200 From: "Dan Langille" <junkmale@xtra.co.nz> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP configuration (was "changes to file are lost") Message-ID: <199808110041.MAA10187@cyclops.xtra.co.nz> In-Reply-To: <Pine.BSF.4.00.9808101624470.29015-100000@resnet.uoregon.edu> References: <199808072040.IAA05754@cyclops.xtra.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808110041.MAA10187>