只需要在两个起不同rip版本的路由器之间的其中一个的端口上配置
格式:
interface 接口
rip version 版本号
如:
R1与R2起Rip的version 1
R3与R4起Rip的version 2
R1
system-view
sysname r1
interface e0/0/0
ip address 12.1.1.1 255.255.255.0
quit
interface LoopBack 1
ip address 1.1.1.1 255.255.255.0
quit
rip
version 1
network 1.0.0.0
network 12.0.0.0
quit
quit
save
y
R2
system-view
sysname r2
interface e0/0/0
ip address 12.1.1.2 255.255.255.0
quit
interface e0/0/1
ip address 23.1.1.1 255.255.255.0
quit
interface LoopBack 1
ip address 2.2.2.2 255.255.255.0
quit
rip
version 1
network 2.0.0.0
network 12.0.0.0
network 23.0.0.0
quit
quit
save
y
R3
system-view
sysname r3
interface e0/0/0
ip address 23.1.1.2 255.255.255.0
quit
interface e0/0/1
ip address 34.1.1.1 255.255.255.0
quit
interface LoopBack 1
ip address 3.3.3.3 255.255.255.0
quit
rip
undo summary
version 2
network 3.0.0.0
network 23.0.0.0
network 34.0.0.0
quit
interface e0/0/0
rip version 2
quit
quit
save
y
R4
system-view
sysname r4
interface e0/0/0
ip address 34.1.1.2 255.255.255.0
quit
interface LoopBack 1
ip address 4.4.4.4 255.255.255.0
quit
rip
undo summary
version 2
network 4.0.0.0
network 34.0.0.0
quit
quit
save
y
网友评论