Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 21:17:55 -0400
From:      Rod Person <rod.person@hotpop.com>
To:        freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Subject:   Help setup home network when gateways, ip asigned by DHCP
Message-ID:  <20030821211755.096b57e2.rod.person@hotpop.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030821211755.096b57e2.rod.person>