<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>网络 on qytlix no blogs</title><link>https://blog.qyt.li/x/tags/%E7%BD%91%E7%BB%9C/</link><description>Recent content from qytlix no blogs</description><generator>Hugo</generator><language>en-us</language><managingEditor>qytlix@gmail.com (qytlix)</managingEditor><webMaster>qytlix@gmail.com (qytlix)</webMaster><copyright>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</copyright><lastBuildDate>Wed, 08 Apr 2026 11:08:03 +0800</lastBuildDate><atom:link href="https://blog.qyt.li/x/tags/%E7%BD%91%E7%BB%9C/index.xml" rel="self" type="application/rss+xml"/><item><title>网络通信：网络层次划分</title><link>https://blog.qyt.li/x/post/tech/%E6%8A%80%E6%9C%AF/%E7%BD%91%E7%BB%9C%E9%80%9A%E4%BF%A1%E7%BD%91%E7%BB%9C%E5%B1%82%E6%AC%A1%E5%88%92%E5%88%86/</link><pubDate>Wed, 08 Apr 2026 11:08:03 +0800</pubDate><author>qytlix@gmail.com (qytlix)</author><guid>https://blog.qyt.li/x/post/tech/%E6%8A%80%E6%9C%AF/%E7%BD%91%E7%BB%9C%E9%80%9A%E4%BF%A1%E7%BD%91%E7%BB%9C%E5%B1%82%E6%AC%A1%E5%88%92%E5%88%86/</guid><description>
<![CDATA[<h1>网络通信：网络层次划分</h1><p>Author: qytlix(qytlix@gmail.com)</p>
        
          <p>#网络 #网络通信
“开放系统互联参考模型”，即著名的<code>OSI/RM</code>模型（Open System Interconnection/Reference Model）
物理层（Physics Layer）、数据链路层（Data Link Layer）、网络层（Network Layer）、传输层（Transport Layer）、会话层（Session Layer）、表示层（Presentation Layer）、应用层（Application Layer）。其中第四层完成数据传送服务，上面三层面向用户。
<img src="https://www.runoob.com/wp-content/uploads/2018/09/1538030296-7490-20150904094019903-1923900106.jpg" alt=""></p>
<h1 id="osi七层模型">
<a class="header-anchor" href="#osi%e4%b8%83%e5%b1%82%e6%a8%a1%e5%9e%8b"></a>
OSI七层模型
</h1><h2 id="物理层">
<a class="header-anchor" href="#%e7%89%a9%e7%90%86%e5%b1%82"></a>
物理层
</h2><p><strong>该层为上层协议提供了一个传输数据的可靠的物理媒体。简单的说，物理层确保原始的数据可在各种物理媒体上传输。</strong>
物理层记住两个重要的设备名称，中继器（Repeater，也叫放大器）和集线器。</p>
<h2 id="数据链路层">
<a class="header-anchor" href="#%e6%95%b0%e6%8d%ae%e9%93%be%e8%b7%af%e5%b1%82"></a>
数据链路层
</h2><p>物理地址寻址、数据的成帧、流量控制、数据的检错、重发等。</p>
<ul>
<li><strong>1&gt; 数据链路层为网络层提供可靠的数据传输；</strong></li>
<li><strong>2&gt; 基本数据单位为帧；</strong></li>
<li><strong>3&gt; 主要的协议：以太网协议；</strong></li>
<li><strong>4&gt; 两个重要设备名称：网桥和交换机。</strong></li>
</ul>
<h2 id="网络层">
<a class="header-anchor" href="#%e7%bd%91%e7%bb%9c%e5%b1%82"></a>
网络层
</h2><p>路径选择、路由及逻辑寻址。
其中包括最重要的协议，也是<code>TCP/IP</code>的核心协议——<code>IP</code>协议。</p>
<ul>
<li><strong>1&gt; 网络层负责对子网间的数据包进行路由选择。此外，网络层还可以实现拥塞控制、网际互连等功能；</strong></li>
<li><strong>2&gt; 基本数据单位为IP数据报；</strong></li>
<li><strong>3&gt; 包含的主要协议：</strong>
<strong><code>IP</code>协议（Internet Protocol，因特网互联协议）;</strong>
<strong><code>ICMP</code>协议（Internet Control Message Protocol，因特网控制报文协议）;</strong>
<strong><code>ARP</code>协议（Address Resolution Protocol，地址解析协议）;</strong>
<strong><code>RARP</code>协议（Reverse Address Resolution Protocol，逆地址解析协议）。</strong></li>
<li><strong>4&gt; 重要的设备：路由器。</strong></li>
</ul>
<h2 id="传输层">
<a class="header-anchor" href="#%e4%bc%a0%e8%be%93%e5%b1%82"></a>
传输层
</h2><p>第一个端到端，即主机到主机的层次。
信息传送的协议数据单元称为段或报文。</p>
<ul>
<li>1&gt; 传输层负责将上层数据分段并提供端到端的、可靠的或不可靠的传输以及端到端的差错控制和流量控制问题；</li>
<li>2&gt; 包含的主要协议：<code>TCP</code>协议（Transmission Control Protocol，传输控制协议）、<code>UDP</code>协议（User Datagram Protocol，用户数据报协议）；</li>
<li>3&gt; 重要设备：网关。</li>
</ul>
<h2 id="会话层">
<a class="header-anchor" href="#%e4%bc%9a%e8%af%9d%e5%b1%82"></a>
会话层
</h2><p>会话层管理主机之间的会话进程，即负责建立、管理、终止进程之间的会话。会话层还利用在数据中插入校验点来实现数据的同步。</p>
        
        <hr><p>Published on 2026-04-08 at <a href='https://blog.qyt.li/x/'>qytlix no blogs</a>, last modified on 2026-04-08</p>]]></description><category>content</category><category>tech</category><category>技术</category></item><item><title>IP协议</title><link>https://blog.qyt.li/x/post/tech/%E6%8A%80%E6%9C%AF/ip%E5%8D%8F%E8%AE%AE/</link><pubDate>Wed, 08 Apr 2026 11:08:03 +0800</pubDate><author>qytlix@gmail.com (qytlix)</author><guid>https://blog.qyt.li/x/post/tech/%E6%8A%80%E6%9C%AF/ip%E5%8D%8F%E8%AE%AE/</guid><description>
<![CDATA[<h1>IP协议</h1><p>Author: qytlix(qytlix@gmail.com)</p>
        
          <p>#ip #网络
网络层（第三层）</p>
<h1 id="重要概念">
<a class="header-anchor" href="#%e9%87%8d%e8%a6%81%e6%a6%82%e5%bf%b5"></a>
重要概念
</h1><h2 id="路由器">
<a class="header-anchor" href="#%e8%b7%af%e7%94%b1%e5%99%a8"></a>
路由器
</h2><p>路由表
外网接口
内网接口
子网掩码</p>
<h2 id="主机">
<a class="header-anchor" href="#%e4%b8%bb%e6%9c%ba"></a>
主机
</h2><p>子网掩码</p>
        
        <hr><p>Published on 2026-04-08 at <a href='https://blog.qyt.li/x/'>qytlix no blogs</a>, last modified on 2026-04-08</p>]]></description><category>content</category><category>tech</category><category>技术</category></item></channel></rss>