From owner-freebsd-stable Sat Aug 3 17: 1:16 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 7BEAD37B400; Sat, 3 Aug 2002 17:01:08 -0700 (PDT) Received: from CRWdog.demon.co.uk (p69-199.acedsl.com [66.114.69.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86E5043E70; Sat, 3 Aug 2002 17:01:04 -0700 (PDT) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id BA7AB43; Sat, 3 Aug 2002 20:00:57 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Bri" Cc: freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: dhcp problems with my ISP In-Reply-To: Message from "Bri" of "Sat, 03 Aug 2002 11:12:12 BST." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1265239676P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 03 Aug 2002 20:00:57 -0400 From: Andy Sparrow Message-Id: <20020804000057.BA7AB43@CRWdog.demon.co.uk> 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 --==_Exmh_-1265239676P Content-Type: text/plain; charset=us-ascii > 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. On that hardware, you may be experiencing issues with auto-negotiation on the "Happy Meal" ethernet. Try nailing it to a fixed port speed, this may help. Or not. My Ultra-1 Just Will Not Work with some network devices, it is perfectly happy with others. Link link is not a reliable indicator. Sad but true. > What I would really like to know is what does the windows dhcp do > differently than say dhclient. Not much - most of what it does differently is due to the different ways in which you can interpret the protocol spec. However, note that almost all 'Doze DHCP clients behave differently to each other. Heh. See the RFC's for details, I think 2143 is the main one. "The DHCP Handbook" is well worth the money too. The ISC DHCP lists are searchable, and are frequently invaluable. > I would be very interested to know as I would like a UNIX machine that can > maintain and IP address. I've used my FreeBSD laptop with DHCP on many, many different networks, running ISC v2, many flavours of v3, M$ DHCP server, Lucent QIP to name a few over the last ~3 years, and I've never seen any issues with any of them where the server itself was functional (and I'd remembered to appropriately set the local firewall ;-). It maintains an IP just fine, except on networks where they have address churn on the DHCP server (usually due to lack of IPs in the pool). Try plugging a hub between the modem and the external interface of the firewall and sniff the DHCP exchanges on another machine (you don't need an IP address to sniff packets) - this may not show the whole picture, in particular it won't show what's being sent out the WAN end of the modem, but it's a start. If the DHCPNAK/DHCPACK packets aren't getting to the client (or bootp, DHCPREQ, DHCPINFORM etc. to the server), it can't ever work. If the server responds to a bootp/DHCP packet from the client, it's a reasonable assumption that it's seeing at least part of the traffic generated. Power cycle the modem, plug in the 'Doze box, repeat. Cheers, AS --==_Exmh_-1265239676P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9TG65PHh895bDXeQRAkzAAJ9H87L3HM56U0SlmMf+yBMKpdHDlQCfZJC1 wzUFWDA4B2HsgH5QiEw26n4= =gvPN -----END PGP SIGNATURE----- --==_Exmh_-1265239676P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message