Help setup home network when gateways, ip asigned by DHCP
Mike Maltese
mike at pcmedx.com
Thu Aug 21 18:57:15 PDT 2003
You may want to try IP Filter instead. In my opinion, it's rule syntax makes
it much easier to work with DHCP.
http://www.obfuscation.org/ipf/ipf-howto.html#TOC_29
----- Original Message -----
From: "Rod Person" <rod.person at hotpop.com>
To: <freebsd-questions at freebsd.org>
Sent: Thursday, August 21, 2003 6:17 PM
Subject: Help setup home network when gateways, ip asigned by DHCP
> I have been trying to setup a home network for some weeks now. Here is
> the setup
>
> ----------- -------------- ---------------- -------
> |Cable Modem|---|Gateway/Server|----|Cisco Poweredhub|------|FreeBSD|
> ----------- -------------- ---------------- | |Laptop |
> | -------
> |____|win XP |
> | -------
> |
> |---- 2 other
> win ws
>
> My problem is that my gateway get its external ip address via DHCP.
> I can't figure out how to setup ipfw rules to use DHCP addresses.
>
> Here are the portions of rc.ipfw:
>
> oif="fxp0"
> onet=? this is assigned via DHCP
> omask="255.255.255.240" <- Should I change this?
> oip=????
>
> #inside interface
> iif=fxp1
> inet="192.168.0.1/24"
> mask="255.255.255.0"
> iip="192.168.0.1"
>
> If someone can point me in there right direction I be really grateful.
> I can't find and discussion on this anywhere.
>
>
>
> --
> Rod
>
> @ Home So No Cool Signature
> http://opensourcebeef.bsd.st
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list