Bài viết FR với tunnel
Trang 1Bài vi t FR with Tunnel ế
Tác gi : Đăng Quang Minh ả ̣
CONFIGURATION DOCUMENT
A LAB DIAGRAM
B CONFIGURATION
Trang 2Configuration on Router R1 :
===================================================================== Current configuration : 1060 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
frame-relay switching
!
!
interface Tunnel0
ip address 192.168.1.5 255.255.255.252
tunnel source FastEthernet0/0
tunnel destination 192.168.1.2
!
interface Tunnel2
ip address 192.168.1.22 255.255.255.252
tunnel source Serial0/1
tunnel destination 192.168.1.14
Trang 3interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.252 duplex auto
speed auto
!
interface Serial0/0
no ip address
encapsulation frame-relay
no fair-queue
clockrate 64000
frame-relay intf-type dce
frame-relay route 16 interface Tunnel0 16 frame-relay route 17 interface Tunnel2 17
!
interface Serial0/1
ip address 192.168.1.13 255.255.255.252
!
ip classless
ip http server
!
line con 0
line aux 0
line vty 0 4
Trang 4login
!
end
====================================================================
Configuration on Router R2:
==================================================================== Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
ip subnet-zero
frame-relay switching
!
interface Tunnel1
ip address 192.168.1.18 255.255.255.252
no ip directed-broadcast
Trang 5tunnel source Ethernet0/0
tunnel destination 192.168.1.10
!
interface Tunnel2
ip address 192.168.1.21 255.255.255.252
no ip directed-broadcast
tunnel source Serial0/0
tunnel destination 192.168.1.13
!
interface Ethernet0/0
ip address 192.168.1.9 255.255.255.252
no ip directed-broadcast
!
interface Serial0/0
ip address 192.168.1.14 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
no fair-queue
clockrate 64000
!
interface Serial0/1
no ip address
no ip directed-broadcast
encapsulation frame-relay
Trang 6logging event subif-link-status
logging event dlci-status-change
clockrate 64000
frame-relay intf-type dce
frame-relay route 17 interface Tunnel2 17
frame-relay route 18 interface Tunnel1 18
!
ip classless
!
line con 0
transport input none
line aux 0
line vty 0 4
login
!
no scheduler allocate
end
========================================================================
Configuration on Router R7:
======================================================================== Building configuration
Current configuration : 1747 bytes
!
Trang 7version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R7-3600
!
enable password cisco
!
frame-relay switching
!
call rsvp-sync
!
!
interface Tunnel0
ip address 192.168.1.6 255.255.255.252 tunnel source FastEthernet0/0
tunnel destination 192.168.1.1
!
interface Tunnel1
ip address 192.168.1.17 255.255.255.252 tunnel source FastEthernet0/1
tunnel destination 192.168.1.9
!
Trang 8interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.252 duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.10 255.255.255.252 duplex auto
speed auto
!
interface Serial1/3
no ip address
encapsulation frame-relay
clockrate 64000
frame-relay intf-type dce
frame-relay route 16 interface Tunnel0 16 frame-relay route 18 interface Tunnel1 18
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
Trang 9end
================================================================
Configuration on R3:
================================================================ Building configuration
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
!
ip subnet-zero
!
interface Serial1
ip address 172.16.1.3 255.255.255.0
no ip directed-broadcast
encapsulation frame-relay
Trang 10logging event subif-link-status
logging event dlci-status-change
!
ip classless
!
line con 0
logging synchronous
transport input none
line aux 0
line vty 0 4
login
!
end
================================================================
Configuration on R5:
================================================================ Building configuration
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
Trang 11hostname R5
!
ip subnet-zero
!
interface Serial1
ip address 172.16.1.5 255.255.255.0
no ip directed-broadcast
encapsulation frame-relay
logging event subif-link-status
logging event dlci-status-change
!
ip classless
!
!
line con 0
transport input none
line aux 0
line vty 0 4
login
!
end
================================================================
Trang 12Configuration on R6:
================================================================ Building configuration
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
!
ip subnet-zero
!
interface Serial0
ip address 172.16.1.4 255.255.255.0
no ip directed-broadcast
encapsulation frame-relay
no ip mroute-cache
logging event subif-link-status
logging event dlci-status-change
no fair-queue
Trang 13interface Serial1
no ip address
no ip directed-broadcast shutdown
!
ip classless
!
line con 0
logging synchronous transport input none line aux 0
line vty 0 4
login
!
end