Tuesday, October 14, 2008

OSPF 1 LAB


Main Objective: To utilize the connection from R5 to R8 and use R6 and R7 as redundant link. Configured OSPF at R6, R7, R8 and R5.

When link going to R6 went down, link to R7 will become active.

R5 Config


Building configuration...

Current configuration : 633 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 10
ip cef
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
ip http server
no ip http secure-server
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end





R6 Config

Current configuration : 976 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r6
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.254.13 255.255.255.252
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 192.168.254.12 0.0.0.3 area 0
!
ip http server
ip forward-protocol nd

!
!
!
!
!
control-plane
!
!
line con 0
session-timeout 35791
absolute-timeout 10000
line aux 0
line vty 0 4
login
!
end


R7 Config

Current configuration : 964 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r7
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.253 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.254.9 255.255.255.252
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 192.168.254.8 0.0.0.3 area 0
!
ip http server
ip forward-protocol nd

!
!
!
!
!
control-plane
!
!
line con 0
session-timeout 35000
absolute-timeout 10000
line aux 0
line vty 0 4
login
!
end


R8 Config


Current configuration : 939 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r8
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
!
!
interface Loopback0
ip address 192.254.254.1 255.255.255.255
!
interface Serial0/0
ip address 192.168.254.14 255.255.255.252
serial restart-delay 0
!
interface Serial0/1
ip address 192.168.254.10 255.255.255.252
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 192.168.254.8 0.0.0.3 area 0
network 192.168.254.12 0.0.0.3 area 0
network 192.254.254.1 0.0.0.0 area 0
!
ip http server
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
line con 0
session-timeout 35000
absolute-timeout 10000
line aux 0
line vty 0 4
login
!
end




Showing ospf neig at R5


Neighbor ID Pri State Dead Time Address Interface
192.168.1.253 1 FULL/DROTHER 00:00:36 192.168.1.253 FastEthernet0/0
192.168.1.254 1 FULL/BDR 00:00:35 192.168.1.254 FastEthernet0/0