CCNA 必备网络设备:考试前了解你的工具
CCNA 考生必须了解的基本网络设备从四种硬件开始。
如果网络是一场战场,那么路由器、交换机、防火墙和集线器就是你的武器。
了解 核心网络设备 ——它们的功能、相互作用以及何时使用——对于通过 CCNA 并在任何 IT 岗位取得成功至关重要。
无论你是在搭建家庭 网络还是管理企业级基础设施, 这些设备在数据传输、过滤以及安全方面发挥关键作用。
在本指南中,我们将拆解每种设备的用途、OSI 层级角色以及与 CCNA 相关的技巧——使用通俗、贴近实际的语言编写。
📡 1. 路由器 – 流量指挥官
功能: 使用 IP 地址连接不同网络并在它们之间指引流量。
OSI 层级: 第 3 层(网络层)
常见用途: 将你的局域网连接到互联网或不同的分支网络。
🔧 实际案例:
在家中,你的 ISP 调制解调器\/路由器为你提供互联网接入;在公司,路由器管理部门、远程站点和防火墙之间的路由。
CCNA 提示: 了解静态与动态路由、默认网关以及如下命令:
ip route
show ip route
router ospf 1
2. 交换机 – 局域网通信者
功能: 在局域网内连接设备,并使用 MAC 地址转发帧。
OSI 层级: 第 2 层(数据链路层)
常见用途: 办公交换机将同一楼层或部门的电脑、打印机和 IP 电话连接在一起。
🔧 实际案例:
在办公室中,每个工作站的以太网线插入交换机,进而将整层人员连接起来。
CCNA 提示: 练习 VLAN、干线(trunk)和 STP(生成树协议)。学习:
switchport mode access
show mac address-table
vlan 10
3. 集线器 – 笨拙的中继器(基本淘汰)
功能: 将流量广播到所有端口,不论目的地。
OSI 层级: 第 1 层(物理层)
常见用途: 现在很少使用。集线器速度慢且不安全。
🔧 实际案例:
如果有 4 台设备连接到集线器,发送的每个数据包都会被所有 4 台共享,且没有过滤。
CCNA 提示: 仅为对比而了解此点。现代网络应始终优先使用交换机。
4. 防火墙 – 网络保镖
功能: 控制流量在 网络之间基于安全 规则。
OSI 层级: 通常工作在第 3/4 层(网络/传输层),一些下一代防火墙的工作范围可达第 7 层。
常见用途: 阻止或允许互联网访问,防御攻击,过滤恶意流量。
🔧 实际案例:
防火墙可以在办公时间阻止社交媒体访问,或防御 DDoS 攻击。
CCNA 提示: 理解 基础 ACL 和边界安全概念。您可能不会进行深入的防火墙配置,但需要了解它们的重要性。
5. Modem(调制解调器) – 互联网转换器
功能: 将数字数据转换为模拟信号(反之亦然),以便通过电话线或电缆线路接入互联网。
OSI 层级: 第 1/2 层(物理/数据链路层)
常见用途: 连接您的 家庭网络 与互联网服务提供商。
CCNA 提示: 了解 调制解调器 与 路由器, 之间的区别,特别是在 SOHO 网络中。
6. Wireless Access Point (AP)(无线接入点) – 无线连接器
功能: 通过允许无线设备连接来扩展有线网络。
OSI 层级: 第 2 层(主要是)
常见用途: 在家庭、办公室、咖啡馆和机场提供 Wi-Fi。
CCNA 提示: 理解基础无线概念(SSID、WPA2、信道)。在 Packet Tracer 中,使用 IP 设置配置 AP。
7. Repeater(中继器)、Bridge(网桥)和 Gateway(网关) – 其他值得关注的设备
| 设备 | 功能 | 状态 |
|---|---|---|
| 中继器 | 增强长距离电缆运行中的信号 | 现在已很少见(用于旧式光纤/铜缆) |
| 网桥 | 连接两个网络段,过滤流量 | 已被交换机取代 |
| 网关 | 使用不同协议连接网络 | 通常是路由器/防火墙的一部分 |
摘要表:按 OSI 层划分的设备功能
| 设备 | OSI 层 | 核心功能 |
|---|---|---|
| 路由器 | 第 3 层 | 路由 IP 流量 |
| Switch | Layer 2 | Forwards frames via MAC addresses |
| Firewall | Layer 3/4/7 | Blocks/permits traffic by rules |
| Access Point | Layer 2 | Enables Wi-Fi connections |
| Modem | Layer 1/2 | Converts analog/digital signals |
| Hub | Layer 1 | Broadcasts all traffic (no filter) |
🔁 Internal & External Resource Links
- ✅ CCNA Lab Exercises — Practice with router/switch/AP configs
- ✅ Cisco CLI Commands — Configure devices step by step
- 🌐 Cisco Networking Basics
- 🌐 OSI Model Overview – GeeksforGeeks
FAQ – Questions
What are the main network devices in CCNA?
The core network devices include routers, switches, firewalls, hubs, modems, access points, and bridges. The CCNA focuses heavily on routers and switches.
What is the difference between a router and a switch?
A 路由器 connects different networks and uses IP addresses to route traffic. A switch connects devices within a network and uses MAC addresses to forward traffic.
Which network device works at Layer 2?
Switches and access points operate primarily at Layer 2 of the OSI model. Bridges also work at Layer 2 but are rarely used today.
Do I need to memorize all network devices for CCNA?
You should understand the role and OSI layer of each device. You don’t need deep configuration knowledge for hubs or modems, but routers and switches are critical.
常见问题
What’s the difference between a hub, switch, and router?
A hub operates at Layer 1 and simply repeats every incoming signal out of all other ports, creating one large collision domain – it has no intelligence and is now largely obsolete. A switch operates at Layer 2, learns MAC addresses, and forwards frames only to the correct port, creating separate collision domains per port while keeping one broadcast domain (unless VLANs are used). A router operates at Layer 3, makes forwarding decisions based on IP addresses, and separates broadcast domains entirely, which is what allows it to connect different networks together.
What does a firewall do differently from a router?
A router’s primary job is forwarding packets between networks based on destination IP address. A firewall adds a security layer on top of that by inspecting traffic against rules (allow/deny by IP, port, protocol, or more advanced stateful/application-level inspection) and blocking anything that doesn’t match. Many modern devices combine both functions, but conceptually a router moves traffic while a firewall decides whether that traffic should be allowed to move at all.
Why would I use a Layer 3 switch instead of a router?
A Layer 3 switch combines high-speed Layer 2 switching with basic Layer 3 routing between VLANs on the same device, which is far more cost-effective for inter-VLAN routing inside a single building or campus than running traffic out to a separate router and back. Routers remain the better choice for WAN connections, NAT, and more advanced routing protocol features that many Layer 3 switches don’t fully support.
What is the role of an access point in a network?
An access point (AP) bridges wireless clients onto an existing wired network, translating 802.11 Wi-Fi traffic into Ethernet frames the rest of the network understands. It operates at Layer 2 and does not route between networks on its own (that’s the router’s or Layer 3 switch’s job) – its sole purpose is extending LAN connectivity to wireless devices.
What is a network bridge and is it still used today?
A bridge connects two network segments at Layer 2, forwarding frames between them based on MAC address, similar in concept to an early multi-port switch but typically with only two ports. Dedicated hardware bridges are rare in modern networks since switches absorbed this functionality, but the concept still appears in software form, such as a Linux bridge interface connecting virtual machine traffic to a physical NIC.
What’s the difference between a modem and a router?
A modem converts the signal type used by your ISP (cable, DSL, or fiber) into Ethernet that other network devices can use – it has no routing intelligence of its own. A router takes that incoming connection and distributes it to multiple devices, assigns private IP addresses via DHCP, and handles NAT so multiple devices can share one public IP. Many consumer ISP-provided boxes combine both functions into a single unit.
How does a load balancer fit into enterprise networks?
A load balancer distributes incoming traffic across multiple servers or links so no single resource gets overwhelmed, improving both performance and redundancy. In enterprise networks it commonly sits in front of web server farms or splits traffic across multiple internet circuits/firewalls – it isn’t a CCNA 200-301 deep-dive topic, but understanding its basic role helps when studying high-availability network design.
What is a repeater and when would I need one?
A repeater regenerates and retransmits a signal to extend the usable distance of a network connection, operating purely at Layer 1 with no intelligence about the data it’s passing. Wireless range extenders are a common modern example – they’re useful for quickly extending Wi-Fi coverage to a dead zone, though a proper mesh system or additional access point usually gives better performance.
Why are these devices tested so heavily on the CCNA exam?
The CCNA exam places heavy weight on understanding how different devices operate at different OSI layers because that understanding underpins almost everything else in networking – VLAN design, routing decisions, and troubleshooting all depend on correctly identifying which device is responsible for which function. Exam questions frequently describe a symptom and ask which device/layer is most likely responsible, rather than asking for a device’s definition directly.
What device would I use to segment a large broadcast domain?
A router (or a Layer 3 switch performing inter-VLAN routing) is what actually breaks up a broadcast domain, since broadcasts don’t cross Layer 3 boundaries. Switches with VLANs configured create multiple logical broadcast domains on the same physical switch, but something still needs to route between those VLANs for devices in different VLANs to communicate – that’s the router or Layer 3 switch’s job.
如果你更愿意有人一步步带你完成此过程,或者需要特定的 Packet Tracer 实验完成并解释,而不是自己摸索,请查看 CCNA 与 Packet Tracer 辅导 页面了解其工作原理。

