From owner-freebsd-stable Sun Aug 4 21:38:10 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 36D3737B401 for ; Sun, 4 Aug 2002 21:38:05 -0700 (PDT) Received: from pcp01841287pcs.owngsm01.md.comcast.net (pcp01840491pcs.owngsm01.md.comcast.net [68.32.120.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78FFD43E4A for ; Sun, 4 Aug 2002 21:38:01 -0700 (PDT) (envelope-from root@pcp01841287pcs.owngsm01.md.comcast.net) Received: from pcp01841287pcs.owngsm01.md.comcast.net (smmsp@localhost.pcp01841287pcs.owngsm01.md.comcast.net [127.0.0.1]) by pcp01841287pcs.owngsm01.md.comcast.net (8.12.3/8.12.3) with ESMTP id g754c0iT005925 for ; Mon, 5 Aug 2002 00:38:00 -0400 (EDT) (envelope-from root@pcp01841287pcs.owngsm01.md.comcast.net) Received: (from root@localhost) by pcp01841287pcs.owngsm01.md.comcast.net (8.12.3/8.12.3/Submit) id g754c08g005924 for freebsd-stable@freebsd.org; Mon, 5 Aug 2002 00:38:00 -0400 (EDT) Date: Mon, 5 Aug 2002 00:38:00 -0400 (EDT) From: Charlie Root Message-Id: <200208050438.g754c08g005924@pcp01841287pcs.owngsm01.md.comcast.net> To: undisclosed-recipients: ; 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