From owner-freebsd-questions Sun Mar 31 15:56: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id DF00337B419 for ; Sun, 31 Mar 2002 15:56:00 -0800 (PST) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020331235559.UVTW278.mta01-svc.ntlworld.com@lungfish.ntlworld.com>; Mon, 1 Apr 2002 00:55:59 +0100 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.3) with ESMTP id g2VNtwj41630; Mon, 1 Apr 2002 00:55:58 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g2VNtwg01489; Mon, 1 Apr 2002 00:55:58 +0100 (BST) (envelope-from scott) Date: Mon, 1 Apr 2002 00:55:58 +0100 From: Scott Mitchell To: Simon H Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NTL Cable Modem and DHCP Message-ID: <20020401005558.A283@fishballoon.dyndns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from simon.hamilton@ntlworld.com on Sun, Mar 31, 2002 at 06:45:09PM +0100 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 06:45:09PM +0100, Simon H wrote: > I have rebooted the Cable modem to ensure that it works with the MAC > address, but when I reboot FreeBSD it doesn't get the DHCP details from my > ISP. Have you had the modem working on a different MAC? If you have, you'll probably need to let any DHCP leases to that MAC expire before NTL's DHCP servers will talk to the new MAC. This seems to be necessary even if you've correctly released the old lease and rebooted the modem. No, I don't know why they have it configured that way either. Just NTL for you :-( In your /etc/rc.conf you want: hostname="whatever.name.you.like" ifconfig_="inet 10.0.0.10" ifconfig_="DHCP" where and are the names of the internal and external Ethernet interfaces, respectively. It might help if 10.0.0.10 is mapped (in /etc/hosts, or a local DNS server) to your chosen hostname, but that's not essential. /etc/dhclient.conf can be empty, unless you're running an internal DNS server, in which case you might want to use: interface "" { supersede domain-name-servers 127.0.0.1; } and have your local server forward queries to NTL's servers. Probably best to set that up once you have the basic setup working, though. The default (empty) setup should put the right DNS server addresses in /etc/resolv.conf for you. Do you have a firewall running (compiled into the kernel or loaded from a module)? You might accidentally be blocking DHCP traffic on the outside interface. I'd recommend setting firewall_type="open" until you know everything is working, then moving to a more restrictive set of rules. Take a look at: http://homepage.ntlworld.com/robin.d.h.walker/cmtips.html to find out what traffic you need to let through the firewall. I'm happy to send you the relevant bits of my firewall ruleset once you have things working. HTH, 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-questions" in the body of the message