Bài 1 : Configuring OSPF Virtual Link
Mục đích : cấu hình để cho một vùng không có liên lạc với backbone có thể liên lạc được.
Cấu hình :
+ Diagram:
Click this bar to view the small image.
+ Chi tiết :
SanJose1#sh run
Building configuration…
Current configuration : 1015 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SanJose1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$bP5E$pamhnCUi0AcSl/F9Rej651
!
no aaa new-model
!
resource policy
!
ip cef
!
interface Loopback0
ip address 192.168.1.3 255.255.255.0
!
interface Loopback1
ip address 192.168.0.3 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.224.1 255.255.255.0
duplex half
!
router ospf 1
log-adjacency-changes
network 192.168.0.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.224.0 0.0.0.255 area 51
!
no ip http server
no ip http secure-server
!
logging alarm informational
!
control-plane
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 0 0
password cisco
logging synchronous
login
!
!
end
SanJose1#
Singapore#sh run
Building configuration…
Current configuration : 1790 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Singapore
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$bPdv$hcFIbsP8L4rzFyuNrFoqE0
!
no aaa new-model
!
resource policy
!
ip cef
!
interface Loopback0
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.224.2 255.255.255.0
duplex half
!
interface Serial1/0
ip address 192.168.240.1 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
router ospf 1
log-adjacency-changes
network 192.168.3.0 0.0.0.255 area 51
network 192.168.224.0 0.0.0.255 area 51
network 192.168.240.0 0.0.0.3 area 3
!
no ip http server
no ip http secure-server
!
logging alarm informational
!
control-plane
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 0 0
password cisco
logging synchronous
login
!
!
end
Singapore#
Auckland#sh run
Building configuration…
Current configuration : 1711 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Auckland
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$W3Ux$X4cR/1jc27f9IbV5b.Qgn0
!
no aaa new-model
!
resource policy
!
ip cef
!
interface Loopback0
ip address 192.168.252.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.248.1 255.255.255.0
duplex half
!
interface Serial1/0
ip address 192.168.240.2 255.255.255.252
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0