CCNP

CCNP试验

试验拓扑图如下:R1R2R3R4都是路由器R1R4都接有不同网段的网络,R1接有L0: 1.1.4 .1L1:1.1.5.1, L2:1.1.6.1, L3:1.1.7.1R4接有L0:4.4.1.1L1:4.4.2.1, L2:4.4.3.1, L3:4.4.4.1R1在区域area1里,R2ABRR3ASBR,使用ospf协议,R4内用的是rip v2协议,各个路由器配置如下:

R1
r1:
en
conf t
host r1
int s0/0
ip addr 192.168.16.1 255.255.255.0
no shut
exit
int l0
ip addr 1.1.4 .1 255.255.255.0
no shut
exit
int l1
ip addr 1.1.5 .1 255.255.255.0
no shut
exit
int l2
ip addr 1.1.6 .1 255.255.255.0
no shut
exit
int l3
ip addr 1.1.7 .1 255.255.255.0
no shut
exit
router ospf 100
network 192.168.16.0 0.0.0 .255 area 1
network 1.1.4 .0 0.0.3.255 area 1
exit
r2:
en
conf t
host r2
int s0/0
ip addr 192.168.16.2 255.255.255.0
clock rate 64000
no shut
exit
int s0/1
ip addr 192.168.17.1 255.255.255.0
no shut
exit
router ospf 100
network 192.168.16.0 0.0.0 .255 area 1
network 192.168.17.0 0.0.0 .255 area 0
exit
r3:
en
conf t
host r3
int s0/1
ip addr 192.168.17.2 255.255.255.0
no shut
clock rate 64000
exit
int s0/2
ip addr 192.168.18.1 255.255.255.0
no shut
exit
router ospf 100
network 192.168.17.0 0.0.0 .255 area 0
exit
router rip
ver 2
no auto-summary
network 192.168.18.0
exit
r4:
en
conf t
host r4
int s0/2
ip addr 192.168.18.2 255.255.255.0
no shut
clock rate 64000
exit
int l0
ip addr 4.4.1 .1 255.255.255.0
no shut
exit
int l1
ip addr 4.4.2 .1 255.255.255.0
no shut
exit
int l2
ip addr 4.4.3 .1 255.255.255.0
no shut
exit
int l3
ip addr 4.4.4 .1 255.255.255.0
no shut
exit
router rip
ver 2
no auto-summary
network 192.168.18.0
network 4.0.0 .0
exit
地址汇总:
r2:
router ospf 100
area 1 range 1.1.4 .0 255.255.252.0
area 1 range 192.168.16.0 255.255.255.0
area 0 range 192.168.17.0 255.255.255.0
exit
r3:
router ospf 100
summary-address 192.168.18.0 255.255.255.0
summary-address 4.4.0 .0 255.255.252.0
summary-address 192.168.16.0 255.255.240.0
summary-address 1.1.4 .0 255.255.252.0
exit
协议重分布:
r3:
router ospf 100
redistribute rip subnets
exit
router rip
redistribute ospf 100 metric 2
exit
 
验证:
show ip route
ping 全网全通

你可能感兴趣的:(职场,休闲,试验配置)