{"format":"brushup-mindmap-v1","id":"04-network-layer","title":"网络层【王道】","structure":"logic-right","theme":"auto","root":{"id":"4f3a99b2478b5f2317e79a9dde","topic":"第四章 网络层","expanded":true,"children":[{"id":"ff78ec58981b678cb6bd58c5e9","topic":"网络层概述（湖科大）","expanded":true,"children":[{"id":"dd7cb2ee-f4cb-4327-8b46-025668bc51b3","topic":"网络层的主要任务是实现网络互连，进而实现数据包在各网络之间的传输","expanded":true},{"id":"f5ee8708-9e81-4d9a-9e43-108fae711df8","topic":"网络层任务","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"4b2bfd91-3b56-400a-94c3-94654494680d","topic":"网络层向运输层提供怎样的服务（可靠传输/不可靠传输）","expanded":true},{"id":"bf6fbab2-fec5-4d13-bc70-ca8d960a2cea","topic":"网络层寻址问题","expanded":true},{"id":"fbb94773-d778-4d8b-9863-936234a7ecbe","topic":"路由选择问题","expanded":true}]},{"id":"0d79517c-56be-4bc7-bf4e-7354a76014bf","topic":"TCP/IP协议栈","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"32af4c40-a4bc-4bfa-89e0-cabeb8f1668c","topic":"因特网是目前全世界数量最多的互联网，使用TCP/IP协议栈","expanded":true},{"id":"ab5ec3cf-8833-47fc-b86d-dda4919e80ab","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-0ede48bd10334e.png","width":446.79,"height":163.84},"children":[{"id":"f1fb4955-1d65-4365-9a1e-e19c3ce5afd2","topic":"网络接口层包括了物理层和数据链路层","expanded":true}]}]},{"id":"34b97e1f-48cd-410f-b8d2-ea9a85912ee9","topic":"提供两种服务","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"cbec576f-8dca-43e1-8372-60edf73177d0","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-7ad6611f9db1fb.png","width":633.79,"height":214.83},"children":[{"id":"499becb3-56b8-4d4b-af4c-4cb5b72588e5","topic":"数据报服务","expanded":true,"children":[{"id":"7b0c32a0-b8af-459c-942a-d4478fb74fe5","topic":"由于网络本身不提供端到端的可靠服务，使网络中路由器可以做得比较简单、价格低廉（电信网交换机相比较）","expanded":true},{"id":"221aa34d-6c26-491f-8b75-33bf6547dcb4","topic":"因特网设计思想：将复杂的网络处理功能置于因特网的边缘（用户主机和其内部的运输层），相对简单的尽最大努力的分组交付功能置于因特网核心","expanded":true}]},{"id":"2c75c47a-553f-4094-9300-014db5f08778","topic":"由于TCP/IP体系结构的因特网的网络层提供的是简单灵活、无连接的、尽最大努力交付的数据报服务，因此本章主要围绕网络层如何 传送IP数据报讨论","expanded":true}]}]}]},{"id":"59b0066a-d5d7-4024-89fa-3277f6573ac1","topic":"网络层功能（王道）","expanded":true,"children":[{"id":"4dd1e637-daa3-4912-8f39-e39fa92095ee","topic":"异构网络互联","expanded":true,"children":[{"id":"342cd31d-edae-48bc-955b-fa5ba3c3dfb7","topic":"网络互联","expanded":true,"children":[{"id":"af126136-9aed-4742-ab56-dbfb7deb0a25","topic":"将两个以上的计算机网络，通过一定的方法，用一种或多种通信处理设备（即中继系统）相互连接起来，以构成更大的网络系统","expanded":true,"children":[{"id":"bae6fcf6-bc62-4c2a-9392-8a47d8886c4f","topic":"在任意结点间进行数据报传输","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]},{"id":"2a0a5d7e-2dda-446f-b94d-df688e461195","topic":"中继系统","expanded":true,"children":[{"id":"80440a00-3676-423b-8179-e19dddea9fcb","topic":"物理层中继系统","expanded":true,"children":[{"id":"6b0181e6-a7c7-419a-a5e1-36b234b0dde1","topic":"中继器、集线器","expanded":true}]},{"id":"e3388dc4-2022-4033-a5c9-d5cf601c4b15","topic":"数据链路层中继系统","expanded":true,"children":[{"id":"9b9f5b4a-389a-4ef1-9d0a-60656236cc5b","topic":"网桥或交换机","expanded":true}]},{"id":"b7dd605f-6e82-4d92-b44b-659a95f57d70","topic":"网络层中继系统","expanded":true,"children":[{"id":"782a75b5-938f-47e1-a144-d15a726ea42a","topic":"路由器（相互连接的网络可以是异构的）","expanded":true}]},{"id":"abd6363e-c62d-4c87-b0cc-8188a61bdce7","topic":"网络层以上中继系统","expanded":true,"children":[{"id":"043f3385-7e40-4b31-884b-ea3112b41ec1","topic":"网关","expanded":true}]}]},{"id":"0616075b-9e89-4134-8e13-6631d433d801","topic":"虚拟互联网络","expanded":true,"children":[{"id":"1bd9abd7-a623-4252-8008-43e60c6d670a","topic":"逻辑互联网络，即互联的各种物理网络的异构性本来是客观存在的，但通过使用IP就可以使这些性能各异的网络在网络层上看起来是一个统一的网络","expanded":true},{"id":"da8cc73b-8cbe-4435-b7c2-c409150e96df","topic":"即互联网主机通信，好像就在一个网络上，看不见网络异构细节","expanded":true}]}]},{"id":"b3646390-79d6-4382-b1a2-3a7bfc2469b7","topic":"SDN的基本概念（近年新考点）","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#15831C"},"children":[{"id":"ea28942e-fee9-47d6-9b95-dc6287a3caf0","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-d2cb35abacb993.png","width":681.29,"height":345.57},"children":[{"id":"7f7d3677-a66f-4b08-9765-62a2361869c0","topic":"数据平面（转发、位于路由器中、硬件）","expanded":true},{"id":"94a0e0f0-5fb8-4381-8df2-d9a3423cdfee","topic":"控制平面（路由选择、软件）","expanded":true,"children":[{"id":"c9f11cf5-cea3-4803-8d90-0e5bf5a9d2c8","topic":"传统方法：位于路由器中","expanded":true},{"id":"4736229f-54c0-47f8-98a6-850ceecb66e0","topic":"SDN：位于远程控制器中","expanded":true,"children":[{"id":"fe74f218-b40c-4e2f-b302-ce6d62c37192","topic":"网络控制应用程序","expanded":true},{"id":"1a895032-0588-401f-9e34-48411acf3886","topic":"SDN控制器","expanded":true,"children":[{"id":"8373046a-bb8b-48bb-8171-d536b2196351","topic":"北向接口：SDN控制器通过“北向接口”与网络控制应用程序交互","expanded":true},{"id":"8bb2bec6-1466-4248-8310-91c7e38a1c98","topic":"网络范围状态管理层：做出最终控制决定，要求有网络主机、链路等最新状态信息","expanded":true},{"id":"2fb340a1-b480-4564-8e4e-59ba34c63f8f","topic":"通信层（南向接口、通信协议）：SDN控制器与受控网络设备之间的通信，包含“南向接口”","expanded":true}]},{"id":"00016f21-6d9e-410c-95ef-f49ae3f5c736","topic":"受控网络设备","expanded":true}]}]}]}]},{"id":"71bb4a88-dfec-463c-8a35-82ba02f988b2","topic":"路由与转发（路由选择+分组转发）","expanded":true},{"id":"3be5dde6-58d2-4b48-974b-2da69789ba6c","topic":"用塞控制","expanded":true,"style":{"branchColor":"#15831C"},"children":[{"id":"ea0db8d4-5254-4f8a-89d8-2b252caa4227","topic":"概念","expanded":true,"children":[{"id":"08bf26d9-5b1e-4018-9d64-6aa772a4a1f9","topic":"在通信子网中，因出现过量的分组而引起网络性能下降的现象称为拥塞","expanded":true}]},{"id":"ca7f3870-0b1d-4a84-a648-c79dc9bd1268","topic":"判断方法","expanded":true,"children":[{"id":"93ceb24b-4c67-40af-8c21-829c4225d37f","topic":"轻度拥塞：随着网络负载的增加，网络的吞吐量明显小于正常的吞吐量","expanded":true},{"id":"3ea5a1f8-dcf5-4d4f-901c-6c8d5fd499bb","topic":"拥塞状态：网络的吞吐量随着网络负载的增大而下降","expanded":true},{"id":"1f04a1b9-3903-40f0-9400-19a7fd5c8043","topic":"死锁状态：网络的负载继续增大，而网络的吞吐量下降到0","expanded":true}]},{"id":"a863ef0c-d6e2-4b7f-992f-4dbf342a2d33","topic":"实现","expanded":true,"children":[{"id":"a7d93e26-45d2-4074-b9d1-20edfd3e375e","topic":"合理优化主机、路由器和路由器内部的转发处理过程","expanded":true},{"id":"0b2cb8fc-3dbe-46ef-b815-873f60b1ace6","topic":"单一的增加资源不能解决拥塞问题","expanded":true}]},{"id":"4ffa0bea-23d4-4ba5-8e4f-fb5c7f930066","topic":"拥塞控制的方法","expanded":true,"children":[{"id":"323e965f-e461-4692-805b-052277c3f94d","topic":"开环控制","expanded":true,"children":[{"id":"20d1c5b2-6fc6-4b9b-9ba6-ad48512f6724","topic":"设计网络时事先将有关发生拥塞的因素考虑到","expanded":true}]},{"id":"e04146c0-5b66-4b44-a597-e1f95a3c0b7a","topic":"闭环控制","expanded":true,"children":[{"id":"85bcb77d-46f1-4b24-8475-097998c8a35d","topic":"事先不考虑有关发生拥塞的各种因素，采用监测网络系统去监视，及时检查哪里发生了拥塞，然后将拥塞信息传到适合的地方","expanded":true}]}]}]}]},{"id":"1ff19858-c6af-4b7c-a2eb-271288052ab8","topic":"IP数据报的发送","expanded":true,"children":[{"id":"b9d6eb10-2142-4239-8481-59f65a9b2628","topic":"IPv4数据报","expanded":true,"children":[{"id":"61f50799-b4a0-4e54-824e-d25173849999","topic":"数据报首部","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"6dd36877-dcc3-46a0-b2ec-491820bf3e18","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-ef277d41ce9bc1.png","width":639,"height":214.81},"children":[{"id":"24c3a4b8-a56a-4d94-b888-e5077edbba62","topic":"版本：指IP版本，目前广泛使用的版本号是4","expanded":true},{"id":"84b4e330-adc8-4df2-bce6-d562a6e6eb0f","topic":"首部长度：最大值为60B，最常用20B","expanded":true,"children":[{"id":"967dda9a-8322-49b1-8947-2d435585234f","topic":"基本单位为4B","expanded":true}]},{"id":"36ec8aa2-fc79-4d8f-9e86-aa494463dcf9","topic":"总长度：首部与数据之和，最大为65535B","expanded":true,"children":[{"id":"4a450825-b0c9-4672-b917-9db08715e34a","topic":"基本单位为1B","expanded":true}]},{"id":"329739d0-de9d-486f-824a-b9f0c438d967","topic":"标识：计数器，每产生一个数据报就+1","expanded":true},{"id":"2da3c82c-a896-4c70-a8b8-d63099cb57b2","topic":"标志：3位，最低位MF，中间位DF","expanded":true,"children":[{"id":"76046f13-439b-4904-932e-eafc32965bf3","topic":"MF：More Fragment（1表还要分片，0表最后一个分片）","expanded":true},{"id":"91363df4-394b-4c14-b595-8c66c26ffdb4","topic":"DF：Don't Fragment（1表不能分片，0表可以分片）","expanded":true}]},{"id":"56aa4c65-23b7-4aaa-847b-b95def33faca","topic":"片偏移：指出分片后，某片在原分组中的相对位置","expanded":true,"children":[{"id":"a7b9c4fb-ca7f-4e1e-b1a4-468a58cde99b","topic":"基本单位为8B","expanded":true}]},{"id":"b109f2a5-02dc-4fe9-9503-7eacc43e0877","topic":"生存时间 TTL：防止路由环路，每次转发TTL - 1，当TTL为0则丢弃","expanded":true},{"id":"0fdc4628-c1f0-4bc0-9919-86f04ef62a09","topic":"协议：指出该分组使用的协议（TCP：6，UDP：17）","expanded":true,"children":[{"id":"b01229f7-5747-4f5b-b36f-171f20c73de6","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-e10e8d5b13a82a.png","width":353.94,"height":31.12}}]},{"id":"7399e009-d8d1-4269-8383-f11b83b11461","topic":"首部校验和：仅校验分组的首部","expanded":true},{"id":"14aa203e-c149-4e44-bf67-3d750db09bb4","topic":"源地址字段/目的地址字段：IP地址","expanded":true}]}]},{"id":"4c795234-0188-4e5b-8c35-c91118222f71","topic":"数据报数据部分","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"f72b643f-9555-4494-8d9b-c8f26c74b9c0","topic":"最大传送单元 MTU：一个链路层数据报能承载的最大数据量","expanded":true,"children":[{"id":"6ba16c2f-622e-4bce-8198-ae7c382fef99","topic":"以太网：1500B","expanded":true},{"id":"ffad6f9e-87cd-479f-94dc-78298d764072","topic":"广域网：576B","expanded":true}]},{"id":"28e4842e-4848-4099-8432-7cf4837f907f","topic":"分片：当数据报长度大于链路MTU时，就要对其进行分片传输，分片会在目的地进行组装，不会在中间路由处组装","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]},{"id":"a7073d0f-84d9-4a22-925d-6fb3cbf24867","topic":"图示","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#BA69C8"},"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-e68612040faf1f.png","width":546.78,"height":242.67},"children":[{"id":"716edda7-5ef7-4acd-9e74-42b13e7b95ef","topic":"主机发送IP数据报","expanded":true,"children":[{"id":"59fa4fb8-5556-40d4-9b00-64a030657996","topic":"判断主机是否与自己在同一个网络（本机IP地址与子网掩码相与得到主机的网络地址，目的IP地址与本机的子网掩码相与得到目的网络地址，判断是否相等）","expanded":true,"children":[{"id":"db8a294e-2293-4d1b-9e7e-c7b1a7d69641","topic":"若在同一个网络，则属于直接交付","expanded":true},{"id":"0de3569e-0574-4705-bac7-95a4fc410cc4","topic":"若不在同一个网络，则属于间接交付，传输给主机所在的默认网关","expanded":true}]}]},{"id":"54071e27-cbd6-4063-b5fa-f6722ef237ee","topic":"路由器转发IP数据报","expanded":true,"children":[{"id":"26d7f5ab-9221-4fa5-839c-93ef09981a5b","topic":"检查IP数据报首部是否出错","expanded":true,"children":[{"id":"15b47292-e0ac-4100-96d0-4adefce8475e","topic":"若出错，则直接丢弃该IP数据报并通告源主机","expanded":true},{"id":"91d26db4-9d90-40af-9e60-85386e8b748d","topic":"若未出错，则进行转发","expanded":true}]},{"id":"e2a68351-a60f-4b0d-be59-6021a5406343","topic":"根据IP数据报的目的地址在路由表中查找匹配的条目","expanded":true,"children":[{"id":"84c64d13-db81-4cba-a03f-65bc016bb418","topic":"若找到匹配的条目，则转发给条目中指示的下一跳","expanded":true},{"id":"5af6e1c8-d2ed-424e-bfe6-d1f062c1e150","topic":"若找不到，则丢弃该IP数据报并通告源主机","expanded":true}]},{"id":"baaffb4d-2aa5-436c-a72e-e7b5f08f559d","topic":"某主机发送本网段或其他网段的广播数据报，路由器不会转发","expanded":true}]}]},{"id":"103efaa6-c26b-4d0f-af41-dde71f28fe10","topic":"静态路由配置及其可能产生的路由环路问题","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"c03c7e66-afe0-4f04-8973-a8c1bfbbd6cc","topic":"静态路由配置：给路由器人工配置路由表","expanded":true,"children":[{"id":"88dbca7a-6c01-4fb5-ad07-b10855d1e4cd","topic":"方式简单、开销小。但不能及时适应网络状态（流量、拓扑等）的变化","expanded":true},{"id":"ecc44967-c831-4928-83c3-7416195ee24a","topic":"一般在小规模网络中采用","expanded":true}]},{"id":"cb8264f8-2391-4a24-9910-92198136187f","topic":"路由环路的错误","expanded":true,"children":[{"id":"70ad7918-bd22-4657-b18b-b9962cc1bd52","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-e2c7419f5912f8.png","width":514.06,"height":271.89},"children":[{"id":"9b0ca730-139b-4e45-8cba-fbb5689bf4ed","topic":"配置错误","expanded":true},{"id":"32de479d-b203-417a-80aa-4d744e99aa10","topic":"聚合了不存在的网络","expanded":true,"children":[{"id":"ac65d6be-371b-4001-87f6-8b6dee09b63f","topic":"以此举例，解决：给R2路由表添加黑洞路由","expanded":true}]},{"id":"cc413737-a7da-4ec7-b7c7-cc5d0e10a61f","topic":"网络故障","expanded":true}]}]},{"id":"b3ff2d8c-c9d5-4715-8f3b-232c82a9e50c","topic":"路由表条目类型","expanded":true,"children":[{"id":"a19ed772-5764-4cb0-8fc1-f9a05d722434","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-c38c1d3747cfa0.png","width":240.54,"height":101.05},"children":[{"id":"6857b2ca-41ab-4985-9f6e-7b53559ecf2f","topic":"直连网络","expanded":true},{"id":"08c80efa-3307-45f4-b0bc-9c94da0adbd4","topic":"静态路由（人工配置）","expanded":true},{"id":"8fe22e9d-a148-421e-ab67-b4852832af5a","topic":"动态路由（路由选择协议）","expanded":true}]}]},{"id":"11fec8c2-c9f7-42dc-b892-150a470128ea","topic":"特殊的静态路由条目","expanded":true,"children":[{"id":"87f023ee-b466-42fb-84e9-657a26742b41","topic":"默认路由（目的网络0.0.0.0，地址掩码0.0.0.0）","expanded":true},{"id":"92176c6f-7cfa-44eb-bc10-d70e6e081e3d","topic":"特定主机路由（目的网络为特定主机的IP地址，地址掩码为255.255.255.255）","expanded":true},{"id":"084ac3f0-bcc0-4ac9-a379-b471d8f80be8","topic":"黑洞路由（下一跳null 0）","expanded":true}]}]}]},{"id":"601852b68c198615eecac861ed","topic":"IPv4地址","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"15da17cf-d8d7-4ecd-811d-42a72f633a1d","topic":"概述","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"6401c4ab-4821-44cf-9a5f-ea160597ca6f","topic":"IPv4地址就是给因特网上的每一台主机（或路由器）的每一个接口分配一个在全世界范围内是唯一的32比特的标识符","expanded":true},{"id":"f893a98d-31e7-433b-a14c-4d06f341c191","topic":"32比特的IPv4地址不方便阅读、记录以及输入等，因此IPv4地址采用点分十进制表示方法以方便用户使用","expanded":true}]},{"id":"fef8120f-dcd1-48d9-90c5-cc32cbd8e76e","topic":"分类编址（1981年）","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"9f4d1897-8177-4dbb-8604-dc8366002494","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-cffb1a41d711e9.png","width":439.66,"height":390.72},"children":[{"id":"ef3e6007-eeed-4c77-9a3a-42c1f8895052","topic":"原则","expanded":true,"children":[{"id":"9adc62ce-511c-4c01-9521-555b12e2692b","topic":"只有A、B、C类地址可分配给网络中的主机或路由器的各接口","expanded":true},{"id":"145623a7-ba15-41f8-84bf-4562846cdcd3","topic":"主机号为“全0”的地址是网络地址，不能分配给主机或路由器的各接口","expanded":true},{"id":"b30a9ccb-e6f0-4bef-a451-c4491ea2a476","topic":"主机号为“全1”的地址是广播地址，不能分配给主机或路由器的各接口","expanded":true},{"id":"b1cc5186-8111-4912-baaa-e91b472a2c18","topic":"当A类地址时","expanded":true,"children":[{"id":"6dde8b7e-b607-45a4-9b62-f4bbc134810b","topic":"网络号“全0”，保留不指派；","expanded":true},{"id":"59936612-adab-4340-8124-3e09fe85ed3d","topic":"网络号“全1”，127，作为本地环回测试地址，不指派","expanded":true}]}]},{"id":"12053cc2-0794-448d-a812-b67926a1f068","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-e019e1b66c131c.png","width":598.51,"height":141.6}}]}]},{"id":"fa3cfc00-4f1c-4cef-a9f9-a2aff36eb331","topic":"以下方式是为了缓解IPv4地址不够用","expanded":true,"style":{"branchColor":"#CE4289"}},{"id":"2969d7e7-3480-4f53-bf22-d8ce55b28bbf","topic":"划分子网（1985年）","expanded":true,"children":[{"id":"5e256079-c4e0-49c3-a866-20705c05cb16","topic":"为新增网络申请新的网络号会带来以下弊端","expanded":true,"children":[{"id":"ccea6078-c794-42d0-b9eb-f9dab85c114a","topic":"需要等待时间和花费更多的费用","expanded":true},{"id":"0e7d8b5f-21f8-404e-b1a5-1f346c9173d1","topic":"会增加其他路由器中路由表记录的数量","expanded":true},{"id":"60ece635-e258-4117-ac8d-e93fd7567325","topic":"浪费原有网络号中剩余的大量IP地址","expanded":true}]},{"id":"6a35e729-1358-4fbd-8710-a79033ede1e0","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-7427a997a42dde.png","width":505.96,"height":102.66},"children":[{"id":"451147d0-1a39-4abb-abfd-0da6f4bbf2c0","topic":"可以从主机号部分借用一部分比特作为子网号","expanded":true},{"id":"49b80b7a-4ae2-4c00-b8d2-e66b8393736e","topic":"子网掩码使用连续的1来对应网络号和子网号；用连续的0来对应主机号","expanded":true},{"id":"b3da16c3-3029-4983-9b76-357542113b1f","topic":"将划分子网的IPv4地址与其相应的子网掩码进行逻辑与运算就可得到IPv4地址所在子网的网络地址","expanded":true}]},{"id":"e0e395a7-51e5-4d06-af54-a2328f5b338d","topic":"默认的子网掩码是指在未划分子网的情况下使用的子网掩码","expanded":true,"children":[{"id":"6fec7a18-1a8e-4397-8bab-560809b153d9","topic":"A类：255.0.0.0              B类：255.255.0.0                 C类：255.255.255.0","expanded":true,"children":[{"id":"b67614ec-7f6a-443e-8ad2-5c3cb0f514ec","topic":"划分子网好处，减少广播域大小","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]}]},{"id":"5cb20d7a-7308-43a7-a83e-e14d5fa7a218","topic":"无分类编址（1993）","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"7402d0e2-3dfa-4220-838a-5394190bf8ec","topic":"引入","expanded":true,"children":[{"id":"8e6e0893-3022-427f-a963-0db94cc92637","topic":"划分子网在一定程度上缓解了因特网在发展中遇到的困难，但是数量巨大的C类网因为其地址空间太小并没有得到充分使用，而因特网的IP地址仍在加速消耗","expanded":true,"children":[{"id":"c2938695-fb1c-4ca5-b23f-aeb8359c60eb","topic":"提出无分类编址的方法","expanded":true}]}]},{"id":"28c91ef3-9510-46d4-ae10-7cb26439077f","topic":"无分类域间路由选择CIDR","expanded":true,"children":[{"id":"83920d1f-b5ea-4658-8eb8-f2f640ecb3f8","topic":"CIDR消除了传统的A类、B类和C类地址，以及划分子网的概念，可以更加有效地分配IPv4的地址空间","expanded":true},{"id":"48b602bc-59b9-47ea-83a1-df93127ff652","topic":"使用“斜线记法”，斜线后面写上网络前缀所占的比特数量 e.g. 218.75.230.0/24","expanded":true},{"id":"b46debef-9328-4603-93ae-5f54f90d7613","topic":"实际上是将网络前缀都相同的连续的IP地址组成一个“CIDR地址块”","expanded":true}]},{"id":"0b84c07b-0f56-4acd-b41a-fc29784d565b","topic":"路由聚合","expanded":true,"children":[{"id":"ff914920-a1b2-41b4-8735-040e30fd8c69","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-0ae37fc40044fe.png","width":526.81,"height":188.95},"children":[{"id":"7c18ce08-fe91-45ba-b740-d52a0cc46d95","topic":"路由聚合（构造超网）的方法是找共同前缀","expanded":true},{"id":"94a7cf89-38e2-4f67-911b-9204f2866eaa","topic":"网络前缀越长，地址块越小，路由越具体","expanded":true},{"id":"c972aeea-06b2-4fd1-b860-56aef4cb2f7c","topic":"若路由器查表转发分组时发现有多条路由可选，则选择网络前缀最长的那条，称为最长前缀匹配（最具体的路由）","expanded":true}]}]}]},{"id":"84300f1f-4e19-4890-bca9-c2914933140e","topic":"定长/变长子网掩码","expanded":true,"children":[{"id":"40258dcc-5623-4a55-9082-f96b57a681e4","topic":"定长的子网掩码FLSM","expanded":true,"children":[{"id":"d02dc849-5119-4048-9c64-77d640719ac7","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-0c9084b944b474.png","width":718.22,"height":277.73},"children":[{"id":"3633683d-871f-4738-b250-316da7ed7a95","topic":"使用同一个子网掩码来划分子网","expanded":true},{"id":"22b9a11c-f55b-4d4e-84da-1da107a8edee","topic":"子网划分方式不灵活：只能划分出2^n个子网（n是从主机号部分借用的用来作为子网号的比特数量）","expanded":true},{"id":"8248a59b-e429-445b-becd-cb0a4ef7bfd2","topic":"每个子网所分配的IP地址数量相同，容易造成IP地址浪费","expanded":true}]}]},{"id":"94f2f3ba-bd41-4844-a8cc-038040779aca","topic":"变长的子网掩码VLSM","expanded":true,"children":[{"id":"8f6a4daa-44a5-4f57-a4e8-f3f3a2c0da8a","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-8370a4ca5c45a2.png","width":597.56,"height":297.32},"children":[{"id":"d87be031-4a8c-4625-b3e0-4c80c83672e7","topic":"使用不同的子网掩码来划分子网","expanded":true},{"id":"63399c5b-3551-4f5b-ab6f-621d515b83bf","topic":"子网划分方式灵活：可以按需分配","expanded":true},{"id":"82399bf4-ff7f-4177-af29-162e98ed711c","topic":"每个子网所分配的IP地址数量可以不同，尽可能减少对IP地址的浪费","expanded":true},{"id":"cabebaa0-53c9-47e8-9e24-94d315d4a55a","topic":"原则：互不重复，没有剩余","expanded":true,"style":{"borderColor":"#EB4D3D"},"children":[{"id":"e89393b2-5a39-4ce0-ae3c-d92d2857539d","topic":"可用前缀匹配方法，建立二叉树","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]}]}]},{"id":"bfa9f87b-7fe4-495a-a27d-30f1a3104b30","topic":"NAT（1994）","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"8b518b95-21aa-46e7-9e39-3230494adb96","topic":"概述","expanded":true,"children":[{"id":"843b94b5-2fc0-4c2e-80b3-da10df5cbad9","topic":"通过将专用网络地址转换为公用地址，从而对外隐藏内部管理的IP地址，目的同样也是延缓IPv4地址用尽","expanded":true}]},{"id":"c88397e2-8256-4157-91e3-2a845d691739","topic":"过程","expanded":true,"children":[{"id":"66e99476-c3f9-43fe-8015-588046d6e707","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-ba83445251f4eb.png","width":614.08,"height":212.99},"children":[{"id":"ae40d798-da7e-4c7c-bdb7-0f78f50a9b88","topic":"NAT路由器至少有一个有效的外部全球地址，私有地址<-------->公有地址（软件）","expanded":true},{"id":"6809d6ee-9f08-44ee-833d-6d7e379230c5","topic":"私有地址","expanded":true,"children":[{"id":"9b15db42-b4e6-4057-9a60-abff0ba2a41d","topic":"划分部分IP地址为私有地址，私有地址不能直接用于互联网","expanded":true},{"id":"d566611d-51b4-4153-b5ea-50360249777f","topic":"图示","expanded":true,"style":{"borderColor":"#EB4D3D"},"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-a719419201d554.png","width":344.71,"height":126.72}}]},{"id":"091228ac-16e0-4940-91ae-8c581bf4e519","topic":"NAT转换表","expanded":true,"children":[{"id":"81950f64-ea86-40cd-ac96-81e0ab884e33","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-bc9fd73d87bce5.png","width":381.77,"height":94.46},"children":[{"id":"b62eca13-6b79-49a6-a0c4-e8a6d37a47dc","topic":"只要有IP地址或端口号不匹配，则丢弃，表项由管理员修改","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]}]}]}]}]},{"id":"7a80dc5f-6a81-4d73-97b7-080e7122a24c","topic":"路由转发过程","expanded":true,"children":[{"id":"2c02ae9c-2dcb-48da-9501-6625d3da4789","topic":"路由算法","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"f60eddc7-6694-4a0f-bfc0-3e838b39119e","topic":"静态路由算法","expanded":true,"children":[{"id":"6bd624f7-bdb3-4e79-ba8e-0b1b15f0167c","topic":"非自适应路由算法，由网络管理员手工配置的路由信息","expanded":true},{"id":"73c4ba82-4bda-4d77-98f1-8f99cf294ed1","topic":"大型和复杂的网络环境通常不宜采用，管理员难以全面了解网络拓扑变化；发生改变后需大范围修改和调整路由信息","expanded":true}]},{"id":"fe4a590e-f39e-4f81-b91c-b17c9d68e315","topic":"动态路由算法","expanded":true,"children":[{"id":"440d95e9-9c3f-4258-868b-9c7fe7c2722e","topic":"距离-向量路由算法","expanded":true,"children":[{"id":"97014fd9-0dd0-4fe8-8231-e3bb2668f023","topic":"所有结点都定期地将它们的整个路由选择表传送给所有与之之间相邻的结点","expanded":true},{"id":"a6ac4431-836d-4f8e-a241-bcdda52b3e66","topic":"路由选择表内容","expanded":true,"children":[{"id":"6b4ce0fb-f403-4dac-b95c-b3dc18385706","topic":"每条路径的目的地（另一结点）","expanded":true},{"id":"49ee677d-a673-4d9c-9460-06e0ce918de1","topic":"路径的代价","expanded":true}]},{"id":"6983c980-7a6e-4be6-ba6f-66155b33d941","topic":"更新条件","expanded":true,"children":[{"id":"25b5363a-06cf-4e76-be5b-29b6dded9c2d","topic":"被通告一条新的路由，该路由在本结点的路由表中不存在，此时本地系统加入这条路由","expanded":true},{"id":"43f3d08a-80e3-4f98-b097-586cf1e7c14d","topic":"来的路由信息中有一条到达某个目的地的路由，该路由与当前使用的路由相比，有较短的距离（较小的代价）","expanded":true}]},{"id":"181da857-8f88-43ca-bf5e-36888bbbc2c4","topic":"容易出现路由环路问题，RIP","expanded":true}]},{"id":"23443183-6a32-4473-b28a-198eef78fd66","topic":"链路状态路由算法","expanded":true,"children":[{"id":"8aa5baa4-2a01-4755-b5d3-b5962fdd54ec","topic":"原理","expanded":true,"children":[{"id":"c10850df-c8d8-4ead-901b-e2bd0144eae3","topic":"链路状态路由算法要求每个参与该算法的结点都具有完全的网络拓扑信息","expanded":true},{"id":"ddfbd67a-7ed5-4c74-92e8-a1377c7a3aca","topic":"主动测试所有邻接结点的状态","expanded":true},{"id":"deb876ed-14d3-4567-a2a8-47d6ece1d714","topic":"定期地将链路状态传播给所有其他结点（或称路由结点）","expanded":true}]},{"id":"800c11b6-0def-49b2-a36f-109af99ba746","topic":"特点","expanded":true,"children":[{"id":"522bf3e0-e6f7-4619-86ec-e64129513c52","topic":"使用洪泛法向所有相邻的路由器发送信息，然后相邻路由器又向其他相邻路由器发送信息","expanded":true},{"id":"d601e270-c35f-4207-b2fc-f649d7275ed2","topic":"发送的信息是与路由器相邻的所有路由器的链路状态，但这只是路由器所知道的部分信息","expanded":true},{"id":"4331f1d7-57f8-49ff-8b09-4dacb07d6667","topic":"只有当链路状态发生变化时，路由器才向所有路由器发送此信息","expanded":true}]},{"id":"d6524e6f-495c-4713-a9d5-354b0d250122","topic":"用于大型或路由变化骤敛的环境，OSPF","expanded":true}]}]},{"id":"9518e3e5-7c73-48e4-9547-1b7ec716ce0e","topic":"层次路由","expanded":true,"children":[{"id":"d85037c3-a05e-4302-80f3-827eb4ebe1ab","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-7b500cc67e7538.png","width":560.97,"height":195.1},"children":[{"id":"ea542646-b3e3-4361-aab3-e145fd4ea4fc","topic":"内部网关协议IGP","expanded":true,"children":[{"id":"156dad4e-48ea-48cf-8225-69ec58716d04","topic":"路由信息协议RIP（基于距离向量）","expanded":true},{"id":"ceaceea6-0ead-43e7-bbad-817afbb5a472","topic":"开放式最短路径优先OSPF（基于链路状态）","expanded":true}]},{"id":"8e39274e-b3c1-4e96-9926-17685bd1b9cb","topic":"外部网关协议EGP","expanded":true,"children":[{"id":"ccabe150-6858-495d-859b-f22fe7b1c0bc","topic":"边界网关协议BGP","expanded":true}]}]}]},{"id":"85de91e8-9a63-44fa-95b2-0244919d1b9a","topic":"路由收敛","expanded":true,"children":[{"id":"561098d1-a51e-46ac-b3fd-c0d6187fb296","topic":"网络设备的路由表与网络拓扑结构保持一致","expanded":true}]}]},{"id":"73350d8e-1435-4d14-b827-cc23a70ea385","topic":"路由信息协议RIP","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#15831C"},"children":[{"id":"89be5f2f-b33a-47d5-8d70-01a82a16dc4a","topic":"概述","expanded":true,"children":[{"id":"0cf617fc-f642-48d3-8589-a285474a9a88","topic":"RIP要求自治系统AS内每个路由器维护从它自己到AS内其他每个网络的距离记录。这是一组距离，称为“距离向量”","expanded":true},{"id":"1e838406-bb56-457e-b2d8-b50a55e76d05","topic":"RIP使用跳数作为度量来衡量到达目的网络的距离，距离等于16时不可达，因此RIP只适用于小型互联网","expanded":true},{"id":"9dbea4eb-b5dd-4bcb-aed9-5dc81707e4b8","topic":"当到达同一目的网络有多条“距离相等”的路由时，可以进行等价负载均衡","expanded":true},{"id":"d54fb14f-d931-4197-a040-f425fd5d9215","topic":"应用层协议，使用UDP","expanded":true}]},{"id":"781eb1fe-1a5a-4ba3-9c0e-ec2ab96c05e4","topic":"要点","expanded":true,"children":[{"id":"1a1caf3c-120e-4876-bc96-04688db5c47c","topic":"和谁交换信息","expanded":true,"children":[{"id":"8df1f7f2-3f98-4308-86a8-865d0ecf770a","topic":"仅和相邻路由器交换信息","expanded":true}]},{"id":"c9bfa67f-9270-4e16-906e-11d6f2588563","topic":"交换什么信息","expanded":true,"children":[{"id":"0f93cb4c-d154-4403-bb11-da15a6eff155","topic":"自己的路由表","expanded":true}]},{"id":"e1678651-4747-4ae1-a597-9ba4fbef4f92","topic":"何时交换信息","expanded":true,"children":[{"id":"fca9fd5f-99cb-4cac-b3cd-e43a613ccf46","topic":"周期性交换（例如每30秒）","expanded":true}]}]},{"id":"cf5306ad-4157-4064-817c-138e3ed4c967","topic":"基本过程","expanded":true,"children":[{"id":"2c5e17a3-9027-46ee-b9e6-96e6636f3c11","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-5607c16f5eafc1.png","width":366.05,"height":300.17},"children":[{"id":"1b8c9040-cf93-4dc9-a1c7-829a09cf7c97","topic":"路由器刚开始工作时，只知道自己到直连网络的距离为1","expanded":true},{"id":"c8f0fb38-e65d-4ba9-a25c-1586685cb152","topic":"每个路由器仅和相邻路由器周期性地交换并更新路由信息","expanded":true},{"id":"fc0f9abe-8a1d-42df-81c6-a70572933ed5","topic":"若干次交换和更新后，每个路由器都知道到达AS内各网络的最短距离和下一跳地址，称为收敛","expanded":true}]}]},{"id":"46baf3aa-e1ef-46c9-ba25-375e519d6375","topic":"坏消息传播得慢","expanded":true,"children":[{"id":"95156b51-0be8-4db4-9be9-ae0fa5a6fc9b","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-945be5301bec92.png","width":488.18,"height":187.55},"children":[{"id":"e576a06a-5db0-45b4-b63e-202504d21b79","topic":"又称路由环路或距离无穷计问题，这是距离向量算法的一个固有问题","expanded":true,"style":{"borderColor":"#EB4D3D"}},{"id":"1e0fadb0-d9ee-4ba9-b029-ffeb2dfff840","topic":"解决","expanded":true,"children":[{"id":"bee96c9e-5936-496f-94fa-d8a7672e8f83","topic":"限制最大路径距离为15（16不可达）","expanded":true},{"id":"6326ea46-e21b-4260-9467-65736abae2df","topic":"当路由器发生变化时就立即发送更新报文“触发更新”，而非周期性发送","expanded":true},{"id":"c41ec52a-9bb5-46c7-8d3d-9023b87ec517","topic":"让路由器记录收到某特定路由信息的接口，不让同一路由信息再通过此接口的反方向传送“水平分割”","expanded":true}]}]}]}]},{"id":"7fe020fc-de8b-4d23-8b29-480b15860e5a","topic":"开放最短路径优先OSPF","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"63e5ad7a-61f0-40c2-a9d7-05faec072755","topic":"概述","expanded":true,"children":[{"id":"66cbb0f4-7c65-42fa-b1a6-51bdd6b50c32","topic":"OSPF是基于链路状态的，而不像RIP基于距离向量","expanded":true},{"id":"e7d893ae-b034-4be6-ae9d-38608bb45aba","topic":"采用最短路径算法SPF计算路由，保证不会产生路由环路，不限制网络规模，更新/收敛速度快","expanded":true},{"id":"8836778a-9c36-4c1e-bc2c-21acdc379c6a","topic":"链路状态","expanded":true,"children":[{"id":"472c1cc0-4e7e-4ce0-b715-4d4ab2b814c7","topic":"指路由器都和哪些路由器相邻，以及相应链路的“代价”（代价：费用、距离、时延、带宽等）","expanded":true}]}]},{"id":"6b3b22d4-2922-47c4-982b-d27bffd34c53","topic":"基本过程","expanded":true,"children":[{"id":"dbc03199-ce29-4399-b062-e9be4dc65db8","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-3fd941224fecb2.png","width":498.16,"height":273.4},"children":[{"id":"b6177661-292a-44b1-87fd-f49138eed90e","topic":"OSPF的每个路由器都会产生链路状态通告LSA，包含","expanded":true,"children":[{"id":"02192e4f-3d19-4b24-a803-ae8ef213cf12","topic":"直连网络的链路状态信息","expanded":true},{"id":"66238ac3-5eeb-4874-829e-1c62047c1788","topic":"邻居路由器的链路状态信息","expanded":true}]},{"id":"735e7e26-dc85-4c4c-9bff-6edda4d8aa17","topic":"LSA被封装在链路状态更新分组LSU中，采用洪泛法发送","expanded":true},{"id":"e5aa6973-a1fc-4579-8e4a-c42500ad6810","topic":"使用OSPF的每个路由器都有一个链路状态数据库LSDB，用于存储LSA","expanded":true},{"id":"f3690e27-729b-419c-aec0-a89e9c9c77ce","topic":"通过各路由器洪泛发送封装有自己LSA的LSU分组，各路由器的LSDB最终一致（30min刷新链路状态）","expanded":true},{"id":"5f229c62-15a7-4132-bbae-5c8adc0b65d4","topic":"使用OSPF的各路由器基于LSDB进行最短路径优先SPF计算（基于Dijkstra算法），构建出各自达到其他路由器的最短路径，即构建各自路由表","expanded":true}]}]},{"id":"fc359662-ca75-4deb-b5f4-c4d1f58aec9f","topic":"分组类型","expanded":true,"children":[{"id":"caa2d26c-9dbc-4a4f-92d2-4010ea43bd01","topic":"问候分组：用来发现和维持邻站的可达性","expanded":true},{"id":"3b36f953-fb9b-41f5-b9c1-b143aeb097d0","topic":"数据库描述分组：向邻站给出自己的链路状态数据库中的所有链路状态项目的摘要信息","expanded":true},{"id":"d1b03e8d-ed43-485d-9a4f-f40138e575f0","topic":"链路状态请求分组：向对方请求发送某些链路状态项目的详细信息","expanded":true},{"id":"5c35413b-1f98-47fb-845e-a57196f7b954","topic":"链路状态更新分组：用洪泛法对全网更新链路状态","expanded":true},{"id":"f282a973-3b17-4ac0-b05d-1977efc6d859","topic":"链路状态确认分组：对链路更新分组的确认","expanded":true}]},{"id":"59407e4d-5671-4093-98af-26331fb61ebf","topic":"为了使OSPF能够用于规模很大的网络，OSPF把一个自治系统再划分为若干个更小的范围，叫做区域","expanded":true,"style":{"borderColor":"#EB4D3D"}}]},{"id":"2a435b44-f838-4ca4-a378-88b4004b8c1d","topic":"边界网关协议BGP","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#15831C"},"children":[{"id":"065f7203-95b5-4257-9338-abd73468dfd0","topic":"概述","expanded":true,"children":[{"id":"4364ff52-be78-4ece-b23c-ae10e2493a6f","topic":"自治系统之间的路由选择必须考虑相关政策（政治、经济、安全等）","expanded":true},{"id":"add62b3f-c367-4891-9f05-92f4604345bb","topic":"BGP只能是力求寻找一条能够到达目的网络且比较好的路由（不能兜圈子），而非要寻找一条最佳路由","expanded":true},{"id":"2f27ee3e-7c08-4b3e-9a5f-dce663a7da30","topic":"BGP支持CIDR，所以路由表也该包括目的网络前缀","expanded":true},{"id":"5cd8da65-f561-45f7-bf8e-e5e5fbf7bf95","topic":"在BGP刚运行时，BGP的邻站交换整个BGP路由表，但以后只需在发生变化时更新有变化的部分","expanded":true}]},{"id":"234e781f-a192-490d-b3e2-955e96b756e1","topic":"过程","expanded":true,"children":[{"id":"885b9f4e-30da-4e74-83cc-d7908f413016","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-72f7480d0286ac.png","width":361.43,"height":224.78},"children":[{"id":"24d0cad0-cbc8-4804-9c93-51de5dce82e7","topic":"在每个自治系统的管理员要选择至少一个路由器作为该自治系统的“BGP发言人”（BGP边界路由器）","expanded":true},{"id":"d739b4f6-ce5d-4c88-80b9-a6141b932b88","topic":"一个BGP发言人与其他自治系统中的BGP发言人要交换路由信息，先建立 TCP连接","expanded":true,"children":[{"id":"5ce442b6-2719-40a7-a58c-71a8e360480d","topic":"应用层协议、基于TCP","expanded":true},{"id":"b03afcae-019b-4d69-a354-8034cf5a51ed","topic":"交换：到达某个网络所要经过的一系列AS（完整路径）","expanded":true}]},{"id":"18a94477-312c-4b91-a819-b9518fd36bac","topic":"再利用BGP会话交换路由信息","expanded":true},{"id":"ac5ee5b0-22f1-4cf9-ae58-bd99605942ee","topic":"所有BGP发言人都互相交换网络可达性的信息后，各BGP发言人就可找出到达各个自治系统的较好路由","expanded":true}]}]},{"id":"1879bc16-59f5-429c-a89d-34fc8eb1798e","topic":"报文类型","expanded":true,"children":[{"id":"f3835bd8-b567-4585-92b7-9e1a3be2ad79","topic":"OPEN（打开）报文：用来与相邻的另一个BGP发言人建立关系，使通信初始化","expanded":true},{"id":"aca6ca33-982a-48a5-8267-8bdf58706f67","topic":"UPDATE（更新）报文：用来通告某一路由的信息，以及列出要撤销的多条路由","expanded":true},{"id":"f7b8e09c-c5be-46da-ba44-8f93c4d749a3","topic":"KEEPALIVE（保活）报文：用来周期性地证实邻站的连通性","expanded":true},{"id":"6f8da0b9-4654-4287-8d6e-188d09402a36","topic":"NOTIFICATION（通知）报文：用来发送检测到的差错","expanded":true}]}]},{"id":"844530d9-db2b-4d6d-9802-6a7d3556de38","topic":"比较","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"380210fb-5f86-47fe-9d92-f7374f024193","topic":"协议","expanded":true,"children":[{"id":"4f32d865-c91c-49cc-be95-91e1b80debf2","topic":"RIP","expanded":true,"children":[{"id":"59a900df-4bfd-45fb-8fc2-9a51fa51e587","topic":"OSPF","expanded":true,"children":[{"id":"e5860b43-be1d-4a85-a485-5ec2b677efdd","topic":"BGP","expanded":true}]}]}]},{"id":"a0127da6-150c-49f8-a82c-790a8748348e","topic":"类型","expanded":true,"children":[{"id":"2cddc3e6-e5c1-4703-b61b-62c127404946","topic":"内部","expanded":true,"children":[{"id":"95c8c482-4254-441a-80ce-d7c2d678aba8","topic":"内部","expanded":true,"children":[{"id":"46f49865-df1a-40af-991d-4b10cb8d701e","topic":"外部","expanded":true}]}]}]},{"id":"10b91f3c-1482-478d-8065-836803ff476b","topic":"传递协议","expanded":true,"children":[{"id":"ea7e646a-2a22-4066-a69d-b8ec84dd4100","topic":"UDP","expanded":true,"children":[{"id":"3b5318e1-4d45-4899-a791-16794d577c27","topic":"IP","expanded":true,"children":[{"id":"6ecd186b-e6cf-4c9a-b9d9-061b43546dbf","topic":"TCP","expanded":true,"children":[{"id":"5c3be78f-b6f2-4f2d-b17b-716db2a38b3c","topic":"可以巧记IU（大美女），IO（IO总不会忘吧），BT（变态）","expanded":true}]}]}]}]},{"id":"a9d02eb8-d4e7-4011-9d69-c76277c937a1","topic":"层级","expanded":true,"children":[{"id":"54de9140-11be-4b6c-9755-2e03e0bf55e2","topic":"应用层","expanded":true,"children":[{"id":"3f3d62f8-6054-4b60-98e8-c8530784794b","topic":"网络层","expanded":true,"children":[{"id":"5dc1f554-a0f3-49dd-ac4b-696e27156446","topic":"应用层","expanded":true}]}]}]},{"id":"54972e2a-1821-4311-a687-7ecc61cbac20","topic":"路由算法","expanded":true,"children":[{"id":"9ac7ceb0-98ea-4d6d-870e-44f0209d15fb","topic":"距离-向量","expanded":true,"children":[{"id":"a17af996-2809-4879-bff0-5fae20b8ef50","topic":"链路状态","expanded":true,"children":[{"id":"363d6dbf-47ff-44a7-8392-a62b70ba39dd","topic":"路径-向量","expanded":true}]}]}]},{"id":"6cc8d925-1a3e-45e2-bc19-1c1555712b47","topic":"路径选择","expanded":true,"children":[{"id":"2ac1f321-a531-4c65-a97d-0ae5a2e5dda1","topic":"跳数最少","expanded":true,"children":[{"id":"1bf8dae3-b902-4cd5-8823-f01107233c93","topic":"代价最低","expanded":true,"children":[{"id":"1b01e832-0103-4d60-813b-0d7956b4ac38","topic":"较好、非最佳","expanded":true}]}]}]},{"id":"7f808f5d-8082-41af-8766-12704d72c881","topic":"交换结点","expanded":true,"children":[{"id":"c675a70c-f13a-4323-871f-977d206c8ced","topic":"和本结点相邻路由器","expanded":true,"children":[{"id":"c124daf6-5209-4ac0-b49d-dc912ee31f10","topic":"网络中所有路由器","expanded":true,"children":[{"id":"f67c7246-78ae-4c88-ba6a-4341351bf027","topic":"和本结点相邻路由器","expanded":true}]}]}]},{"id":"1ee37dcf-d9c2-4ef0-969e-cec1f84d7e8f","topic":"交换内容","expanded":true,"children":[{"id":"4266d02e-9e1e-43ec-8968-fe030b90ce91","topic":"当前本路由器全部信息，即自己路由表","expanded":true,"children":[{"id":"4b979b4b-cb91-48b6-a823-ce1dab9da9d1","topic":"与本路由器相邻的所有路由器的链路状态","expanded":true,"children":[{"id":"38e755a7-7cb2-40da-a5b9-1ed81c2eac71","topic":"首次：整个路由表\n更新：有变化的部分","expanded":true}]}]}]},{"id":"c7991379-6b6f-4e33-8ef3-26701572eef7","topic":"间隔时间","expanded":true,"children":[{"id":"332f3554-c9c1-40d4-9d88-a5023a48156d","topic":"每隔固定时间（30s）交换信息","expanded":true,"children":[{"id":"68432325-a6d8-492d-a46d-1b5338790934","topic":"链路状态发生变化","expanded":true,"children":[{"id":"10645ff4-a89f-478c-bb65-8f299dfa09c1","topic":"发生变化时","expanded":true}]}]}]}]}]},{"id":"e9eb07ad-a7a1-4ed7-8db4-2e9dcd77c93c","topic":"ARP、DHCP、ICMP","expanded":true,"children":[{"id":"637a45cc-9ce9-4760-815c-c7987a11e86f","topic":"数据包转发过程，MAC与IP地址变化","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"120552be-f7c2-4eee-94f2-ee988c6e16f3","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-54b733b2c53922.png","width":509.62,"height":183.88},"children":[{"id":"e87f67f3-d3da-43de-b214-aa5d5ff96343","topic":"数据包转发过程中源IP地址和目的IP地址不变","expanded":true},{"id":"d766a306-b1c9-49b5-83fc-3e67a4c9e2e8","topic":"数据包转发过程中源MAC地址和目的MAC地址逐个链路（网络）改变","expanded":true}]}]},{"id":"ed3b0c53-7361-41b9-8696-125b2116bc83","topic":"ARP","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#BA69C8"},"children":[{"id":"be839145-9779-4398-b1d8-a9f9a8df0df3","topic":"已知设备所分配到的IP地址，使用ARP协议可以通过该IP地址获取到设备的MAC地址","expanded":true},{"id":"b6aa8d8a-e4c8-4426-b22a-68c3cffb0672","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-844090f9e052cc.png","width":571.81,"height":231.46},"children":[{"id":"44e37329-c849-4acc-a561-1a42a96c7f06","topic":"过程","expanded":true,"children":[{"id":"37ccb219-3e4e-4c3d-8c30-fb74ce785d44","topic":"源主机在自己的ARP高速缓存表中查找目的主机的IP地址对应的MAC地址","expanded":true,"children":[{"id":"7988fcfc-f7b5-45b6-a942-d75e84be2e7b","topic":"找到，则封装MAC帧进行发送","expanded":true},{"id":"23738f36-d501-4f24-b36e-62defb0edf5e","topic":"未找到，则发送ARP请求报文（封装在广播MAC帧中）","expanded":true}]},{"id":"224cfedf-cea3-47c7-82df-4eb34538f6d1","topic":"目的主机收到ARP请求后，将源主机的IP地址与MAC地址记录到自己的ARP高速缓存表，给源主机发送ARP响应（封装在单播MAC帧中），ARP响应中包含目的主机的IP地址和MAC地址","expanded":true},{"id":"03ec4953-340c-4baf-a5c5-75f813402e88","topic":"源主机收到ARP响应后，将目的主机的IP地址与MAC地址记录到自己的ARP高速缓存表中，然后就可以发送之前的MAC帧给目的主机","expanded":true}]}]}]},{"id":"869b40c6-056c-45b8-97c7-3a855aca40db","topic":"DHCP","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"1cc3efcf-7cf4-4fc5-866c-fc7f1e2e45c7","topic":"概述","expanded":true,"children":[{"id":"38fb5216-96d2-468e-9114-1908d5c24671","topic":"用于主机动态地分配IP地址，提供了即插即用的联网机制（地址可复用）","expanded":true}]},{"id":"69aefa58-bc95-4c2c-9466-f7a54f98f5e1","topic":"实现","expanded":true,"children":[{"id":"cf140277-0700-4afe-af32-b7953b3083e0","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-96e1d5f43b0584.png","width":676.59,"height":349.42},"children":[{"id":"4d40ca61-73c7-4c31-804a-6eafd0c68cb4","topic":"DHCP客户机广播“DHCP发现”消息，找网络中的DHCP服务器","expanded":true},{"id":"909023f9-2437-45bd-a2a3-f1aeb71e049f","topic":"DHCP服务器收到“DHCP发现”消息后，向网络中广播“DHCP提供”消息，其中包括提供DHCP客户机的IP地址和相关配置信息","expanded":true},{"id":"2ce14397-df94-4ba9-96bd-5627b722dca9","topic":"DHCP客户机收到“DHCP提供”消息，如果接收DHCP服务器所提供的相关参数，那么通过广播“DHCP请求”消息向DHCP服务器请求提供IP地址","expanded":true},{"id":"427c1e17-d142-4eae-b123-60d950489a7d","topic":"DHCP服务器广播“DHCP确认”消息，将IP地址分配给DHCP客户机","expanded":true}]},{"id":"a67a4d8e-a05f-4f43-b56d-4a0b440ae852","topic":"若DHCP在另外的网段，可使用DHCP中继代理","expanded":true,"children":[{"id":"779d07dc-afab-4599-bb80-48b61de7d1f8","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-85be135102c5c2.png","width":497.08,"height":211.63}}]}]},{"id":"b1044b46-88bc-418d-b506-91bc692c9cd1","topic":"DHCP服务器分配给DHCP客户的IP地址是临时的，因此DHCP客户只能在一段有限的时间内使用这个分配到的IP地址","expanded":true},{"id":"e83e82e4-341a-45fd-a019-e869644f2c3d","topic":"DHCP的客户端、服务器用广播方式交互","expanded":true,"children":[{"id":"48ae771c-0e5b-455a-9502-078258e7378a","topic":"基于UDP的应用层协议","expanded":true}]}]},{"id":"2919e9b7-5fce-4801-8590-5adcb5581722","topic":"ICMP","expanded":true,"style":{"branchColor":"#BA69C8"},"children":[{"id":"e116d4d4-9549-4e2e-84d0-5db613fd317c","topic":"为了提高IP数据报交付成果的机会，使用ICMP让主机或路由器报告差错和异常情况","expanded":true,"children":[{"id":"84531c65-020e-41e0-a42b-e7b55dff1361","topic":"封装在IP数据报中发送","expanded":true,"style":{"borderColor":"#EB4D3D"}}]},{"id":"28a0dd47-446c-422c-b7b7-4202053063e5","topic":"ICMP差错报告报文","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"0b2e67b7-0810-410c-a80e-ca04b81287a7","topic":"终点不可达","expanded":true,"style":{"borderColor":"#EB4D3D"},"children":[{"id":"3cbddb57-0ea4-4b94-88fc-8f962f12ea74","topic":"路由器或主机不能交付数据报时，例如路由器没有目的网络的记录","expanded":true}]},{"id":"ce101769-004c-4732-adb9-7b1d9e66d025","topic":"源点抑制","expanded":true,"style":{"borderColor":"#EB4D3D"},"children":[{"id":"1ccd5d44-5825-48c3-b36a-b148fdf5e6c7","topic":"路由器或主机由拥塞而丢弃数据报时","expanded":true}]},{"id":"636de8d5-29a0-408d-8ba1-89ea8bfac284","topic":"时间超过","expanded":true,"children":[{"id":"4fd6ab8b-8264-4293-a2ca-e802a58791c1","topic":"当路由器收到TTL = 0 的数据报时","expanded":true}]},{"id":"c3143353-7017-48cc-bb51-e99f1f6cab20","topic":"参数问题","expanded":true,"children":[{"id":"31f0238c-5559-49fc-8920-0ba83e775752","topic":"当路由器或目的主机收到数据报首部不正确时","expanded":true}]},{"id":"9f1f7605-a745-4900-b867-09bfc90c80b0","topic":"改变路由（重定位）","expanded":true,"children":[{"id":"cca74c8b-7131-4e28-ac30-d1d77e93fd46","topic":"路由器把改变路由报文发送给主机（主机知道可通过更好的路由）","expanded":true}]}]},{"id":"9982c1b0-3e2b-4626-b572-59bce0bc9156","topic":"不应发送ICMP差错报告报文","expanded":true,"children":[{"id":"ab814a54-6bba-4de8-8f32-69870c4b9841","topic":"对ICMP差错报告报文不再发送ICMP差错报告报文","expanded":true},{"id":"53712f09-01f9-4926-bd9b-9459c48f76fc","topic":"对第一个分片的数据报片的所有后续数据报片都不发生ICMP差错报告报文","expanded":true},{"id":"4c3d6175-6529-432b-8276-44ed30146fc1","topic":"对具有组播地址的数据报都不发送ICMP差错报告报文","expanded":true},{"id":"4b42cdde-fb70-4619-8cb9-8a6d8e0dd7c0","topic":"对具有特殊地址（如 127.0.0.0 或 0.0.0.0）的数据报不发送ICMP差错报告报文","expanded":true}]},{"id":"5091dbdf-91c5-43c7-854e-a1064389bfbe","topic":"IP询问报文","expanded":true,"children":[{"id":"43cc5151-1f63-4a81-a763-50ca49caa6aa","topic":"回送请求和回答报文","expanded":true,"children":[{"id":"689047a8-6443-44ce-a5ff-95087b18d7a5","topic":"分组网间探测PING：用来测试主机或路由器间的连通性（应用层直接用ICMP，不通过运输层）","expanded":true}]},{"id":"21305e4d-c7ae-46fe-ac48-f22ab6025e72","topic":"时间戳请求和回答报文","expanded":true,"children":[{"id":"b5acfc1a-45de-4523-821f-ebc68de22d0d","topic":"跟踪路由：用来测试IP数据报从源主机到达目的主机要经过哪些路由器","expanded":true}]},{"id":"128b6b96-68d3-48d9-8b10-d81c81272484","topic":"掩码地址请求和回答报文","expanded":true},{"id":"3396558c-1ccd-4121-a2bd-210294f9ec53","topic":"路由器询问和通告报文","expanded":true}]}]}]},{"id":"830955b8-d220-481b-84da-06b02f13c084","topic":"IPv6","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"74f71f04-3011-46ab-91af-56ba7adc7bde","topic":"特点","expanded":true,"children":[{"id":"b9b03404-4d65-4cf7-baa4-06b9088d5b78","topic":"IPv6将地址32位扩大到128位，扩展的地址层次结构","expanded":true,"style":{"borderColor":"#F4B8B1"}},{"id":"7f53ffe9-4fe8-472e-847e-b34b7e4ee95c","topic":"移除校验和字段，较少每跳的处理时间","expanded":true,"style":{"borderColor":"#EB4D3D"}},{"id":"3e6cfaf2-20bc-47a1-9992-b6b23e91bfd5","topic":"将可选字段移出首部，变成扩展首部，成为灵活首部格式","expanded":true},{"id":"f0efc8fd-ef34-47da-977f-12983a51fe2b","topic":"IPv6支持即插即用，不需要DHCP协议","expanded":true},{"id":"ae97fa01-6cae-4a50-b5e6-17fd141a4914","topic":"支持资源的预分配","expanded":true},{"id":"5729e4ed-acc2-4120-9d93-ceabea89db8c","topic":"IPv6只能在主机处分片，IPv4可以在主机/路由器分片","expanded":true},{"id":"27d47d8d-820a-4135-b78a-eabe4b21a732","topic":"IPv6的首部长度需是8B整数倍，IPv4是4B整数倍","expanded":true,"style":{"borderColor":"#EB4D3D"}},{"id":"8df721ea-ff4a-4eeb-8b94-f543a71655d7","topic":"增大了安全性","expanded":true}]},{"id":"af923a9a-8928-433a-a3db-499edcbf0efb","topic":"数据报格式","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"727dbbe5-be04-4358-8f02-dbe4c92b087c","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-31b016007cf5b1.png","width":410.28,"height":267.16},"children":[{"id":"fe1923fb-852f-40c4-a4ba-7fe2bc649266","topic":"版本：指明协议版本，6","expanded":true},{"id":"5552de3e-b4f9-499b-aaf7-31a2fa08cc4a","topic":"优先级：区分数据报类别和优先级","expanded":true},{"id":"119e23b3-df81-4285-adf1-603550376da8","topic":"流标签：属于同一个流的数据报有同样的流标签","expanded":true},{"id":"cf188aef-9415-429d-bc50-d4ec14ec8bb7","topic":"下一个首部：标识下一个扩展首部或上层协议首部","expanded":true},{"id":"6bb5c3d6-5fe9-41ac-b9b4-914357b99274","topic":"跳数限制：等于 TTL","expanded":true}]}]},{"id":"e7a9eb37-dabb-4750-8d06-edeacd0afa8b","topic":"优势","expanded":true,"children":[{"id":"44ee6d5b-b5bd-4638-973e-4289767da2a1","topic":"增加空间","expanded":true},{"id":"3a41b8fe-5c3c-4538-b9e1-36a7973e50df","topic":"改进首部格式--->快速处理","expanded":true},{"id":"2c31d567-ae1a-4e14-bc21-da749acedcbc","topic":"支持QoS（网络安全机制，解决网络延迟与阻塞）","expanded":true}]},{"id":"60bdf1d0-e597-4f0a-b389-4d008f61e029","topic":"IPv6地址","expanded":true,"style":{"branchColor":"#EA8ABA"},"children":[{"id":"d1981309-c94e-47a9-bc33-9b59a30abddd","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-32b8aeba7e4076.png","width":457.93,"height":228.31},"children":[{"id":"65ea4702-b837-4a9d-b60f-d9a9e4611782","topic":"基本类型地址","expanded":true,"children":[{"id":"4fc25a4b-0e99-4681-a593-57c259e3c43c","topic":"单播：传统点对点通信","expanded":true},{"id":"5e6bb4d6-2f7c-4f28-9fd5-40bf1d18f9d8","topic":"多播：多播是一点对多点的通信，分组被交付到一组计算机的每台计算机","expanded":true},{"id":"f5ee5ac0-d3d4-4004-b96d-da5406308568","topic":"任播：目的站是一组计算机，但数据报在交付时只交付其中的一台计算机，通常是距离最近的一台计算机","expanded":true}]},{"id":"f8ae1eef-0fc7-48ab-beb9-703dc137d363","topic":"压缩中双冒号只能出现一次","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]},{"id":"8d958b94-0d43-47d9-a20a-682c50d252be","topic":"IPv4向IPv6的过渡","expanded":true,"children":[{"id":"e3f75625-db04-43fb-95f1-3d8dde077a01","topic":"双协议栈","expanded":true,"children":[{"id":"01fd63ac-04b2-4c63-98cd-2a256faa9c77","topic":"指一台设备上，同时装有IPv4和IPv6协议栈，那么该设备既能和IPv4通信，又能和IPv6通信","expanded":true}]},{"id":"46c3987c-eac9-4a2d-9505-de1c22f34204","topic":"隧道技术","expanded":true,"children":[{"id":"7bfdea34-0bb7-41b7-bae4-9caad8a0c369","topic":"将整个IPv6数据报封装到IPv4数据报的数据部分，使得IPv6数据报可以在IPv4的隧道中传输","expanded":true}]}]}]},{"id":"deb20e48-74ed-47f0-bf2a-b7350e766225","topic":"IP组播","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"9a1ec342-fe8b-4cd4-bce5-e718ac494156","topic":"组播的概念","expanded":true,"children":[{"id":"217aa162-3ace-4606-9c03-6e6e6fe1c8c2","topic":"组播机制是让源计算机仅发送一次数据，被传递的数据到达尽可能近的结点才开始复制和分发，是种一对多的传输方式","expanded":true},{"id":"57d57b4b-5fad-4b39-9792-aac20b075567","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-47c7bba596e35e.png","width":275.65,"height":256.11},"children":[{"id":"c092e588-63ec-471a-8056-1700bd4739bb","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-3a27b9c09ca61c.png","width":276.8,"height":257.96},"children":[{"id":"801bb346-78cc-4ee0-9e71-b1d3fa5d8588","topic":"实现过程","expanded":true,"children":[{"id":"c430fa91-1ce5-427f-940c-fe1755fe1992","topic":"主机使用一个称为IGMP（因特网组管理协议）的协议加入组播组","expanded":true},{"id":"04b0a0a8-b640-4c34-b31d-37a191056171","topic":"使用该协议通知本地网络上的路由器关于要接收发送给某个组播组的分组的愿望，为组播数据报建立传播分发树","expanded":true},{"id":"193b709d-7554-436e-aaa7-25523601d3a1","topic":"通过扩展路由器的路由选择和转发功能，可以在许多路由器互联的支持硬件组播的网络上面实现因特网组播","expanded":true}]},{"id":"1a4c5e02-e253-48fd-9605-0ed2cd1972df","topic":"优点","expanded":true,"children":[{"id":"8e19449b-a969-4bdd-8014-57dd5bb6fa97","topic":"数据只需发送一次就可发送到所有接收者，大大减轻了网络的负载和发送者的负担","expanded":true}]},{"id":"7f3ce3fb-dd47-478a-8782-c8f5d5ab9625","topic":"组播需要路由器的支持才能实现，能够运行组播协议的路由器称为组播路由器","expanded":true}]}]}]},{"id":"7805f833-3ffc-4112-a0ea-796bbed231e9","topic":"IP组播地址","expanded":true,"style":{"branchColor":"#15831C"},"children":[{"id":"7da6da7f-968e-4281-a1a3-ec687b08ade2","topic":"属于多组播的设备将被分配一个组播组IP地址","expanded":true},{"id":"e74cf6b9-fbf9-4fbf-8cd8-95e5695c917d","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-c73761f094d007.png","width":390.31,"height":213.52},"children":[{"id":"300f589a-d489-4351-8cb4-1c88273b6d83","topic":"结构","expanded":true,"children":[{"id":"521cb444-dd97-4ce9-b49b-500a12690168","topic":"IP组播使用D类地址格式，地址范围为：224.0.0.0 - 239.255.255.255","expanded":true}]},{"id":"cd347aa5-d896-49e8-8e65-859120d107f1","topic":"组播数据报和一般IP数据报区别","expanded":true,"children":[{"id":"a43b9503-bc9d-47a4-acd9-bf29220c13d4","topic":"组播数据报也是“尽最大努力交付”，不提供可靠交付","expanded":true},{"id":"851d0586-cf7a-47cf-98b1-978073970de5","topic":"组播地址只能用于目的地址，而不能用于源地址","expanded":true},{"id":"b9196c02-7805-4071-865f-1ca184349ca1","topic":"对组播数据报不产生ICMP差错报文，因此，若PING命令后面键入组播地址，将永远不会收到响应","expanded":true},{"id":"871de9f4-c590-47af-ae5a-225aff28dbcb","topic":"并非所有的D类地址都可作为组播地址","expanded":true}]},{"id":"4cfa735b-d720-4be2-88fd-62a4361b94fa","topic":"分类","expanded":true,"children":[{"id":"1f9c542b-a47f-4cac-9fa5-16069dc134c5","topic":"一种只在本局域网上进行硬件组播","expanded":true},{"id":"fd5b4af3-7e28-4b63-bb19-082c925ca218","topic":"一种在因特网的范围内进行组播，然后把组播数据报在局域网上用硬件组播交付给组播组的所有成员","expanded":true}]},{"id":"77e9807d-050e-4b2c-b4d2-df2f9c73fdb2","topic":"硬件地址的映射关系不是唯一的，因此收到组播数据报的主机，还要在IP层利用软件进行过滤，把不是本主机要接收的数据报丢弃","expanded":true}]}]},{"id":"96157043-41cc-4978-aa18-1dcac578e034","topic":"IGMP与组播路由算法","expanded":true,"children":[{"id":"f3271ac5-458f-4b69-b451-f67c2ee4d984","topic":"概述","expanded":true,"children":[{"id":"ecea00bc-cc15-4c4e-a3d8-6c0c6e0b7ff6","topic":"利用因特网管理协议（IGMP）使路由器知道组播组成员的信息","expanded":true,"children":[{"id":"59bef0e6-798c-4eb7-a8e1-c44f4c159d9d","topic":"IGMP是TCP/IP的一部分","expanded":true}]}]},{"id":"d15d6e23-ac39-4409-af26-bc86f5e66186","topic":"工作阶段","expanded":true,"children":[{"id":"d19125be-ca38-4e8c-ba34-2d53c1b08fee","topic":"第一阶段","expanded":true,"children":[{"id":"3f1c1695-6d4e-4066-9fc6-125823156e92","topic":"主机加入新的组播组时，该主机向组播组的组播地址发送一个IGMP报文，声明要成为该组的成员","expanded":true},{"id":"98571e80-b237-4dea-aa86-bfe20716a494","topic":"本地的组播路由器收到IGMP报文后，将组成员关系转发给因特网上的其他组播路由器","expanded":true}]},{"id":"ab37ce8c-1536-4f2b-ac3e-033fd6a68014","topic":"第二阶段","expanded":true,"children":[{"id":"4fac5e1e-fc8b-43f4-a55b-4127c540026a","topic":"本地组播路由器周期性地探询本地局域网上的主机，以便知道这些主机是否仍继续是组的成员","expanded":true},{"id":"e0eaa1b0-9ace-42c0-9162-00bc6ab4102c","topic":"响应结果","expanded":true,"children":[{"id":"15b4f344-8a0d-41f4-b460-249ef2ca5177","topic":"只要对某个组有一台主机响应，那么组播路由器就认为这个组是活跃的","expanded":true},{"id":"42f4a346-b35c-46f2-8a6d-a819fb83fcaf","topic":"一个组在经过几次的探询后仍然没有一台主机响应时，则不再将该组的成员关系转发给其他的组播路由器","expanded":true}]}]}]},{"id":"71fc02ef-6a11-4a6e-95ea-5ea704b8642a","topic":"实现因特网组播的路由算法","expanded":true,"children":[{"id":"15922a45-bb4e-4ed3-ad31-259bb4955c23","topic":"基于链路状态的路由选择","expanded":true},{"id":"75a82a88-d78f-49fc-8af4-5ebe3ed9737a","topic":"基于距离-向量的路由选择","expanded":true},{"id":"b703f06b-6c8f-41fb-9b9e-a837af85e3dc","topic":"协议无关的组播（PIM）","expanded":true}]}]}]},{"id":"0759bfd1-34d9-4fdb-8c5d-a13dec7809d8","topic":"移动IP","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"02030bdf-5e6f-4916-a15b-af9721013b74","topic":"移动IP概述","expanded":true,"children":[{"id":"90c8a3bf-19fe-4d62-8409-60aa5302aeaa","topic":"概念","expanded":true,"children":[{"id":"164b3cc7-62ff-48ef-a5f7-084304347016","topic":"移动IP技术是移动结点（计算机/服务器等）以固定的网络IP地址，实现跨越不同网段的漫游功能，并保证了基于网络IP的网络权限在漫游过程中不发生任何改变","expanded":true}]},{"id":"9ee4cdf2-587f-4feb-8628-a59a500435ac","topic":"三种功能实体+两种地址","expanded":true,"children":[{"id":"84b54f67-77be-473a-89e6-af60620cf420","topic":"移动结点：具有永久IP地址的移动设备","expanded":true},{"id":"c34cea65-9569-48fb-988f-0e6ffb191316","topic":"归属代理（本地代理）：一个移动结点的永久“居所”称为归属网络，在归属网络中代表移动结点执行移动管理功能的实体叫做归属代理","expanded":true},{"id":"79a1ef8e-8e72-4bb5-9a8d-ac300fbe53cb","topic":"外部代理（外地代理）：在外部网络中帮助移动结点完成移动管理功能的实体","expanded":true},{"id":"6cc62884-65fa-430c-ba56-73d5cbaaeb4b","topic":"永久地址（归属地址/主地址）：移动站点在归属网络中的原始地址","expanded":true},{"id":"67625a68-07e5-455b-8ac6-32b533c2858e","topic":"转交地址（辅地址）：可以是外部代理的地址或动态配置的一个地址","expanded":true}]}]},{"id":"d5da909c-f050-4aa5-b8ee-bbf2e97c70c7","topic":"移动IP通信过程","expanded":true,"style":{"branchColor":"#BA69C8"},"children":[{"id":"77a41b89-e08f-4f1e-88b0-b7ba2427c789","topic":"移动结点刚进入外部网络","expanded":true,"children":[{"id":"fe15d2fb-3af8-429e-bdc5-a51795a3b28a","topic":"获得外部代理的转交地址（外部代理广播报文）","expanded":true},{"id":"9620b847-cd5e-4fdd-bd31-2686b076517f","topic":"移动结点通告外部代理发送注册报文给归属代理（包含永久地址&转交地址）","expanded":true},{"id":"fba22fe4-4810-4f28-bc66-5f958ce2e76d","topic":"归属代理接收请求，并将移动结点的永久地址和转交地址绑定（以后到达该归属代理的数据报且要发往移动结点的数据报将被封装并以隧道方式发给转交地址），并返回一注册响应报文","expanded":true},{"id":"87bb7d51-a0fa-457a-b3b3-52f147b18b7b","topic":"外部代理接收注册响应，并转发给移动结点","expanded":true}]},{"id":"41606716-3729-4b03-9c62-82f8eb889b52","topic":"移动结点移动到了下一个网络","expanded":true,"children":[{"id":"eb3d9a9f-983b-4c44-bd10-fabb54e0e7b4","topic":"在新外部代理登记注册一个转交地址","expanded":true},{"id":"be5fabd0-657b-427f-abd4-8b6a247d2165","topic":"新外部代理给本地代理发送新的转交地址（覆盖旧的）","expanded":true},{"id":"3de98cbf-fe0f-43e9-bc30-0c5ebce0bbbb","topic":"通信","expanded":true}]},{"id":"a18c1873-efd9-4960-ac9c-ac8432c6dc34","topic":"移动结点回到了归属网络","expanded":true,"children":[{"id":"0f7d61ab-344f-4ffa-8f14-47fd297f6ccf","topic":"移动结点向本地代理注销转交地址","expanded":true},{"id":"4a040983-c894-4df0-9bae-44b5fc688c43","topic":"按原始方式通信","expanded":true}]}]}]},{"id":"41880ba7-4668-470d-ab94-eedb928cedae","topic":"网络层设备","expanded":true,"children":[{"id":"ee0244c2-c51e-4f1a-9c64-123a613e0830","topic":"冲突域与广播域","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"63031c70-b2e0-49d7-b283-f98b376071e9","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-ae797589ab35f9.png","width":362.09,"height":172.95},"children":[{"id":"91b6a16d-1dfd-458c-af05-6c2883b5c517","topic":"冲突域","expanded":true,"children":[{"id":"3a134578-6d71-4497-8ab9-5b9b9c46003d","topic":"指连接到同一物理介质上的所有结点的集合，这些结点间存在介质争用的现象","expanded":true},{"id":"be7c597e-5451-43bf-a504-b173243ee58e","topic":"数据链路层的网桥与交换机、网络层的路由器可以划分冲突域","expanded":true}]},{"id":"42066274-a850-40c5-9898-dfda92300d4d","topic":"广播域","expanded":true,"children":[{"id":"475975f1-db84-401c-adfa-a0df81c7ed30","topic":"指接收同样广播消息的结点集合","expanded":true,"children":[{"id":"beb4afb9-05e8-41e6-91f1-09e03929f7d0","topic":"路由器分割","expanded":true}]}]}]}]},{"id":"de498879-257b-47ec-ad21-38c3e339a36c","topic":"路由器的基本结构与功能","expanded":true,"style":{"borderColor":"#FF9F00","branchColor":"#EA8ABA"},"children":[{"id":"c2708ec6-8017-4b44-9440-4783a235d5f8","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-565a18236b7677.png","width":489.28,"height":246.96},"children":[{"id":"3ac0260f-24b4-4661-95ca-e4715e947980","topic":"路由表一般仅包含从目的网络到下一跳的映射","expanded":true},{"id":"84ba34c7-822e-48b2-a7ca-2909812341f8","topic":"路由表需要对网络拓扑变化的计算最优化","expanded":true},{"id":"17127cf7-bc95-4a6f-9c0b-c22130b561a6","topic":"转发表由路由表得出","expanded":true},{"id":"7917c1de-a615-4de7-b3ff-8ee59b3bcfaf","topic":"转发表的结构应当使查找过程最优化","expanded":true}]},{"id":"5f58398c-4092-49dc-8a37-e4e95e8aa167","topic":"功能","expanded":true,"children":[{"id":"46d07482-79ff-4798-9a3e-cf39ad2e5669","topic":"分组转发：处理通过路由器的数据流，转发表查询、转发及相关的队列管理和任务调度等","expanded":true},{"id":"8b41fef5-0bad-4a2f-a806-585535dddb92","topic":"路由计算：通过和其他路由器进行基于路由协议的交互，完成路由表的计算","expanded":true}]},{"id":"fa63e4fb-86da-4548-822e-2a328daf6ba8","topic":"路由器和网桥的区别","expanded":true,"children":[{"id":"f09f05ec-4e46-4525-9a8e-2b37c1c43198","topic":"网桥与高层协议无关","expanded":true},{"id":"06be5f29-e12c-4238-af32-ae735455150e","topic":"路由器面向协议，依据网络地址进行操作，并进行路径选择、分段、帧格式转换、对数据报的生存时间和流量进行控制等","expanded":true}]},{"id":"74cf6388-ae22-4a35-bf76-55c5a421b24f","topic":"支持协议：OSI、TCP/IP、IPX等","expanded":true}]},{"id":"1542e244-f735-4e1f-bf41-350dcd3a3970","topic":"路由表与路由转发","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"e9549734-5925-4fa3-a567-15fdaaf6ca43","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-383afb4d9b7930.png","width":484.08,"height":281.08},"children":[{"id":"b27d228d-9cef-4ef4-956d-295f490933de","topic":"结构：目的网络IP地址 + 子网掩码 + 下一跳IP地址 + 接口","expanded":true},{"id":"c7da0f03-448e-48fd-aa4c-dd80e188842e","topic":"概述","expanded":true,"children":[{"id":"05effca6-b2ef-4169-8b4c-20a645de6bbb","topic":"路由表是由路由选择算法得出的，用来实现路由选择","expanded":true}]},{"id":"2c96d8ec-6348-4ff1-86a1-73973f9adff9","topic":"默认路由：减少转发表的重复项目，使用一个默认路由代替所有具有相同“下一跳”的项目，子网掩码也是0.0.0.0","expanded":true},{"id":"cc082aa9-ab7d-4c26-ae1b-23a45f826197","topic":"直接交付要求两主机在同一网段，不涉及路由器","expanded":true,"style":{"borderColor":"#EB4D3D"}}]},{"id":"640a6b7a-a867-4942-a5d7-2e9b3b7a279e","topic":"转发与路由选择的区别","expanded":true,"children":[{"id":"f6ca2e38-3372-471b-8e24-31ccf8b25608","topic":"转发：路由器根据转发表把收到的IP数据报从适合的端口转发出去，仅涉及一个路由器","expanded":true},{"id":"c744e3d3-78ac-45cd-99bb-3539b827f3a3","topic":"路由选择：涉及很多路由器，路由器是许多路由器协同工作的结果","expanded":true}]}]}]}]}}