Sei sulla pagina 1di 13

How to redistribute routes between these routing protocols?

Solution:

R1#sh run Building configuration...

Current configuration : 688 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R1 ! ! ! ! ! ! !

! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 no ip address

clock rate 2000000 shutdown ! interface Serial0/0/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router eigrp 100 network 192.168.1.0 0.0.0.3 no auto-summary ! ip classless ! ! ! ! ! ! ! line con 0

line vty 0 4 login ! ! ! end

R1#

R2#sh run Building configuration...

Current configuration : 862 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R2 ! ! ! !

! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.1.5 255.255.255.252 duplex auto speed auto !

interface Serial0/0/0 no ip address clock rate 2000000 shutdown ! interface Serial0/0/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router eigrp 100 redistribute ospf 1 metric 100000 100 100 1 1500 network 192.168.1.0 0.0.0.3 no auto-summary ! router ospf 1 log-adjacency-changes redistribute eigrp 100 subnets network 192.168.1.4 0.0.0.3 area 0 ! ip classless

! ! ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end R3#sh run Building configuration...

Current configuration : 833 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R3

! ! ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 ip address 192.168.1.9 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1

ip address 192.168.1.6 255.255.255.252 duplex auto speed auto ! interface Serial0/0/0 no ip address clock rate 2000000 shutdown ! interface Serial0/0/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router ospf 1 log-adjacency-changes redistribute rip subnets network 192.168.1.4 0.0.0.3 area 0 ! router rip version 2

redistribute ospf 1 metric 3 network 192.168.1.0 no auto-summary ! ip classless ! ! ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end

R3# R4#sh run Building configuration...

Current configuration : 669 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R4 ! ! ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! !

! ! interface FastEthernet0/0 ip address 192.168.1.10 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 no ip address clock rate 2000000 shutdown ! interface Serial0/0/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address

shutdown ! router rip version 2 network 192.168.1.0 ! ip classless ! ! ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end

R4#

Potrebbero piacerti anche