← All questions
Card 74 · Networking

What is the task of a network router?

Answer

A router is a network device on OSI layer 3 (network layer). It connects different networks and forwards data packets between them.

Difference to a switch: a switch works on layer 2 with MAC addresses inside one network; a router works on layer 3 with IP addresses between networks.

Diagram

LAN A192.168.1.0/24LAN B192.168.2.0/24Routerrouting tableInternetvia DSL / fibre

Key vocabulary

TermMeaningExample
routera layer-3 device that connects networksThe router connects our office to the internet.
routing tablea list of networks and the way to reach themThe routing table has a default route to the ISP.
default gatewaythe router a device sends traffic to for other networksThe default gateway is 192.168.1.1.
subneta smaller part of an IP networkEach department has its own subnet.
NATtranslating private IP addresses to a public oneNAT lets all PCs share one public IP.
to forwardto send something on to the next placeThe router forwards the packet to the next hop.

Useful phrases

Talk about it

  1. Explain what happens when your PC opens a website outside your network. Which role does the router play?
  2. Compare a router with a post office. What is the routing table in this comparison?
  3. What is the difference between a router and a switch? Give an example where you need each.

IHK hint

German: Router: Schicht 3 (Vermittlungsschicht), verbindet Netze, leitet Pakete anhand von IP-Adresse und Routingtabelle weiter; Standortkopplung per VPN.