From owner-freebsd-questions@FreeBSD.ORG Fri May 16 03:01:08 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 B3F2F37B401 for ; Fri, 16 May 2003 03:01:08 -0700 (PDT) Received: from imhotep.yuckfou.org (cust.89.117.adsl.cistron.nl [195.64.89.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE3B43F3F for ; Fri, 16 May 2003 03:01:05 -0700 (PDT) (envelope-from nivo+freebsd-questions@yuckfou.org) Received: by imhotep.yuckfou.org (Postfix, from userid 1000) id F35F9A98B; Fri, 16 May 2003 12:02:03 +0200 (CEST) Date: Fri, 16 May 2003 12:02:03 +0200 From: Nils Vogels To: FBSD Questions Message-ID: <20030516100203.GO4209@imhotep.yuckfou.org> Mail-Followup-To: FBSD Questions References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-PGP-Key: Key 0xAD3A5AAD from pub. servers X-PGP-Fingerprint: 1585 93A2 9595 177B 5D5F 1271 3333 57FD AD3A 5AAD Subject: Re: Trying To Setup A Larger Subnet, But I'm Doing Something Wrong.... 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, 16 May 2003 10:01:09 -0000 On Thu, May 15, 2003 at 02:42:48PM -0400, The Jetman (TJ) wrote: TJ> TJ> I have a working 4.5-RELEASE system that's been acting as my Internet TJ> gateway for many months now, thank you very much. It's a NATing system TJ> using (til now) the 192.168.0.0/24 private net internally. I want to TJ> expand this subnet, to encompass the entire 192.168.1 net as well. What you did _should_ work, provided that you also adapt any possible firewall on the gateway box. Another possibility is to setup an alias on the gateway box, using the netmask of 255.255.255.0. In effect your gateway would then have 2 ip addresses: One in the 192.168.0.x network, the other one in the 192.168.1.x network. It might make it easier for you to work, but the downside is, that all traffic from client to client will need to pass your gateway, if they are in the different subnets. HTH & HAND, Nils.