kjh00n의 기록저장소
Tunneling 본문
간단 실습
R1
int fa 0/0
ip addr 10.10.10.254 255.255.255.0
no shu
int fa 0/1
ip addr 100.100.100.1 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 100.100.100.2
int tunnel 0
ip addr 192.168.10.1 255.255.255.0
tunnel source 100.100.100.1
tunnel destination 200.200.200.1
tunnel mode gre ip
ip route 20.20.20.0 255.255.255.0 192.168.10.2
R2
int fa 0/0
ip addr 100.100.100.2 255.255.255.0
no shu
int fa 0/1
ip addr 150.150.150.1 255.255.255.0
no shu
ip route 200.200.200.0 255.255.255.0 150.150.150.2
R3
int fa 0/0
ip addr 150.150.150.2 255.255.255.0
no shu
int fa 0/1
ip addr 200.200.200.2 255.255.255.0
no shu
ip route 100.100.100.0 255.255.255.0 150.150.150.1
R4
int fa 0/0
ip addr 20.20.20.254 255.255.255.0
no shu
int fa 0/1
ip addr 200.200.200.1 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 200.200.200.2
int tunnel 0
ip addr 192.168.10.2 255.255.255.0
tunnel source 200.200.200.1
tunnel destination 100.100.100.1
tunnel mode gre ip
ip route 10.10.10.0 255.255.255.0 192.168.10.1
터널링은 터널링하려는 라우터끼리 통신이 된다는 조건을 충족하고 진행해야 된다.
터널링해주면 설정할 것은 4가지
1. 가상 IP 설정 2. 바뀔 출발지 IP 설정 3. 바뀔 목적지 IP 설정 4. GRE 설정 |
'보안 장비 운용' 카테고리의 다른 글
Tunneling 실습2 (0) | 2025.01.22 |
---|---|
Tunneling 실습 (0) | 2025.01.21 |
SOPHOS 설정 (0) | 2025.01.21 |
통합 위협 관리 시스템(UTM) 구축 (0) | 2025.01.20 |
보안 시스템 구축 (이론) (0) | 2025.01.20 |