Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+17 votes
asked in CSC335_Spring2019 by (1 point)

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 (1 point)
selected by
+12 votes

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

answered by (1 point)
+11 votes

NAT can work like a form of firewall.

answered by (1 point)
+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 (1 point)
...