From owner-freebsd-questions Mon Apr 23 7:49:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id A1E3237B423 for ; Mon, 23 Apr 2001 07:49:29 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3NFvUV23392; Mon, 23 Apr 2001 10:57:30 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 23 Apr 2001 10:57:29 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Daniel Mester Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 23 Apr 2001, Daniel Mester wrote: > Hello all, > i am trying to set up the nat between two networks. > > What i have: > 10.72.6.0/24 ------- 10.72.7.0/24 Are these 2 networks directly connected via a cross-connect or ? Where does the BSD machine reside...in the middle, connecting the 2 network together? > But in my specific situation i need the nat-addresses to be different > from interface address of my machine (there's two net cards - > 10.72.6.1 & 10.72.7.1). I actually would like to know how i can set up > pool of addresses used by natd for translations (as in cisco "ip nat > pool dynapool 10.72.8.1 10.72.8.64" etc). There is no "pool" option with natd. You have static nat or "overloaded" natd. ALthough, I would hope that future versions of nat implement a pool style technique. > Because machines on 10.72.7.0 network have to get packets as it comes > from 10.72.8.0 (for example) and not from 10.72.6.0 network because of > asymmetric routing in the lab. Why do they have to get packets from 10.72.8.0? WHy do you need nat, if there is 1 BSD machine tied to both networks, this is just basic routing across the interfaces. Let me see if I understand you correctly: 10.72.6.0/24-- BSD --10.72.7.0/24 Correct? What is the default gateway entry on the machines in the 10.72.7.0 network? How about 10.72.6.0? > I've seen 'alias_address' option but i don't really understand how it It is similar to Cisco's overload. All outbound ip's will be overloaded to having a source address of alias_address. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message