R1#sh run
Building configuration...
Current configuration : 1294 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
ip address 192.168.1.1 255.255.255.0
!
interface Loopback2
ip address 192.168.2.1 255.255.255.0
!
interface Loopback3
ip address 192.168.3.1 255.255.255.0
!
interface Loopback4
ip address 192.168.4.1 255.255.255.0
!
interface Loopback11
ip address 172.16.1.1 255.255.255.0
!
interface Loopback12
ip address 172.16.2.1 255.255.255.0
!
interface Loopback13
ip address 172.16.3.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.12.1 255.255.255.252
clock rate 64000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
!
router rip
version 2
network 10.0.0.0
network 172.16.0.0 //didn't work for RIP
network 192.168.0.0
network 192.168.1.0
network 192.168.4.0
no auto-summary
!
!
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
--------------------------------------
R2#sh run
Building configuration...
Current configuration : 986 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.12.2 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
ip address 10.1.23.1 255.255.255.252
clock rate 64000
!
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute rip subnets //redistribute INTO OSPF, conf inside OSPF process
network 10.0.0.0 0.255.255.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 4 //redistribute INTO rip, conf inside RIP process
passive-interface Serial0/1 //RIP is classfull, gonna advertise 10.0.0.0/8, so need exception for like this
network 10.0.0.0
no auto-summary
!
!
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
--------------------------------------
R2#sh run
Building configuration...
Current configuration : 986 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.12.2 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
ip address 10.1.23.1 255.255.255.252
clock rate 64000
!
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute rip subnets
network 10.0.0.0 0.255.255.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 4
passive-interface Serial0/1
network 10.0.0.0
no auto-summary
!
!
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
--------------------------------------
R2#sh run
Building configuration...
Current configuration : 986 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.12.2 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
ip address 10.1.23.1 255.255.255.252
clock rate 64000
!
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute rip subnets
network 10.0.0.0 0.255.255.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 4
passive-interface Serial0/1
network 10.0.0.0
no auto-summary
!
!
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
--------------------------------------
hi ken , you have repeated the file config of the router2 twice... if you realized.. there aren't the conf from r3 and r4
ReplyDelete