내용
전체 구조 구축

실습
PC1)
ip 192.168.10.10 192.168.10.254
R1)
conf t
int f0/0
ip add 192.168.10.254 255.255.255.0
no sh
int f1/0
ip add 2.2.12.1 255.255.255.0
no sh
R2)
conf t
int f0/0
ip add 2.2.12.2 255.255.255.0
no sh
int s1/1
ip add 2.2.23.2 255.255.255.0
no sh
R3)
conf t
int s1/1
ip add 2.2.23.3 255.255.255.0
no sh
int f0/0
ip add 192.168.20.253 255.255.255.0
no sh
PC2)
ip 192.168.20.20 192.168.20.253
- 기본경로(default route) 설정
R1)
conf t
ip route 0.0.0.0 0.0.0.0 2.2.12.2
R3)
conf t
ip route 0.0.0.0 0.0.0.0 2.2.23.2
R1)
conf t
int tunnel 1
ip unnumbered f0/0
tunnel source f1/0
tunnel destination 2.2.23.3
ip route 192.168.20.0 255.255.255.0 tunnel 1
R3)
conf t
int tunnel 3
ip unnumbered f0/0
tunnel source s1/1
tunnel destination 2.2.12.1
ip route 192.168.10.0 255.255.255.0 tunnel 3
결과


⇒ R1과 R4 사이 파란색 터널이 생겨 다른 네트워크끼리 통신이 가능
⇒ PC1 → PC2 ping 성공
문제점