On Thu, 2002-06-06 at 15:35, Nachman Yaakov Ziskind wrote:
> Omar D. Samuels wrote (on Thu, Jun 06, 2002 at 05:09:49PM -0500):
> | What do you mean, I still don't understand.
> | 
> | > | One learns something new everyday... does PAT stand for Private Address
> | > | Translation?
> | >
> | > NAT = Network Address Translation (one to one).
> | > PAT = Port Address Translation (one to many).
> | >
> | > | Is it different from NAR (Network Address Retention)?
> | >
> | > Dunno. :-)
> 
> In NAT, the router essentially changes the source IP number to some other
> (presumably better :-) one, and makes no other changes. So, your network
> address is hidden, but you still need one public IP address for every host on
> your network. 
> 
> In PAT, the router changes the port number as well (to some random port
> number), and keeps track of a table consisting of: the original source IP
> number, and the port coded to the packet. The point is that the router can
> inspect the reply packet, check the table, and send it off to the machine that
> sent the source packet because it knows the port it arrived on. So, many hosts
> can use the same IP number.
> 
> Both NAT and PAT have their uses; we use both here.

As I understand it, netfilter (iptables) can do what you want, although
the terminology and approach may be unfamiliar. Start here:
http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html

The Bering branch of LEAF uses a 2.4 kernel with netfilter. Dachstein
still uses a 2.2 kernel.

-Richard



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to