From owner-freebsd-questions Wed Mar 29 22: 1:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 7755337BD07 for ; Wed, 29 Mar 2000 22:01:06 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id BAA18799; Thu, 30 Mar 2000 01:01:01 -0500 (EST) (envelope-from cjc) Date: Thu, 30 Mar 2000 01:01:01 -0500 From: "Crist J. Clark" To: Julian Zottl Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Netmask problems... Message-ID: <20000330010101.F17852@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from julianz@vsl.cua.edu on Wed, Mar 29, 2000 at 04:19:03PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 29, 2000 at 04:19:03PM -0500, Julian Zottl wrote: > Hey all, I'm setting up a firewall with the following: > 111.222.333.1 111.222.333.2 111.222.333.3 > Router -> 1st NIC (FreeBSD Box) 2nd NIC -> Switch > I've done this where the 1st and 2nd nic are on different subnets, but > when they are on the same subnet my usual practices are not working! What > netmask do I need for the NIC's and do I need to change any of the > routing? TIA, Julian, Julian, Julian. We've been throught this. Trying to do routing between different physical subnets that are one logical subnet is not a good thing. For the above, you would want to do bridging, not routing. 111.222.333.1 --- 111.222.333.2 (no IP) --- Switch Router NIC FreeBSD Box NIC |-- 111.222.333.0/24 There are other options like using a RFC1918 address space on one subnet if you really like to route. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message