Date: Thu, 21 Aug 2003 18:57:18 -0700 From: "Mike Maltese" <mike@pcmedx.com> To: <freebsd-questions@freebsd.org> Cc: Rod Person <rod.person@hotpop.com> Subject: Re: Help setup home network when gateways, ip asigned by DHCP Message-ID: <000c01c36850$b7ad34c0$f4f0a8c0@pcmedx.com> References: <20030821211755.096b57e2.rod.person@hotpop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@hotpop.com> To: <freebsd-questions@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c36850$b7ad34c0$f4f0a8c0>