OSPF、EIGRP、RIP、静态路由的重分布综合试验

  OSPFEIGRPRIP、静态路由的重分布综合试验

 

.net文件就不发了,简单的直连。

看下R2R4R5sh run文件和路由

R2的核心配置文件

interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
router ospf 100
log-adjacency-changes
redistribute rip subnets
network 192.168.2.0 0.0.0 .255 area 0
!
router rip
redistribute ospf 100
network 192.168.1.0
default-metric 2

R4的核心配置

interface FastEthernet0/0
ip address 192.168.3.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute ospf 100
network 192.168.4.0
default-metric 1000 10 1 255 1500
auto-summary
!
router ospf 100
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.3.0 0.0.0 .255 area 0
default-metric 64

R5的核心配置

interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 6.6.6 .6 0.0.0.0
network 192.168.4.0
network 192.168.5.0
auto-summary
!
router ospf 100
log-adjacency-changes
no auto-cost
!
ip classless
ip route 6.6.6.6 255.255.255.255 FastEthernet0/0

R2的路由表

R    1.0.0 .0/8 [120/1] via 192.168.1.1, 00:00:26, FastEthernet0/0
     6.0.0.0/32 is subnetted, 1 subnets
O E2    6.6.6.6 [110/64] via 192.168.2.2, 00:10:28, FastEthernet0/1
O E2 192.168.4.0/24 [110/64] via 192.168.2.2, 00:36:14, FastEthernet0/1
O E2 192.168.5.0/24 [110/64] via 192.168.2.2, 00:09:24, FastEthernet0/1
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
O    192.168.3.0/24 [110/2] via 192.168.2.2, 00:37:01, FastEthernet0/1

R4的路由表

O E2 1.0.0 .0/8 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
     6.0.0.0/32 is subnetted, 1 subnets
D       6.6.6.6 [90/30720] via 192.168.4.2, 00:11:03, FastEthernet0/1
C    192.168.4.0/24 is directly connected, FastEthernet0/1
D    192.168.5.0/24 [90/30720] via 192.168.4.2, 00:09:59, FastEthernet0/1
O E2 192.168.1.0/24 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
O    192.168.2.0/24 [110/2] via 192.168.3.1, 00:37:36, FastEthernet0/0
C    192.168.3.0/24 is directly connected, FastEthernet0/0

R5的路由表

D EX 1.0.0 .0/8 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
     6.0.0.0/32 is subnetted, 1 subnets
S       6.6.6.6 is directly connected, FastEthernet0/0
C    192.168.4.0/24 is directly connected, FastEthernet0/1
C    192.168.5.0/24 is directly connected, FastEthernet0/0
D EX 192.168.1.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.2.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.3.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1

你可能感兴趣的:(rip,ospf,静态路由,EIGRP,重分布综合试验)