Monday, March 28, 2011

Virtual Links, Authentication over OSPF config.




The Lab:




Router 1


interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface FastEthernet0/0
 ip address 10.100.1.1 255.255.255.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 cisco
 duplex auto
 speed auto
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 shutdown
 no fair-queue
 no dce-terminal-timing-enable
!
interface Serial0/1
 ip address 10.12.3.1 255.255.255.0
 encapsulation frame-relay
 shutdown
 no dce-terminal-timing-enable
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 redistribute static metric 50 metric-type 1 subnets
 network 1.1.1.1 0.0.0.0 area 0
 network 10.100.1.0 0.0.0.255 area 0
 neighbor 10.12.3.2
!
ip route 172.31.0.0 255.255.255.0 Null0
ip route 172.31.1.0 255.255.255.0 Null0
ip route 172.31.2.0 255.255.255.0 Null0
ip route 172.31.3.0 255.255.255.0 Null0

Router 2


interface FastEthernet0/0
 ip address 10.100.1.2 255.255.255.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 cisco
 ip ospf priority 0
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.23.1.2 255.255.255.0
 no fair-queue
 no dce-terminal-timing-enable
 service-module t1 clock source internal
 service-module t1 timeslots 1-24
!
interface Serial0/1
 ip address 10.12.3.2 255.255.255.0
 encapsulation frame-relay
 shutdown
 no fair-queue
 no dce-terminal-timing-enable
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 10.23.1.0 0.0.0.255 area 23
 network 10.100.1.0 0.0.0.255 area 0

Router 4


interface Loopback0
 ip address 10.20.0.1 255.255.255.255
!
interface Loopback1
 ip address 10.20.1.1 255.255.255.255
!
interface Loopback2
 ip address 10.20.2.1 255.255.255.255
!
interface Loopback3
 ip address 10.20.3.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.23.1.4 255.255.255.0
 no fair-queue
 service-module t1 clock source internal
 service-module t1 timeslots 1-24
!
interface Serial0/1
 no ip address
 shutdown
!
router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 network 10.23.1.0 0.0.0.255 area 23


Router 5


interface FastEthernet0/0
 ip address 10.100.1.5 255.255.255.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 7 05080F1C2243
 ip ospf priority 0
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.45.1.5 255.255.255.0
 ip ospf network point-to-point
 no dce-terminal-timing-enable
 service-module t1 clock source internal
 service-module t1 timeslots 1-24
!
interface Serial0/1
 ip address 10.12.3.3 255.255.255.0
 encapsulation frame-relay
 shutdown
 no dce-terminal-timing-enable
!
router ospf 1
 router-id 5.5.5.5
 log-adjacency-changes
 area 45 virtual-link 6.6.6.6
 network 10.45.1.0 0.0.0.255 area 45
 network 10.100.1.0 0.0.0.255 area 0
 neighbor 10.12.3.1 priority 1
 neighbor 10.12.3.2 priority 1

Router 6


interface Loopback1
 ip address 10.10.0.1 255.255.255.255
!
interface Loopback2
 ip address 10.10.1.1 255.255.255.255
!
interface Loopback3
 ip address 10.10.2.1 255.255.255.255
!
interface Loopback4
 ip address 10.10.3.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.45.1.6 255.255.255.0
 no fair-queue
 service-module t1 clock source internal
 service-module t1 timeslots 1-24
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/1
 ip address 10.78.1.6 255.255.255.0
 clockrate 64000
!
router ospf 1
 router-id 6.6.6.6
 log-adjacency-changes
 area 45 virtual-link 5.5.5.5
 network 10.45.1.0 0.0.0.255 area 45
 network 10.78.1.0 0.0.0.255 area 78

Router 7


interface Serial0
 ip address 10.78.1.7 255.255.255.0
 no fair-queue
!
interface FastEthernet0
 no ip address
 shutdown
 speed auto
!
router ospf 1
 router-id 7.7.7.7
 log-adjacency-changes
 network 10.78.1.0 0.0.0.255 area 78

No comments:

Post a Comment