Embercode
✕
How the Internet WorksQuick quiz

NAT and routing

8 questions. Covers Routers, hops and traceroute.

Questions 1 to 5 of 8

  1. 1. Ana's laptop is 192.168.1.20. It opens a connection from its port 51514 to a web server at 198.51.100.10 port 443. The router has no earlier rows. Which source address does the server see on the packet?
  2. 2. A stranger sends a packet to public port 40000 on the router. The table has no row for that port, and no port forwarding rule matches it. What happens?
  3. 3. Fill in the blank. The router's table of connections, which records each address rewrite, is called the ___ table.

    Type your answer.

  4. 4. Ana wants to show her test site to a friend. She runs this on her laptop, and adds the router rule below. Her friend types http://203.0.113.7:8080 and gets Connection refused. Which part is the bug? ``text # on the laptop python3 -m http.server 8000 --bind 127.0.0.1 # router settings public port 8080 -> 192.168.1.20, laptop port 8000 ``
  5. 5. Fill in the blank. A friend's error says ___ when the packet reached the laptop but no program listens on that port. Write the two words of the error.

    Type your answer.

5 question(s) left on this page.

Typed answers ignore extra spaces and, for most questions, capital letters.