路由重分发配置实验_网络

R4
en
conf t
int f0/0
ip add 10.0.0.2 255.255.255.252
no sh
int loopback 0
ip add 192.168.3.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 10.0.0.1
R3
en
conf t
int f0/0
ip add 10.0.0.5 255.255.255.252
no sh
int f0/1
ip add 10.0.0.1 255.255.255.252
no sh
exit
ip route 192.168.3.0 255.255.255.0 10.0.0.2
router ospf 1
router-id 3.3.3.3
network 10.0.0.4 0.0.0.3 area 1
router ospf 1 redistribte static subnets
redistribute connected subnets
R1
int f0/0
ip add 10.0.0.6 255.255.255.252
no sh
int f0/1
ip add 172.16.31..2 255.255.255.252
no sh
int f1/0
ip add 10.0.0.9 255.25.255.252
no sh
exit
router ospf 1
router-id 1.1.1.1
network 10.0.0.8 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 1
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.1
R2
en
conf t
int f0/0
ip add 10.0.0.10 255.255.255.252
no sh
int f0/1
ip add 192.168.100.1 255.255.255.0
no sh
exit
router ospf 1
router-id 2.2.2.2
network 10.0.0.8 0.0.0.3 area 0
exit
router rip
network 192.168.100.0
router ospf 1
redistribute rip stbnets
exit
router rip
redistribute ospf 1 metric 9
R5
int f0/0
ip add 192.168.100.2 255.255.255.0
no sh
int loopback 0
ip add 192.168.2.1 255.255.255.0
no sh
exit
router rip
network 192.168.100.0
network 192.168.2.0
R6
en
conf t
int f0/0
ip add 172.16.31.1 255.255.255.252
no sh
int loopback 0
ip add 59.56.61.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.2