Re: DHCP issue with comcast (FreeBSD router).

2004-03-09 Thread Gary W. Swearingen
"Richard Uhlman" <[EMAIL PROTECTED]> 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.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP issue with comcast (FreeBSD router).

2004-03-08 Thread Steve Ireland

- Original Message -
From: "Andrew Boothman" <[EMAIL PROTECTED]>
To: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Richard Uhlman"
<[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 20:25
Subject: Re: DHCP issue with comcast (FreeBSD router).


> Kevin D. Kinsey, DaleCo, S.P. wrote:
> > Richard Uhlman wrote:
> >
> >> Hello,
> >>
> >> 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.
> >> My issue is that my box will not receive an IP address from Comcast
when
> >> the dhclient starts.  I commented out all of the firewall commands
in my
> >> rc.conf file, but left the ifconfig_ep0="DHCP".  The machine is
running
> >> 2 NIC's and I have verified that the correct one has the cable
plugged
> >> into it.  I am running release 5.2.1.
> >
> > No expert answer, just more questions.
> > Maybe they'll help?
>
> Here's another possibility:
>
> My cable company (in the UK) requires customers to register the MAC
> (ethernet) address of your NIC before you're able to get an IP from
them
> using DHCP.
>
> Don't know if comcast is the same, but it's a possibility.
>
> Andrew
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

Hello,

I believe Andrew may be correct. The company I work for had a customer
using a Comcast business account that had to jump thru hoops to get
everything working properly. One of the things was, IIRC, registering
the MAC. I also remember Comcast insisted on firewalling the IP space
themselves. The customer had to call Comcast to open not only outbound
ports but _inbound_ ports, as well! Of course, Comcast charged a setup
fee for this "service" AND a monthly "maintenance" fee.

Hope this isn't the case for you,

Steve

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP issue with comcast (FreeBSD router).

2004-03-08 Thread Andrew Boothman
Kevin D. Kinsey, DaleCo, S.P. wrote:
Richard Uhlman wrote:

Hello,

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.
My issue is that my box will not receive an IP address from Comcast when
the dhclient starts.  I commented out all of the firewall commands in my
rc.conf file, but left the ifconfig_ep0="DHCP".  The machine is running
2 NIC's and I have verified that the correct one has the cable plugged
into it.  I am running release 5.2.1.
No expert answer, just more questions.
Maybe they'll help?
Here's another possibility:

My cable company (in the UK) requires customers to register the MAC 
(ethernet) address of your NIC before you're able to get an IP from them 
using DHCP.

Don't know if comcast is the same, but it's a possibility.

Andrew
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP issue with comcast (FreeBSD router).

2004-03-08 Thread Kevin D. Kinsey, DaleCo, S.P.
Richard Uhlman wrote:

Hello,

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.
My issue is that my box will not receive an IP address from Comcast when
the dhclient starts.  I commented out all of the firewall commands in my
rc.conf file, but left the ifconfig_ep0="DHCP".  The machine is running
2 NIC's and I have verified that the correct one has the cable plugged
into it.  I am running release 5.2.1.
 

No expert answer, just more questions.
Maybe they'll help?
What error messages can you find in
/var/log/messages and or /var/log/dmesg.boot?
What else (if anything) is in rc.conf?

Does ep0 show up in dmesg(8)?

What is the output of ifconfig(8)?

Can you assign an address with ifconfig(8)?

Have you tried dhclient(8)?  Maybe with
the -v switch, might give us some meaningful
error messages.
Grasping at straws, HTH,

Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"