GNS3 기반 R1-R2-R3 OSPF Dynamic Routing 토폴로지 설정 가이드
- 라우터 설정 할때 ( GNS 또는 ) R1 . R2 . R3
1. 전체 구성 요약
라우터의 인터페이스에 IP 주소를 설정 하고 OSPF 동적 라우팅 프로토콜을 활성화 하며,
다른 라우터의 네트워크 정보를 자동 교환 하는 과정
────────────────
→ 관리자 설정 모드 진입
R1
config t
→ Serial1/0 인터페이스 설정
interface Serial1/0 > 셋팅마다 예:) interface FastEthernet0/0
ip address 1.1.1.1 255.255.255.0 > 셋팅마다 예:) (192.168.0.254 255.255.255.0 )
no shutdown
exit
→ Serial1/1 인터페이스 설정
interface Serial1/1
ip address 3.3.3.2 255.255.255.0
no shutdown
→ R1 OSPF 설정
router ospf 1
router-id 1.1.1.1
network 192.168.0.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
────────────────
R2
config t
interface Serial1/0
ip address 2.2.2.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 1.1.1.2 255.255.255.0
no shutdown
router ospf 1
router-id 2.2.2.2
network 125.246.95.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
────────────────
R3
config t
interface Serial1/0
ip address 3.3.3.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 2.2.2.2 255.255.255.0
no shutdown
router ospf 1
router-id 3.3.3.3
network 2.2.2.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
────────────────
────────────────
Cisco Router IP 설정 및 OSPF 동적 라우팅 구성 가이드
### 1. 개요 및 구성 목적
* **목적:** R1, R2, R3 각 라우터의 시리얼(Serial) 인터페이스 활성화 및 IP 할당 후, OSPF Process 1 (Area 0)을
이용해 전역 네트워크 정보를 동적으로 교환 및 인접성(Adjacency) 형성
---
### 2. 라우터별 상세 CLI 설정
#### [R1 Router]
```cisco
enable
configure terminal
! 인터페이스 IP 설정
interface Serial1/0
ip address 1.1.1.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 3.3.3.2 255.255.255.0
no shutdown
exit
! OSPF 라우팅 설정 (Wildcard Mask 사용)
router ospf 1
router-id 1.1.1.1
network 192.168.0.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
exit
────────────────
────────────────
enable
configure terminal
interface Serial1/0
ip address 2.2.2.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 1.1.1.2 255.255.255.0
no shutdown
exit
router ospf 1
router-id 2.2.2.2
network 125.246.95.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
exit
────────────────
────────────────
enable
configure terminal
interface Serial1/0
ip address 3.3.3.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 2.2.2.2 255.255.255.0
no shutdown
exit
router ospf 1
router-id 3.3.3.3
network 2.2.2.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
exit
이 노트는 로그인하지 않아도
열람할 수 있습니다.
작성·수정·삭제는
관리자 로그인
후 가능합니다.