From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 18:57:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 692BC16A4BF for ; Thu, 21 Aug 2003 18:57:15 -0700 (PDT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84ADA43FBF for ; Thu, 21 Aug 2003 18:57:14 -0700 (PDT) (envelope-from mike@pcmedx.com) Received: from duron.pcmedx.com ([4.46.1.67]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030822015713.QNCZ1299.out001.verizon.net@duron.pcmedx.com>; Thu, 21 Aug 2003 20:57:13 -0500 Received: from localhost (localhost [127.0.0.1]) by duron.pcmedx.com (Postfix) with ESMTP id BFB93AA38; Thu, 21 Aug 2003 18:57:12 -0700 (PDT) Received: from mike (mike.pcmedx.com [192.168.240.244]) by duron.pcmedx.com (Postfix) with SMTP id 17472AA37; Thu, 21 Aug 2003 18:57:12 -0700 (PDT) Message-ID: <000c01c36850$b7ad34c0$f4f0a8c0@pcmedx.com> From: "Mike Maltese" To: References: <20030821211755.096b57e2.rod.person@hotpop.com> Date: Thu, 21 Aug 2003 18:57:18 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd (http://www.amavis.org) and f-prot (http://www.f-prot.com) at pcmedx.com X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [4.46.1.67] at Thu, 21 Aug 2003 20:57:13 -0500 cc: Rod Person Subject: Re: Help setup home network when gateways, ip asigned by DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 01:57:15 -0000 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" To: 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"