From owner-freebsd-questions Thu Jul 8 3:19:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta1-rme.xtra.co.nz (unknown [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id DB8C814E30 for ; Thu, 8 Jul 1999 03:19:42 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.152.24]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990708102309.QTKW536080.mta1-rme@wocker> for ; Thu, 8 Jul 1999 22:23:09 +1200 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@freebsd.org Date: Thu, 8 Jul 1999 22:19:41 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: IP address lost on ed1 Reply-To: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990708102309.QTKW536080.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The problem has been solved, but now I'm just curious. Tonight I was playing around with my gateway. Which has a DHCP connection to my ISP. I made some changes to /etc/dhclient.conf, but with each new lease, it appeared as if the changes were being ignored. So I decided to kill DHCP. But a kill -QUIT pid. Then I restarted it with "/usr/local/dhclient ed0". Things went well for a bit. Then all comms to my gateway stopped. Some checking found that ifconfig -ed1 showed an ip address of 0.0.0.0 and restoring the correct ip address fixed the problem. Would this be expected? I *seem* to recall a problem with dhcp and modifications to other interfaces. Anyone else remember? I don't know what version of dhcp I have installed and I don't know how to find out. /var/db/pkg gives conflicting results. It contains isc- dhcp2.b1.6 but I doubt I have that installed because the file sizes/dates differ: # which dhclient /sbin/dhclient # ls -lt /sbin/dhclient -r-xr-xr-x 1 root wheel 205808 Feb 28 09:36 /sbin/dhclient ls -l /usr/ports/net/isc-dhcp2/work/dhcp-2.0b1pl6/client/dhclient -rwxr-xr-x 1 root 10 501600 Aug 22 1998 /usr/ports/net/isc- dhcp2/work/dhcp-2.0b1pl6/client/dhclient -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message