Computer Networking Basics

Home broadband routers perform NAPT (IP masquerading), a form of NAT (Network Address Translation). What does NAPT make possible?

  1. ASeveral devices in the home can share one global IP address simultaneously to communicate with the internet, distinguished by port number
  2. BTraffic between home devices and the internet is encrypted so it cannot be eavesdropped on the way
  3. CEach device in the home is automatically assigned its own separate global IP address
Show answer and explanation

Answer: A. Several devices in the home can share one global IP address simultaneously to communicate with the internet, distinguished by port number

NAT (Network Address Translation) rewrites the source or destination IP addresses of packets passing through a router. NAPT rewrites port numbers as well as IP addresses and records the mapping between "inside address and port" and "outside port" in a translation table. This lets several devices using private addresses share the router's single global address at the same time. Returning packets are delivered to the right device by looking up the table. It only rewrites addresses and does not encrypt anything. Also, connections started from outside have no entry in the table, so they do not reach inside devices by default; hosting a server inside requires settings such as port forwarding.

  • A. Correct. It rewrites port numbers too, so one global address can be shared.
  • B. NAPT only rewrites addresses and ports; it does not encrypt.
  • C. There is only one global address; each device keeps its private address.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. Host A (192.168.1.10), inside a router performing NAPT whose outside global address is 198.51.100.7, connects from source port 50000 to port 443 on web server 203.0.113.5. The router translates the source to port 61000 on 198.51.100.7. What is the destination of the response packets the web server sends back?
  2. Which correctly describes the role of ARP?
  3. A host (192.168.1.10/24, default gateway 192.168.1.1) sends a packet to server 203.0.113.80 on a different network. With an empty ARP cache, whose MAC address does the host look up with ARP?
  4. A router's routing table has four routes: 0.0.0.0/0 (next hop router A), 10.0.0.0/8 (router B), 10.1.0.0/16 (router C) and 10.1.2.0/24 (router D). To which router is a packet for 10.1.5.9 sent?
  5. What is the role of the TTL (Time To Live) field in the IPv4 header?