关于OSPF---1

关于OSPF的实验,简单写之。(图看不清楚,请点击图片)
1. RIP环境的路由发布到OSPF环境:
 
R2(config)#router ospf 100
R2(config-router)#redistribute rip subnets
 
2.R2 上做环回口,在ABR――R3上做路由汇总。
R1: 不用操作
 
R2:
R2(config)#int lo0
R2(config-if)#ip addr 172.16.12.1 255.255.255.0
R2(config-if)#int lo1
R2(config-if)#ip addr 172.16.13.1 255.255.255.0
R2(config-if)#int lo2
R2(config-if)#ip addr 172.16.14.1 255.255.255.0
R2(config-if)#int lo3
R2(config-if)#ip addr 172.16.15.1 255.255.255.0
R2(config-if)#router ospf 100
R2(config-router)#net 172.16.0.0 0.0.255.255 are 0
 
R3:
R3(config)#int s1/2
R3(config-if)#ip addr 202.110.102.1 255.255.255.0
R3(config-if)#encap hdlc
R3(config-if)#clock rate 56000
R3(config-if)#no shut
R3(config)#router ospf 100
R3(config-router)#net 202.110.102.1 0.0.0 .0 are 1
 
R3(config)#router ospf 100
R3(config-router)#area 0 range 172.16.12.0 255.255.252.0
 
 
 
 
 

本文出自 “leeveis” 博客,谢绝转载!

你可能感兴趣的:(职场,休闲)