(a) Describe the structure of a star topology LAN by explaining how four workstation computers, a shared file server, and a network printer would be connected to a central switch. [4 marks]
(b) Explain how the central switch directs data packages to specific workstations, and how this process differs from using a hub. [4 marks]
(c) Identify two advantages and one disadvantage of using a star topology instead of a bus topology. [3 marks]
查看答案詳解收起答案詳解
解題
Part (b): A switch functions at the Data Link layer of the OSI model. When it receives a data packet, it reads the destination MAC address from the packet header. It looks up this address in its MAC address table (or routing table) to find the specific port associated with that MAC address and forwards the packet only to that port. In contrast, a hub is a non-intelligent device that does not read MAC addresses; when it receives data on one port, it broadcasts (copies) that data to all other ports, forcing all connected devices to receive and discard the packet if it is not addressed to them.
Part (c):
Advantages of a star topology compared to a bus topology:
1. High fault tolerance: If a single cable connecting a workstation to the switch fails, only that workstation is disconnected, while the rest of the network continues to function normally (on a bus network, a cable break can bring down the entire network segment).
2. Security and performance: Data is sent directly to the destination device rather than being broadcast across a shared medium, which prevents unauthorized packet sniffing and reduces data collisions.
Disadvantage:
1. Single point of failure: If the central switch fails, the entire network becomes completely inoperable.
評分準則
- 1 mark: Identifying the switch as the central node in the star topology.
- 1 mark: Stating that each workstation (4 in total) has a dedicated/point-to-point connection to the switch.
- 1 mark: Stating that both the file server and the printer are also connected directly to the central switch.
- 1 mark: Mentioning that there are no direct connections between the individual peripheral devices / communication must pass through the central switch.
Part (b) [Max 4 marks]:
- 1 mark: Switch reads the destination MAC address from the incoming data packet.
- 1 mark: Switch sends the packet only to the specific port/device corresponding to that destination MAC address.
- 1 mark: Hub does not read MAC addresses/destinations (operates at physical layer).
- 1 mark: Hub broadcasts/transmits incoming data to all connected devices/ports.
Part (c) [Max 3 marks]:
- 1 mark: For each of two valid advantages (e.g., failure of one cable/device does not affect other devices, easier to add/remove devices without disruption, lower rates of data collision, better security as data is not broadcast to all).
- 1 mark: For one valid disadvantage (e.g., central switch represents a single point of failure, higher installation cost due to more physical cabling compared to a bus topology).