A2.1.3 · Network fundamentals
Network Devices
The one blinking box in the corner of a house, usually just called "the router," is often several genuinely different devices bundled into a single physical unit. Knowing what each one actually does is the whole point of this statement.
Explainer
Most home networks are sold as a single box, but that box is doing the job of several logically separate devices at once. Each device type below solves one specific problem, and a real network, even a small home one, needs every single one of these jobs done somewhere.
Explainer
A quick look at the TCP/IP layers
The statement also asks how these devices map onto the layers of the TCP/IP model (Transmission Control Protocol/Internet Protocol), the layered set of rules that describes how data actually moves across a network. The full model itself is covered in more depth at HL. For now, it's enough to know the model has four layers, stacked from the physical connection at the bottom up to the actual application at the top, and that most network devices operate at one specific layer.
| Layer (bottom to top) | Roughly handles |
|---|---|
| Network interface | The physical connection itself: cabling, signals, and addressing devices on the local network |
| Internet | Getting a packet from one network to another, across the wider internet |
| Transport | Making sure data actually arrives correctly, in order, between the two end devices |
| Application | The actual program's own data format, the layer closest to what a user sees |
Worked example
Seven devices
Click each device to see what it actually does, and which TCP/IP layer it operates at.
Check your understanding
A hotel's WiFi network has one physical device sitting between the guest rooms' wireless devices and the hotel's own internet service provider. It converts the ISP's incoming DSL signal into digital data, and separately, broadcasts a wireless signal guests can join. Which two device functions is this single physical box actually performing?
Common mistake
RecurringA common weak answer treats "gateway" and "router" as interchangeable, since both sit at the boundary between two networks and both direct traffic across it. The real distinguishing mechanism is protocol translation: a router forwards packets between networks that already speak the same kind of addressing, while a gateway specifically exists to translate between two networks using genuinely different protocols or formats.
Treated as the same device: "A gateway and a router both connect a home network to the internet, so they're basically the same thing." Both do sit at a network boundary, but this misses the actual difference in what each one does there.
Names the real distinction: "A router forwards packets between networks that use the same addressing scheme, choosing the most efficient path. A gateway specifically translates between two networks using different protocols or formats, for example converting between a home network's protocol and a different one used by the internet service provider's own equipment." States what each device actually does differently, not just that they're both "at the boundary."
Revision questions
Past-paper style. Write an answer, then reveal the marking points and mark yourself.
[2]Describe the function of a network interface card (NIC).
Marking points
评分要点
- A NIC gives a device the physical connection it needs to join a network.
- It carries the device's unique MAC address, which identifies it on the local network.
- NIC 为设备提供加入网络所需的物理连接。
- 它携带设备唯一的 MAC 地址,在局域网上标识该设备。
[3]Distinguish between the roles of a gateway and a router.
Marking points
评分要点
- A router forwards packets between networks that use the same addressing scheme, choosing the best next hop from its routing table using destination IP addresses.
- A gateway translates between two networks that use different protocols or addressing schemes, so data from one can be understood by the other.
- So a router forwards; a gateway translates.
- 路由器在使用相同编址方案的网络之间转发数据包,用目标 IP 地址从路由表中选择最佳下一跳。
- 网关在两个使用不同协议或编址方案的网络之间进行转换,使一方的数据能被另一方理解。
- 所以路由器转发;网关转换。
[4]A small office wants to connect its own internal devices together, allow them to share one internet connection, and block unwanted traffic from outside. Identify which network devices are needed, and describe the function each one performs.
Marking points
评分要点
- A switch: connects the office's own devices together, forwarding each frame to the port of the device it is addressed to using MAC addresses.
- A router: connects the office LAN to the internet and lets all the devices share the one internet connection, forwarding packets between the two networks.
- A firewall: checks packets crossing the boundary against a set of rules and drops unwanted traffic from outside.
- (In a home box these are often combined into one device.)
- 交换机:把办公室自己的设备连接起来,用 MAC 地址把每个帧转发到目标设备所在的端口。
- 路由器:把办公室局域网连接到互联网,让所有设备共用这一条互联网连接,在两个网络之间转发数据包。
- 防火墙:对照一套规则检查穿越边界的数据包,丢弃来自外部的不需要的流量。
- (在家用的盒子里,这些常常合并成一台设备。)
Flashcards
Active recall for this statement’s key terms.
Keep this statement’s practice with you
Free account: unlock every revision question and flashcard for A2.1.3, and every other IB CS 2027 statement.