OSPF 多区域 汇总 缺省
R1
int f0/0
no sh
ip add 192.168.1.1 255.255.255.0
int lo5
ip add 10.0.0.6 255.255.255.252
int lo0
ip ad 192.168.64.1 255.255.255.252
int lo1
ip ad 192.168.80.1 255.255.255.252
int lo2
ip ad 192.168.96.1 255.255.255.252
int lo3
ip ad 192.168.112.1 255.255.255.252
R2
int f0/0
no sh
ip add 192.168.1.2 255.255.255.0
int lo 0
ip add 192.168.3.1 255.255.255.0
int s1/0
ip add 192.168.224.1 255.255.255.252
no sh
R3
int s1/0
no sh
ip add 192.168.224.2 255.255.255.252
int lo0
ip add 172.16.240.1 255.255.255.0
int lo0
ip add 172.16.240.1 255.255.255.0
int lo2
ip add 172.16.248.1 255.255.255.0
int lo3
ip add 172.16.252.1 255.255.255.0
R1
router ospf 10
net 192.168.1.0 0.0.0.255 a 0
net 192.168.64.0 0.0.63.255 a 1
R2
router ospf 10
net 192.168.1.0 0.0.0.255 a 0
net 192.168.3.0 0.0.0.255 a 0
net 192.168.224.0 0.0.0.3 a 52
R3
router ospf 10
net 192.168.224.0 0.0.0.3 a 52
R1
router ospf 10
area 1 range 192.168.64.0 255.255.192.0
default-information originate always metric-type 1
R3
ip route 172.16.240.0 255.255.255.0 null 0
ip route 172.16.244.0 255.255.255.0 null 0
ip route 172.16.248.0 255.255.255.0 null 0
ip route 172.16.252.0 255.255.255.0 null 0
router ospf 10
redistribute static subnets metric-type 1
summary-address 172.16.240.0 255.255.240.0
坚持,专注