Skip to Content
Head First Networking (Chinese Edition)
book

Head First Networking (Chinese Edition)

by Al Anderson, Ryan Benedetti
January 2026
Beginner to intermediate
538 pages
6h 19m
Chinese
O'Reilly Media, Inc.
Content preview from Head First Networking (Chinese Edition)

第6章 用路由器连接网络:整合资源

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

image with no caption

需要连接到遥远之地的网络吗?

迄今为止,我们已详细展示了如何搭建单一网络并使其正常运行。但若需要 需要与其他网络共享资源时?这正是路由器大显身手之处。路由器专精于无缝 传输网络流量一个网络到另一个网络,本章将详细阐述其工作原理。我们将指导您如何 编程 路由器,以及如何利用路由器本身 解决任何故障。继续阅读,您将发现这简直超乎想象...

月球漫步式网络

image with no caption

月球基地是美国宇航局在月球上设立的指挥中心,他们需要与国际空间站(ISS)建立视频连接。但存在一个问题——月球基地缺乏网络支持通信。

你觉得能帮上忙吗?

我们需要连接两个网络

那么通常如何连接两个网络?首先需要一个正常运作的局域网(LAN)。其次需要连接到目标网络的通道,这可能是五类网线、光纤甚至无线电链路。最后需要路由器来连接两个网络——路由器通过物理方式连接网络 物理连接逻辑

image with no caption

物理网络指的是硬件设备,如电缆、交换机、集线器和路由器。

逻辑网络则涉及网络地址相关机制。

月球基地与国际空间站的网络现已通过路由器连接。那么一切是否正常运作?

灯亮着,但没人在家

月球基地交换机的LED指示灯正在闪烁,但遗憾的是,与国际空间站的视频连接仍未建立。

image with no caption

你认为闪烁的LED指示灯与网络流量有何关联?

回顾前章知识:以太网传输的数据以帧为单位进行传输。LED闪烁状态表明特定端口正在发送或接收以帧形式传输的网络流量。数据帧会根据帧内MAC地址确定传输目标。

因此,LED指示灯代表网络流量。

但这是否意味着网络正常运行?

如何验证?

请记住,以太网中的每个网络设备若要发送和接收网络流量,都必须拥有MAC地址。

脑力激荡

如何监控网络通信?需要使用哪些工具?

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux. Programowanie systemowe. Wydanie II

Linux. Programowanie systemowe. Wydanie II

Robert Love
IBM Platform Computing Solutions for High Performance and Technical Computing Workloads

IBM Platform Computing Solutions for High Performance and Technical Computing Workloads

Dino Quintero, Daniel de Souza Casali, Marcelo Correia Lima, Istvan Gabor Szabo, Maciej Olejniczak, Tiago Rodrigues de Mello, Nilton Carlos dos Santos

Publisher Resources

ISBN: 0642572321314