Discussion Locked

NAT

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How is NAT different from ICS ( Internet Connection Sharing) I knwo what ICS is, but I'm not quite sure how NAT is different.

For example, while using NAT, do internal computers retain their origanl IP address, or do they have to be assigned a private internal IP address?

7 replies

by ann777

NAT is done at the router level; there's usually a physical device doing the NATting.

The internal computers can have any ip address they need or want. What NAT does is take the external routable ip address and directly send all/everythig coming in/out on that ip to another ip address (yes, either routable or non-routable).

NAT is a one-to-one relationship... it's a translator. MOST people use NAT because they only have one routable ip address (usually given/borrowed from an ISP and not known, and usually it changes from day-to-day) but they want other computers to be able to share that routable ip address and use the Internet.

ICS is basically the same, but it uses one computer with ICS software as the "router". Everything goes though the one main computer.

Hopefully this helps.

by paulo.sedrez

NAT (Network Address Translation) is a form of translating addresses from one side of a router to other address or addresses, to hide the former (normally private) from the Internet space which will only recognise and route the later (normally public).

There are basically three forms of NAT: static NAT, dynamic NAT, and PAT.

Static NAT is a form that translates addresses one-by-one, with on fixed correspondence between each pair of public and private address.

Dynamic NAT is a form thattranslates a limited number of public addresses to a higher number of private addresses. The correspondence is not fixed and, on reaching the limit of public addresses, the router usually initiate a form of PAT (see next).

PAT, or Port and Address Translation, if a form of colapsed Dynamic NAT, in which only one public address is shared among various private addresses. It has this name because the router manages the port numbers to achieve the address sharing without conflicts.

PAT and Dynamic NAT usually do not allow initiating inbound (i.e. Internet to private network) connections, unless explicit redirections are used.

ICS and Masquerading are forms of PAT and/or Dynamic NAT that, besides the address translation, use helpers (and/or proxies and/or connection trackers) to manage complex, multiport protocols. As the most classic example, FTP uses two ports for connection (command and data), and the data connection is usually initiated from the server side. Other examples areNetmeeting (H.323) and games (DirectPlay).

So, NAT does not apply only to private addresses; it may be used for any address schema.

--Sedrez

by fenaikh

Hi

How Network Address Translation Works
http://howstuffworks.lycoszone.com/nat.htm

Good luck

Mohamed

Note1:
***Very Important NOTE *********
After you copy the URL a space or a %20 maybe gets inserted in the URL when you paste it into your browser. Delete any spaces or such characters from the URL for the page to be loaded.
***Very Important NOTE *********

This discussion is closed to new replies.