From owner-freebsd-hackers Sat Aug 3 15:23:15 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 ECA1E37B400; Sat, 3 Aug 2002 15:23:09 -0700 (PDT) Received: from mail.elfin.net (mail.elfin.net [206.147.212.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E354C43E3B; Sat, 3 Aug 2002 15:23:08 -0700 (PDT) (envelope-from roskens@colltech.com) Received: from hysteria.elfin.net (hysteria.elfin.net [10.1.1.42]) by mail.elfin.net (8.12.3/Reality/1.4) with ESMTP id g73MN7Cr002523 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 3 Aug 2002 17:23:07 -0500 (CDT) Date: Sat, 3 Aug 2002 17:23:07 -0500 (CDT) From: Ron Roskens X-X-Sender: roskens@hysteria.elfin.net To: Terry Lambert Cc: Bri , , Subject: Re: dhcp problems with my ISP In-Reply-To: <3D4BADAC.481BB6E3@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 There could be another explanation. I had this problem with a NetBSD machine running dhclient connecting to ATTBI. By default dhclient uses a hard-coded value of 16 for the TTL on UDP packets. ATTBI had upgraded their network, and the DHCP server was further away such that dhclient would never get a response. modify src/contrib/isc-dhcp/common/packet.c and increase the value of ip.ip_ttl to 64 in assemble_udp_ip_header(). Ron On Sat, 3 Aug 2002, Terry Lambert wrote: > Date: Sat, 03 Aug 2002 03:17:17 -0700 > From: Terry Lambert > To: Bri > Cc: freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG > Subject: Re: dhcp problems with my ISP > > 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. > > -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message