心理

當前位置 /首頁/完美生活/心理/列表

ppp設置,路由器rip

路由器rip ppp設置

1、確定所要配置的網絡組網及相關IP規劃,然後進行具體的配置。

2、首先進行路由器的端口ip配置,下面以路由器R2爲例,R1與R3的配置命令類似,只用修改IP即可:

R2#conf t (configure terminal的簡寫)

R2(config)#int f 0/0 (interface fastEthernet f 0/0,進入該接口配置模式)

R2(config-if)#ip add (接口配置ip地址)

R2(config-if)#no shut (激活接口)

R2(config-if)#int f 0/1

R2(config-if)#ip add

R2(config-if)#no shut

R2(config-if)#int s 1/0

R2(config-if)#ip add

R2(config-if)#no shut

R2(config-if)#end

R2#show ip route(查看路由表)

3、配置完成後,通過命令"show ip interface brief"查看路由的各接口ip配置是否正確。並驗證與非直連網段的互通性,由於此時還沒有到非直連網段的路由,故此時不通。

4、在路由器上啓動rip協議:

R2#conf t

R2(config)#router rip(進入rip協議配置)

R2(config-router)#version 2 (啓用rip v2版本)

R2(config-router)#no auto (關閉路由自動彙總)

R2(config-router)#network (通過RIP宣告該網段)

R2(config-router)#network

R2(config-router)#network

R2(config-router)#end

5、rip配置完成後,通過"show ip route"查看路由表中存在有"R"標識的rip協議路由。

6、再次驗證費直連網絡的互通性,此時可以相互通信。

TAG標籤:設置 ppp 路由器 rip #