日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

RIP v2 汇总

發布時間:2024/1/18 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 RIP v2 汇总 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?

R1做如下設置:

R0(config)#int s0/0

R0(config-if)#no shutdown

R0(config-if)#ip add 172.16.1.1 255.255.255.0

R0(config-if)#int lo 0

R0(config-if)#no shutdown

R0(config-if)#ip add 10.10.10.10 255.255.255.0

R0(config-if)#router rip

R0(config-router)#version 2

R0(config-router)#network 10.0.0.0

R0(config-router)#network 172.16.0.0

R0(config-router)#no auto-summary??????????????????????????????關閉自動匯總功能,只有rip v2中才能關閉自動匯總并實現手工匯總

R0(config-router)#end

R0#sh ip route rip?????????????????????????????????????????????????R3手工匯總后的rip信息

?????3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R???????3.3.0.0/22 [120/2] via 172.16.1.2, 00:00:13, Serial0/0

R???????3.0.0.0/8 [120/2] via 172.16.1.2, 00:00:13, Serial0/0

R????192.168.1.0/24 [120/1] via 172.16.1.2, 00:00:13, Serial0/0

?

R2做如下設置:

R1(config)#int s0/0

R1(config-if)#no shutdown

R1(config-if)#ip add 172.16.1.2 255.255.255.0

R1(config-if)#int s0/1

R1(config-if)#no shutdown

R1(config-if)#ip add 192.168.1.2 255.255.255.0

R1(config-if)#router rip

R1(config-router)#version 2

R1(config-router)#network 172.16.0.0

R1(config-router)#network 192.168.1.0

R1(config-router)#no auto-summary

?

R3做如下設置:

R2(config)#int s0/0

R2(config-if)#no shutdown

R2(config-if)#ip add 192.168.1.1 255.255.255.0

R2(config-if)#int lo 0

R2(config-if)#no shutdown

R2(config-if)#ip add 3.3.3.3 255.255.255.0?????????????????????????????????一個接口可以配置多個IP,設置一個主要IP,其他的要加上secondary

R2(config-if)#ip add 3.3.0.3 255.255.255.0 secondary

R2(config-if)#ip add 3.3.1.3 255.255.255.0 secondary

R2(config-if)#ip add 3.3.2.3 255.255.255.0 secondary

R2(config-if)#router rip

R2(config-router)#version 2

R2(config-router)#network 3.0.0.0

R2(config-router)#network 192.168.1.0

R2(config-router)#no auto-summary

R2(config-if)#ip summary-address rip 3.3.0.0 255.255.252.0????????????????在S0/0上做自動匯總

?

?

總結

以上是生活随笔為你收集整理的RIP v2 汇总的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。