From 5a15b5e9bfa2ec26c41c94281b79368da299ebd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=98=E6=96=87=E8=AF=9A?= <3287861587@qq.com> Date: Sun, 28 Apr 2024 23:04:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=89=93=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...61\351\207\215\345\217\221\345\270\203.md" | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 "09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" diff --git "a/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" "b/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" new file mode 100644 index 0000000..7297e3e --- /dev/null +++ "b/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" @@ -0,0 +1,43 @@ +#### 笔记 + +路由重发布 + +ospf连接rip + +~~~js +(config)#route ospf 1 +(config-route)# redistribute rip subnets +~~~ + +rip连接ospf + +~~~ js +(config)#route rip +(config-route)#redistribute ospf 1 metric 10 //metric是跳数 +~~~ + +rip连接静态路由 + +~~~ js +(config)#route rip +(config-route)#redistribute static metric 10 //metric是跳数 +~~~ + +静态路由连接ospf + +~~~ js +(config)#route ospf 1 +(config-route)#redistribute static subnets +~~~ + +缺省路由 + +~~~js +0.0.0.0 0.0.0.0 下一跳 +0.0.0.0 可以是任意的网络 +0.0.0.0 可以是任意的子网掩码 +~~~ + +#### 作业 + +![捕获.PNG](https://img2.imgtp.com/2024/04/28/Eh6YbrAc.PNG) \ No newline at end of file -- Gitee From 4a46e45b7b6f47b502d04a8e041630907936e465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=98=E6=96=87=E8=AF=9A?= <3287861587@qq.com> Date: Sun, 28 Apr 2024 23:13:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=A7=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" "b/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" index 7297e3e..c987ff2 100644 --- "a/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" +++ "b/09 \345\256\230\346\226\207\350\257\232/20240428 \350\267\257\347\224\261\351\207\215\345\217\221\345\270\203.md" @@ -40,4 +40,4 @@ rip连接静态路由 #### 作业 -![捕获.PNG](https://img2.imgtp.com/2024/04/28/Eh6YbrAc.PNG) \ No newline at end of file +- ![捕获.PNG](https://img2.imgtp.com/2024/04/28/ZzeInhfJ.PNG) \ No newline at end of file -- Gitee