# R1
en
conf t
!
no ip domain-lookup
!
enable secret cisco
!
hostname GIT-A
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.1.1 255.255.255.0
!
interface fastethernet 0/0
ip add 192.168.10.254 255.255.255.0
no shutdown
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.10 point-to-point
ip add 121.160.10.1 255.255.255.0
frame-relay interface-dlci 103
end
!
# R2
en
conf t
!
no ip domain-lookup
!
enable secret cisco
!
hostname GIT-B
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.2.2 255.255.255.0
!
interface fastethernet 0/1
ip add 192.168.20.254 255.255.255.0
no shutdown
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.20 point-to-point
ip add 121.160.20.2 255.255.255.0
frame-relay interface-dlci 206
end
!
# R3
en
conf t
!
no ip domain-lookup
!
enable secret cisco
!
hostname ISP-1
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.11.1 255.255.255.0
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.10 point-to-point
ip add 121.160.10.11 255.255.255.0
frame-relay interface-dlci 301
!
interface serial 1/0.12 point-to-point
ip add 121.160.12.1 255.255.255.0
frame-relay interface-dlci 304
end
!
# R4
en
conf t
!
no ip domain-lookup
!
hostname ISP-2
!!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.12.2 255.255.255.0
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.12 point-to-point
ip add 121.160.12.2 255.255.255.0
frame-relay interface-dlci 403
!
interface serial 1/0.23 point-to-point
ip add 121.160.23.2 255.255.255.0
frame-relay interface-dlci 405
end
!
# R5
en
conf t
!
no ip domain-lookup
!
hostname ISP-3
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.13.3 255.255.255.0
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.23 point-to-point
ip add 121.160.23.3 255.255.255.0
frame-relay interface-dlci 504
!
interface serial 1/0.34 point-to-point
ip add 121.160.34.3 255.255.255.0
frame-relay interface-dlci 506
end
!
# R6
en
conf t
!
no ip domain-lookup
!
hostname ISP-4
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.14.4 255.255.255.0
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface serial 1/0.34 point-to-point
ip add 121.160.34.4 255.255.255.0
frame-relay interface-dlci 605
!
interface serial 1/0.20 point-to-point
ip add 121.160.20.4 255.255.255.0
frame-relay interface-dlci 602
end
!
# R7
en
conf t
!
no ip domain-lookup
!
enable secret cisco
!
hostname PC1
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface fastethernet 0/0
ip add 192.168.10.1 255.255.255.0
no shutdown
!
ip route 0.0.0.0 0.0.0.0 192.168.10.254
!
end
!
# R8
en
conf t
!
no ip domain-lookup
!
enable secret cisco
!
hostname PC2
!
line con 0
logging syn
exec-timeout 0 0
password cisco
login
!
line vty 0 4
password cisco
login
!
interface loopback 0
ip add 100.100.2.2 255.255.255.0
!
interface fastethernet 0/1
ip add 192.168.20.254 255.255.255.0
no shutdown
!
interface serial 1/0
no shutdown
encapsulation frame-relay
no frame-relay inverse-arp
!
interface fastethernet 0/1
ip add 192.168.20.2 255.255.255.0
no shutdown
!
ip route 0.0.0.0 0.0.0.0 192.168.20.254
!
end
!
'물리서버' 카테고리의 다른 글
0. GRE-Over-IPsec Pre-config (0) | 2021.11.23 |
---|---|
IPsec 이중화 (0) | 2021.11.23 |
Data Privacy (0) | 2021.11.23 |
IPsec (IP Security) (0) | 2021.11.23 |
1) GRE Tunnel (Static route) (0) | 2021.11.23 |