From owner-freebsd-hackers Sun Aug 4 2:55: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A54FD37B400 for ; Sun, 4 Aug 2002 02:55:01 -0700 (PDT) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B5D43E65 for ; Sun, 4 Aug 2002 02:55:00 -0700 (PDT) (envelope-from scott.mitchell@mail.com) Received: from fishballoon.dyndns.org ([80.4.0.215]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020804095459.GDZM16050.mta01-svc.ntlworld.com@fishballoon.dyndns.org>; Sun, 4 Aug 2002 10:54:59 +0100 Received: from tuatara.goatsucker.org (tuatara [192.168.1.6]) by fishballoon.dyndns.org (8.12.3/8.12.3) with ESMTP id g749sw99088318; Sun, 4 Aug 2002 10:54:58 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.12.3/8.12.3/Submit) id g749su2Q010725; Sun, 4 Aug 2002 10:54:56 +0100 (BST) (envelope-from scott) Date: Sun, 4 Aug 2002 10:54:56 +0100 From: Scott Mitchell To: Julian Elischer Cc: Clifton Royston , Bri , hackers@FreeBSD.ORG, Terry Lambert Subject: Re: dhcp problems with my ISP Message-ID: <20020804105456.B340@fishballoon.dyndns.org> References: <20020803104230.B27467@lava.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Sat, Aug 03, 2002 at 05:39:19PM -0700 X-Operating-System: FreeBSD 4.6-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 03, 2002 at 05:39:19PM -0700, Julian Elischer wrote: > sometimes it's the cable modem that is cachingthe MAC address. > > whenever you change machines you need to power down and power up the cable > modem. > It might also be worth trying this: - Note when your current DHCP lease is set to expire (ipconfig /all or winipcfg on various versions of Windows, grovel through /var/db/dhcient.leases on FreeBSD). - If possible, manually release the lease (ipconfig /release or the appropriate button on winipcfg will do this on Windows, killing dhclient may be as close as you can get on a FreeBSD box). - Power off the cable modem and gateway box. - Wait for the lease expiry time to pass. Use the downtime to set up your network the way you want it, with the FreeBSD machine connected to the CM. - Once the lease expiry time has come and gone, power up the CM and (new) gateway box. With a bit of luck dhclient will be able to get a lease. This definitely works with my cable provider (ntl) but will obviously fail if your provider caches MAC addresses more persistently. Probably still easier to just swap the NICs, or call them up and say "My NIC broke. Here's the MAC address of the one I'll be using from now on". When they ask what OS you're using, say "Windows". :-) Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message