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 0000000000000000000000000000000000000000..c987ff2ed604aec322f087d9ab2d03a7d65a3ae5 --- /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/ZzeInhfJ.PNG) \ No newline at end of file