Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+17 votes
asked in CSC335_Spring2019 by (3.1k points)

4 Answers

+12 votes
 
Best answer

The way NAT works is it is given a public IP address it uses to communicate with the public network. The NAT will have a port mapped to each host behind it, which can have IP's in the range 10.x.x.x or 192.168.x.x, and any servers in the public network communicate with those hosts through the NAT, by sending the packets to the NAT's IP address and the port the NAT has associated with the host. Depending on the type of NAT used, it can let any packet through so long as it is sent to the correct port, or it can only allow packets that are sent to the correct port and from the correct source IP and source port.

Another purpose of NAT is to act as a form of firewall.

answered by (2.1k points)
selected by
+12 votes

One purpose: allows company's/network owner to use more internal IP addresses.

answered by (3.2k points)
+11 votes

NAT can work like a form of firewall.

answered by (4.8k points)
+10 votes

It allows for a lot more address giving public addresses to computers inside of a private network. It limits the amount of public addresses companies have to use.

answered by (2.9k points)
...