From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 10:42:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9872316A4CE for ; Tue, 9 Mar 2004 10:42:08 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B62B43D1F for ; Tue, 9 Mar 2004 10:42:08 -0800 (PST) (envelope-from underway@comcast.net) Received: from localhost.localdomain (c-24-17-47-224.client.comcast.net[24.17.47.224]) by comcast.net (rwcrmhc11) with ESMTP id <2004030918402001300dtegie>; Tue, 9 Mar 2004 18:40:20 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) i29IfLYJ047691; Tue, 9 Mar 2004 10:41:21 -0800 (PST) (envelope-from underway@comcast.net) Received: (from jojo@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id i29IfG2D047690; Tue, 9 Mar 2004 10:41:16 -0800 (PST) (envelope-from underway@comcast.net) To: "Richard Uhlman" References: <000a01c40542$57383ba0$50873c44@ruqj09femoiz14> From: underway@comcast.net (Gary W. Swearingen) Date: Tue, 09 Mar 2004 10:41:16 -0800 In-Reply-To: <000a01c40542$57383ba0$50873c44@ruqj09femoiz14> (Richard Uhlman's message of "Mon, 8 Mar 2004 14:19:55 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP issue with comcast (FreeBSD router). X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 18:42:08 -0000 "Richard Uhlman" writes: > I am new to using FreeBSD, and I am trying to use a FreeBSD box as a > firewall/router. I am trying to get the router working correctly first. I won't try to tell you how to fix your problem, but I'll tell you what works for me on COMCAST cable with FreeBSD. Maybe it'll give you some ideas. FIREWALL/BRIDGE: I got a junker 486/66 (16 or 20 MB) with no hard disk and put two ISA NICs in it. On my desktop FreeBSD, I read the "picobsd" manpage and built a picobsd firewall+bridge floppy and use it to boot the 486. The system goes between the cable modem and acts like a cable, with no IP config, etc. It shouldn't be real hard to make a router version, but the bridge version avoids problems with DHCP, NAT, etc. DESKTOP: On my desktop, I wrote a Python program hooked into a fvwm2 button to control and monitor my online status. It uses: ifcommand = "/sbin/ifconfig de0 " upcommand = "/sbin/dhclient de0" downcommand = ifcommand + "down delete; kill `cat /var/run/dhclient.pid`" I think I've conneted from a console using just: /sbin/dhclient de0 The only thing in my /etc/rc.conf is to turn on the desktop's firewall. You might review your kernel config. And list your current firewall settings (ipfw -show) to ensure it's OK. I did not not have to give my MAC to COMCAST, but they might or might not have locked in on the first one they found; I've never switched.