From owner-freebsd-stable Sun Aug 4 22:53:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C54D37B400; Sun, 4 Aug 2002 22:53:42 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80CF643E6E; Sun, 4 Aug 2002 22:53:41 -0700 (PDT) (envelope-from vbrammer@comcast.net) Received: from vb (pcp01840491pcs.owngsm01.md.comcast.net [68.32.120.160]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0H0C00JAUQCPUH@mtaout03.icomcast.net>; Sun, 04 Aug 2002 23:43:37 -0400 (EDT) Date: Sun, 04 Aug 2002 23:45:55 -0400 From: VBrammer Subject: Re: dhcp problems with my ISP To: freebsd-stable@freebsd.org Cc: Bri , freebsd-hackers@freebsd.org Message-id: <000501c23c32$9aa919c0$7e00a8c0@freebsd.bogus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Mailer: Microsoft Outlook Express 5.00.2615.200 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: "Your message of Sat, 03 Aug 2002 03:17:17 PDT." <3D4BADAC.481BB6E3@mindspring.com> <200208050245.g752jRl05024@kpt-c-24-158-106-133.chartertn.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Eric Olsen To: Kevin Oberman ; Terry Lambert Cc: Bri ; ; Sent: Sunday, August 04, 2002 10:45 PM Subject: Re: dhcp problems with my ISP > On 4 Aug 2002 at 18:12, Kevin Oberman wrote: > > > > Date: Sat, 03 Aug 2002 03:17:17 -0700 > > > From: Terry Lambert > > > Sender: owner-freebsd-stable@FreeBSD.ORG > > > > > > Bri wrote: > > > > Hi I have a Cable and have a Cable Modem for my internet connection > > > > of which you use dhcp to obtain an IP address great but this only > > > > seems to work successfully on a Windows machine I've registered all > > > > the other mac addresses of unix boxes and Apple macs I have and they > > > > seem to have alot of difficulty obtaining IP addresses. Especially > > > > the UNIX machines which run FreeBSD 4.5-RELEASE or 5.0-CURRENT on > > > > sparc64 at the moment the sparc64 box which is a Sun Ultra 5 which > > > > is the worst for detecting an IP with dhclient. > > > > > > > > What I would really like to know is what does the windows dhcp do > > > > differently than say dhclient. > > > > > > > > I would be very interested to know as I would like a UNIX machine > > > > that can maintain and IP address. > > > > > > Use the same exact NIC. > > > > > > Often, once the cable company sees a MAC address, it filters all > > > other MAC addresses from getting a lease from your wire. > > > > > > The intent of this is to prevent people grabbing more than one > > > lease simultaneously, or running more than one machine at a time. > > > > > > Ask Julian Elisher. He had exactly this problem with a machine > > > in San Francisco, 2 years ago. > > > > > > Note: If you ask, he will say "Yes, I had exactly this problem"; > > > he won't tell you anything you can do about it, except "Use the > > > same exact NIC", because that's really the only fix. > > > > I have found that the problem is fixed by re-starting the cable modem > > when a different NIC is inserted. The problem was not with DHCP, but > > with the cable modem's forwarding table. > > > > My experience was with the old Motorola CyberSurfer modem used by > > @Home in its early days. Not sure that this applies to other or newer > > cable modems. > > > Sometimes the only way is to have the new machine spoof the MAC address of the old > machine's NIC. > > ifconfig dc0 ether 00:01:02:03:04:05 > > but you gotta be careful not to end up with two machines with the same MAC address > hanging around.. > > Eric Hi there, Im running Comcast Cable , using the SurfBoard cable modem that Comcast provided. This used to be @Home. I swapped the cable modem between the 2 nics in my 4-6 stable machine many times. I beleive it has already been mentioned, but the only way , and easiest way, is to remove the dhclient lease file unplug the cable modem power source unplug the cable from the modem config the nics and firewall as you intend to hook them up shutdown -r (power off) the bsd machine plug the cable back into the modem plug the power source back into the modem wait until the modem is online boot up the bsd machine one of my nics acts as a dhclient, the other acts as a dhcp server. hope this helps Vince > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message