From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 15:25:41 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 7539537B401 for ; Sat, 28 Jun 2003 15:25:41 -0700 (PDT) Received: from web12003.mail.yahoo.com (web12003.mail.yahoo.com [216.136.172.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E05E44015 for ; Sat, 28 Jun 2003 15:25:41 -0700 (PDT) (envelope-from bsd2000au@yahoo.com.au) Message-ID: <20030628222540.24302.qmail@web12003.mail.yahoo.com> Received: from [203.221.18.153] by web12003.mail.yahoo.com via HTTP; Sun, 29 Jun 2003 08:25:40 EST Date: Sun, 29 Jun 2003 08:25:40 +1000 (EST) From: =?iso-8859-1?q?Keith=20Spencer?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: A routing/IP/NIC query < Expert required 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: Sat, 28 Jun 2003 22:25:41 -0000 Hi all, I have a new adsl isp allocating my fbsd 4.7 box a routable IP (end user ip) I have 32 (read that as 30) ips of my own to use and route for my domain. I have 2 NICs in the gateway/router How should I setup the IPs and aliases etc. I figure... (yyy.yyy.yyy.yyy = ISP end user ip they gave me) (xxx.xxx.xxx.xx1 = 1st usable ip in my 32 ip range) (xxx.xxx.xxx.xx2 = 2nd usable ip in my 32 ip range) GATEWAY MACHINE ADSL MODEM | |---------|--------| | yyy.yyy.yyy.yyy | | xxx.xxx.xxx.xx1 | | | | | fxp0 NIC | | | | | | dc0 NIC | | | | | 10.0.0.1 | | | |__________________| Or do I also need an xxx.xxx.xxx.xx3 alias on the dc0 because I have 2 ip live servers inside the firewall. I think I do! Am I right or am I right? I have ipfilter on this machine with ipnat setup tonat the 10.0.0.0 addresses. Also, I suppose I could setup ipnat to do mapping of xxx.xxx.xxx.xxn addresses into 10.0.0.n private address. what say you? Thanks Keith http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.