← 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.
- Routing: it looks at the destination IP address of each packet and uses its routing table to choose the best way (interface / next router).
- Connecting networks: e.g. the company LAN with the internet, or two subnets. It can also connect different technologies (Ethernet, DSL, fibre, LTE).
- Separating broadcast domains: routers do not forward broadcasts.
- Extra functions: NAT, firewall / access control lists (ACLs), DHCP, VPN to securely connect several sites.
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
Key vocabulary
| Term | Meaning | Example |
| router | a layer-3 device that connects networks | The router connects our office to the internet. |
| routing table | a list of networks and the way to reach them | The routing table has a default route to the ISP. |
| default gateway | the router a device sends traffic to for other networks | The default gateway is 192.168.1.1. |
| subnet | a smaller part of an IP network | Each department has its own subnet. |
| NAT | translating private IP addresses to a public one | NAT lets all PCs share one public IP. |
| to forward | to send something on to the next place | The router forwards the packet to the next hop. |
Useful phrases
- to route traffic between …The router routes traffic between the two subnets.
- to find the best pathRouting protocols help to find the best path.
- to connect two sites via VPNWe connected the two sites via VPN.
- to act as a gatewayThe router acts as a gateway to the internet.
Talk about it
- Explain what happens when your PC opens a website outside your network. Which role does the router play?
- Compare a router with a post office. What is the routing table in this comparison?
- 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.