
Mạng Máy Tính Cơ Bản
Understanding the basic topologies, protocols, and architectures of computer networks is essential for anyone studying network engineering or preparing for certification exams. This course…

Trong mô hình Client/Server, giao thức nào chịu trách nhiệm gửi thư điện tử?
Khi một thiết bị trung tâm trong mạng Star bị hỏng, hệ thống sẽ:
Giao thức nào được dùng để cấp phát địa chỉ IP tự động trong mạng?
Mạng Ring truyền dữ liệu dựa trên cơ chế nào?
Trong mô hình P2P, điểm yếu chính so với Client/Server là:
Khi một cáp quang bị đứt trong mạng WAN, hậu quả nào sẽ xảy ra?
Giao thức nào dùng để truyền tệp tin giữa máy khách và máy chủ?
Trong kiến trúc mạng, thiết bị nào chịu trách nhiệm quản lý các kết nối của các nút?
Mạng LAN thường sử dụng các phương tiện truyền nào sau đây?
Fundamentals of Computer Networks
Understanding the basic topologies, protocols, and architectures of computer networks is essential for anyone studying network engineering or preparing for certification exams. This course breaks down the key concepts tested in a typical quiz, providing clear explanations, real‑world examples, and SEO‑friendly terminology.
1. Bus Topology: Advantages and Characteristics
The bus network is one of the simplest physical layouts. All devices share a single communication line, which brings several notable benefits:
- Minimal cabling: Only one cable runs through the entire segment, reducing material costs and installation time.
- No central device required: Unlike star or tree topologies, a bus does not need a hub, switch, or router to manage traffic.
- Easy troubleshooting for isolated faults: If a single node fails, the remaining nodes continue to communicate because the transmission medium stays intact.
These advantages make the bus topology attractive for small, cost‑sensitive environments, although it can suffer from bandwidth contention as more devices are added.
2. Client/Server Model: Email Transmission with SMTP
In the client/server architecture, specific services are provided by dedicated servers. For email, the protocol responsible for sending messages is SMTP (Simple Mail Transfer Protocol). SMTP operates over TCP port 25 and handles the routing of outgoing mail between mail servers.
Other protocols such as HTTP, FTP, or DHCP serve different purposes: HTTP transfers web pages, FTP moves files, and DHCP assigns IP addresses. Recognizing the role of each protocol is crucial for network troubleshooting and design.
3. Star Topology: Impact of a Central Device Failure
The star topology relies on a central hub or switch that connects all peripheral nodes. When this central device fails, the entire network becomes inoperative because every communication path passes through it. This single point of failure highlights the importance of redundancy—using multiple switches, backup power supplies, or implementing a hybrid topology to improve resilience.
In contrast, a bus or ring topology may continue to operate partially even after a node failure, but the star’s simplicity and performance often outweigh the risk when proper redundancy is in place.
4. Automatic IP Allocation: The Role of DHCP
Dynamic Host Configuration Protocol (DHCP) automates the assignment of IP addresses, subnet masks, default gateways, and DNS servers to client devices. By eliminating manual configuration, DHCP reduces configuration errors and speeds up network deployment.
Typical DHCP workflow:
- A client broadcasts a
DHCPDISCOVERmessage. - The DHCP server replies with a
DHCPOFFERcontaining an available IP lease. - The client requests the offered address with
DHCPREQUEST. - The server finalizes the lease using
DHCPACK.
Understanding this exchange is vital for network administrators who need to troubleshoot address conflicts or configure DHCP scopes.
5. Ring Topology: Token Passing Mechanism
Ring networks transmit data using a token passing protocol. A special frame called a “token” circulates around the ring; only the node possessing the token may send data. This method prevents collisions and ensures orderly access to the shared medium.
Key advantages of token passing include deterministic access time and reduced collision overhead, making it suitable for real‑time applications such as industrial control systems.
6. Peer‑to‑Peer (P2P) Model: Security Considerations
While P2P architectures distribute workload across all participating nodes, they introduce a notable weakness: lower security. Each peer acts as both client and server, which complicates authentication, encryption, and access control. Attackers can exploit open ports or unpatched software on any peer, increasing the overall risk profile.
Mitigation strategies include using VPN tunnels, implementing robust encryption (e.g., TLS), and employing reputation‑based trust systems to verify peer integrity.
7. Wide Area Network (WAN) Fiber Cuts: Consequences
In many WAN deployments, a single fiber optic cable serves as the primary backbone. If that cable is severed, the entire WAN segment can become non‑functional because there is no alternate path for traffic. This underscores the importance of designing redundant fiber routes or employing diverse media (e.g., microwave links) to maintain service continuity.
Network engineers should monitor fiber health with optical time‑domain reflectometers (OTDR) and configure automatic failover mechanisms to minimize downtime.
8. File Transfer Protocol (FTP): Moving Files Between Client and Server
FTP (File Transfer Protocol) is the standard protocol for transferring files over TCP/IP networks. It operates on ports 21 (control) and 20 (data) and supports commands such as GET, PUT, and LIST. While FTP is widely used, it transmits data in clear text, so secure alternatives like SFTP or FTPS are recommended for confidential transfers.
Typical FTP workflow:
- The client establishes a control connection to the server.
- Authentication occurs using a username and password.
- After login, the client issues commands to upload or download files.
Understanding FTP fundamentals helps administrators configure firewalls, set appropriate permissions, and troubleshoot connection issues.
Key Takeaways for Network Professionals
By mastering the concepts outlined above, you will be better prepared to design robust networks, select appropriate topologies, and choose the right protocols for specific tasks. Remember these core principles:
- Choose a topology that balances cost, performance, and fault tolerance.
- Match protocols to their intended services: SMTP for email, DHCP for address allocation, FTP for file transfer.
- Implement redundancy to mitigate single points of failure, especially in star and WAN fiber deployments.
- Prioritize security in P2P environments by using encryption and access controls.
Continual practice with real‑world scenarios and quiz questions will reinforce these ideas and improve your readiness for certification exams or professional responsibilities in the field of computer networking.
