From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 18:19:05 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 567CA16A4BF for ; Thu, 21 Aug 2003 18:19:05 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 921BB43F93 for ; Thu, 21 Aug 2003 18:19:04 -0700 (PDT) (envelope-from rod.person@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 67CA6720A3 for ; Fri, 22 Aug 2003 01:18:48 +0000 (UTC) Received: from roland.opensourcebeef.bsd.st (c-67-163-195-9.client.comcast.net [67.163.195.9]) by smtp-3.hotpop.com (Postfix) with ESMTP id 1BEC365E684 for ; Fri, 22 Aug 2003 01:18:35 +0000 (UTC) Date: Thu, 21 Aug 2003 21:17:55 -0400 From: Rod Person To: freebsd-questions@freebsd.org Message-Id: <20030821211755.096b57e2.rod.person@hotpop.com> Organization: Open Source Beef X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: 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:19:05 -0000 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