Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2004 10:41:16 -0800
From:      underway@comcast.net (Gary W. Swearingen)
To:        "Richard Uhlman" <ruhlman@comcast.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DHCP issue with comcast (FreeBSD router).
Message-ID:  <n5brn5hnhv.rn5@mail.comcast.net>
In-Reply-To: <000a01c40542$57383ba0$50873c44@ruqj09femoiz14> (Richard Uhlman's message of "Mon, 8 Mar 2004 14:19:55 -0500")
References:  <000a01c40542$57383ba0$50873c44@ruqj09femoiz14>

next in thread | previous in thread | raw e-mail | index | archive | help
"Richard Uhlman" <ruhlman@comcast.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n5brn5hnhv.rn5>