Date: Mon, 23 Apr 2001 10:57:29 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: Daniel Mester <DanielM@EverAd.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd question Message-ID: <Pine.BSF.4.21.0104231040250.23089-100000@cody.jharris.com> In-Reply-To: <ED917D1F7E5D96439A2822CE966C2CB909088A@ilexc01.everad.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <nick@rogness.net> - 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104231040250.23089-100000>