Router = A device that connects multiple networks together and uses
IP addresses to route data packets to their correct destination.
| Function | Description |
|---|---|
| Packet forwarding | Reads destination IP and forwards packets toward their destination |
| Routing | Determines the best path for data to travel across networks |
| NAT | Translates private IP addresses to the public IP and back |
| DHCP | Assigns IP addresses automatically to devices on the local network |
| Firewall | Filters incoming and outgoing traffic for basic security |
| DNS forwarding | Forwards domain name lookup requests to a DNS server |
| Wireless access | Modern routers include Wi-Fi capability for wireless devices |
| Feature | Hub | Switch | Router |
|---|---|---|---|
| Address used | None | MAC Address | IP Address |
| Sends data to | All devices (broadcast) | Correct device only | Correct network |
| Works on | Single LAN | Single LAN | Multiple networks |
| Connects networks? | ❌ No | ❌ No | ✅ Yes |
| Intelligence | None | Medium | High |
| Layer | Physical (1) | Data Link (2) | Network (3) |
Routing Table = A database stored in the router that lists known
networks and the best path (next hop) to reach each one.
| Destination Network | Subnet Mask | Next Hop | Interface |
|---|---|---|---|
| 192.168.1.0 | 255.255.255.0 | Direct | LAN port |
| 10.0.0.0 | 255.0.0.0 | 192.168.1.254 | WAN port |
| 0.0.0.0 | 0.0.0.0 | 82.45.67.1 | WAN (default) |
192.168.1.1 — the default gateway for devices.82.45.67.23 — assigned by the ISP.NAT = A technique used by routers to map multiple devices with private
IP addresses to a single public IP address for communication
over the internet.
DHCP = A service that automatically assigns IP addresses and other
network configuration to devices when they join a network.
Default Gateway = The IP address of the router on the local network —
the device that data is sent to when the destination is outside the LAN.
| Security Feature | Description |
|---|---|
| Firewall | Blocks unauthorised incoming connections |
| NAT | Hides internal private IP addresses from the internet |
| MAC filtering | Only allows specific MAC addresses to connect |
| WPA2/WPA3 encryption | Encrypts Wi-Fi traffic |
| Port forwarding control | Controls which external ports are accessible |
| Admin password | Protects router settings from unauthorised changes |
| Term | Definition |
|---|---|
| Router | A device that forwards data packets between different networks using IP addresses |
| Routing Table | A database in the router listing known networks and the best path to reach them |
| Default Gateway | The router's LAN IP address — where devices send traffic destined outside the LAN |
| NAT | Network Address Translation — maps private IPs to one public IP |
| DHCP | Dynamic Host Configuration Protocol — automatically assigns IP addresses |
| Packet | A unit of data transmitted across a network |
| Next Hop | The next router a packet is forwarded to on its path to the destination |
| WAN | Wide Area Network — the network outside the LAN, e.g. the internet |
| LAN | Local Area Network — the private network inside a home or office |
| Firewall | A security system that monitors and filters network traffic |
| ISP | Internet Service Provider — the company that provides internet access |
| DNS | Domain Name System — translates domain names to IP addresses |