Net Eng

IPv6 - Routing Protocol - OSPFv3 본문

Network/실습

IPv6 - Routing Protocol - OSPFv3

欲心 2024. 6. 14. 03:35

OSPF_v3 토폴로지

 

■ OSPFv3 구성

 

1. 3개 테이블 사용

▶ Routing, Neighbor, Database

 

2. 개의 테이블 코드 사용

▶ O, OI, OE1, OE2, ON1, ON2

 

3. OSPF영역 종류

▶ Normal, Stub, Totally Stubby, NSSA

 

4. DR, BDR선출(Priority, RID)

5. 멀티캐스트 방식 업데이트(FF02::5) 224.0.0.5

6. 프로토콜 구성시 Process ID선언, 각 인터페이스별 참여 여부 설정

7. 반드시 RID 수동 구성(router-id X.X.X.X : 점 십진수 형태)

8. 인접 형성(Neighbor Relationship)과정 OSPFv2와 동일하며, Hello interval과 Dead interval역시 10, 40초로 동일

 

■ R1 라우터 ~ R4 라우터 IPv6 설정

 

R1 라우터 IP 설정

conf t
ipv6 unicast-routing
int s1/0
ipv6 addr 2001:12:12:12::1/64
no sh
int L0
ipv6 addr 2001:1:1:1::1/64

 

R2 라우터 IP 설정

conf t
ipv6 unicast-routing
int fa0/0
ipv6 addr 2001:234:234:234::1/64
no sh
int s1/0
ipv6 addr 2001:12:12:12::2/64
no sh

 

R3 라우터 IP 설정

conf t
ipv6 unicast-routing
int fa0/0
ipv6 addr 2001:234:234:234::2/64
no sh
int L0
ipv6 addr 2001:3:3:3::1/64
no sh

 

R4 라우터 IP 설정

conf t
ipv6 unicast-routing
int fa0/0
ipv6 addr 2001:234:234:234::3/64
no sh
int s1/0
ipv6 addr 2001:45:45:45::1/64
no sh

 

R5 라우터 IP 설정

conf t
ipv6 unicast-routing
int s1/0
ipv6 addr 2001:45:45:45::2/64
no sh
int L0
ipv6 addr 2001:5:5:5::1/64

 

■ R1 라우터 ~ R4 라우터 OSPF 설정

 

R1 OSPF 설정

ipv6 router ospf 1
router-id 1.1.1.1
int L0
ipv6 ospf 1 area 0
int s1/0
ipv6 ospf 1 area 0

 

R2 OSPF 설정

ipv6 router ospf 1
router-id 2.2.2.2
int s1/0
ipv6 ospf 1 area 0
int fa0/0
ipv6 ospf 1 area 1

 

R3 OSPF 설정

ipv6 router ospf 1
router-id 3.3.3.3
int L0
ipv6 ospf 1 area 1
int fa0/0
ipv6 ospf 1 area 1

 

R4 OSPF 설정

ipv6 router ospf 1
router-id 4.4.4.4
int fa0/0
ipv6 ospf 1 area 1
int s1/0
ipv6 ospf 1 area 2

 

R5 OSPF 설정

ipv6 router ospf 1
router-id 5.5.5.5
int L0
ipv6 ospf 1 area 2
int s1/0
ipv6 ospf 1 area 2

 

■ OSPF Virtual-link 설정

 

현재 토폴로지는 OSPF의 영역 생성 규칙에 위배되는 상황이므로

ABR의 역활을 수행하고 있는 R2, R4에서 Virtual-link선언을 구성하여 전체 경로를 학습 할 수 있도록 한다.

 

R2 라우터   Virtual-link 설정

ipv6 router ospf 1
area 1 virtual-link 4.4.4.4

 

R4 라우터  Virtual-link 설정

ipv6 router ospf 1
area 1 virtual-link 2.2.2.2

 

Wires shark OSPF Hello Packet

→ 10초 간격으로 OSPF Hello Packet이 보내지는것 확인, 멀티캐스트 방식 업데이트

Hello Packet

 

 

■ DR/BDR 교체

 

R2 Prioritu 값 변경

int fa0/0
ipv6 ospf priority 255

 

R2, R3, R4

do clear ipv6 ospf process

현재 R4 라우터가 DR

 

Priority 값 변경 후 R2 라우터로 DR변경


■ 실습파일

OSPF_v3.7z
0.00MB

'Network > 실습' 카테고리의 다른 글

IPv6 over IPv4 Tunneling  (0) 2024.06.14
IPv6 - Routing Protocol - EIGRPv2  (1) 2024.06.14
IPv6 - Static & RIPng 구성  (0) 2024.06.14
IPv6 - 재분배  (0) 2024.06.14
IPv6 구성  (0) 2024.06.14