Professional Documents
Culture Documents
B1 1 김영한
B1 1 김영한
숭실대학교정보통신공학과
김영한
IPv6 프로토콜
• IPv6 개요
• Neighbor Discovery
• IPv6 Transition Strategy
• Extended API
• Host protocol structure
-127 -
IPv6 진화동기
IPng Specifications
• IPv6 Specification
- Intenet Protocol , Version 6(IPv6) Specification, RFC
1883
• Internet Control Massage Protoc이
- Intemet Control Message protocol (I CMPv6) for the
Intemet Protoc이 Version 6 (I Pv6) , RFC 1885
-128 -
• Addressing Architecture
- IP Version 6 Addressing Architechture , RFC
1884.
- IPv6 Address Allocation Management , RFC
1881.
- An Architechture for IPv6 Unicast Address
Allocation , RFC 1887.
- An IPv6 Provider-Based Unicast Address
Format , Internet Draft.
- IPv6 Testing Address Allocation , RFC 1897
- Identifying Interfaces in IPv6 link-local
address , Internet Draft.
-129-
• Transiton Mechanisms
- Transition Mechanisms for IPv6 Hosts and
Routers , Internet Draft.
- Routing Aspect of IPv6 Transition , Internet
Draf t.
• Routing
- RIPng for IPv6 , Internet Draft.
- IDRP for IP v4 and v6 , Internet Draft.
- OSPF Version 2 for IP Version 6 , Internet
Draft
- Multi-homing Support in IPv6 , Internet Draft
• Secur i ty
- Security Architecture for the Internet
Protocol , RFC 1825
- IP Authentication Header , RFC 1826
- IP Encapsulating Security Payload(ESP) , RFC
1827
- IP Authentication using Keyed 뻐5 , RFC1828
- The ESP DES-CBC Transform , RFC 1829
• Discovery
- Neighbor Discovery for IP Version 6 (IPv6) ,
Internet Draft
-130-
• Auto Configuration
- IPv6 Stateless Address Autoconfiguration ,
Internet Draft.
- Dynamic Host Configuration Protocol for
IPv6 (DHCPv6) , Internet Drfat.
• Program Interfaces
- IPv6 Program Intefaces for BSD systems ,
Internet Draft.
• OSI NSAP Mapping
- OSI NSAPs and IPv6 , Internet Draft.
• Mobility
- IPv6 Mobility Support , Internet Draft.
- Mobility Support in IPv6 , Internet Draft.
• IPv6 over Different Media
- A Method for the Transmission of IPv6
Packets over Ethernet Networks , Internet
Draft .
- A Method for the Transmission of IPv6
Packets over FDDI Networks , Internet Draft.
- A Method for the Transmission of IPv6
Packets over Token Ring Networks , Internet
Draft.
- IP Version 6 over PPP , Internet Draft.
-131-
‘
IPv6 개발의 고려 요소
-132 -
IPv6 프로토콜의 특징
IPv6 헤더 구조
Version Priority Flow Label
Payload Length Next Header Hop Limit
Source Address
Destination Address
-133 -
IPv6 확장 헤더
• Hop-by-Hop 옵션 헤 더
- 각 노드가 처리
• 목적지 옵션 헤더
- 초|종 목적지에서 처리
• 라무팅 헤더
- 소스 라무팅 기능
• Fragment 헤더
- fragmetation 기능
• Authentication 허|더
「 보안 기능
R H
랩 앙
IPv6 Header
셔야
N
따
-134-
IPv6 주소 유형
• Unicast 주소
- 단일 인터페이스 지정
• Anycast 주소
- 인터페이스들의 집합에 할당. 그중 하나의
인터페이스를 지정
• Multicast 주소
- 인터페이스들의 집합에 할당. 모든
인터페이스를 지정
-135 -
Neighbor Discovery 프로토콜의 주된
기능
• Router Discovery
• Prefix Discovery
• Parameter Discovery
• Address Resolution
• Address Autoconfiguration
• Next-hop Determination
• Neighbor Unreachabi I ity Detection
• Dupl icate Address Detection
• Redirect
Neighbor Discovery 으|
ICMP 패켓유형
• Router Solicitation
• Router Advertisement
• Neighbor Sol icitation
• Neighbor Advertisement
• Redirect
-136-
호스트의 데이타 구조
• Neighbor Cache
• Destination Cache
‘
• Prefix List
• Default Router
List
호스트의 패켓 전송방법
• Next-hop 결정
- 목적지에 대한 Destination Cache 검색
- 해당 entry 가 존재하지 않을때
Prefix 목록 검색
목적지가 동일링크인지 결정
동일링크가 아닐때 디폴트 라루터로 결정
• 링코계층 주소결정
- Neighbor Cache 검색
- 해당 entry 가 존재하지 않으면 address
resolution 수행
”
7
l
IPv6 로의 이전 방법
• 이전 모델
- IPv4-only IPv6 -only or
.. Dual IPv6/IPv4 • Dual IPv6/IPv4
•
• 이전 기술
- 터널링 기술
Automatic IPv6-over-IPv4 터널링
Configured IPv6-over-IPv4 터널링
- 헤더 변환 기술
- 캡슐화 기술
라무팅 토폴로지
A IPv6-complete 지 역 、 B
-138-
터널링 기술 ‘
• Automat i c 터널링
공통의 IPv4-complete 지역에 연결되어 있는 IPv6/IPv4
호스트간에 사용
초|종목적지로 송신혹의 패켓올 전송시 사용
투 IPv6/IPv4 호스트간에 end-to-end 전송시 사용
IPv6/IPv4 라루터가 IPv4-complete 지역올 통해 연결되어
있는 IPv6/IPv4 호스트로 전달활 경우 사용
• Conf i gured 터널링
IPv6/1Pv4 라루터 간에 사용
IPv6/1Pv4 호스트와 IPv6/1Pv4 라루터 간에 사용
패켓이 초|종목적지 노드까지 연결되지 않는다
터널링 기술의 사용
‘
다른서브네트워크
통일서브네트워크에존재 l r> IPv6패켓을
라우터로전달
IPv6
통일서브네트워크에
Automatic IPv6-over-
다른서브네트워크 IPv4 터널링 이용
존재하지 않음
-139-
Automatic 'IPv6-over-IPv4 터널링
IPv6/IPv4 호스트 H2
(O:O:O:O:O:ffff: 192.9 .5.3)
-140-
I Pv6 , I Pv4 헤 더 변혼r
IPv4 패켓 Translate 투=ξ〉 IPv6 패켓
〈뇨= 〈뇨그
IPv4-complete 지 역 IPv6-complete 지 역
Translating 라무 터
IPv4-only 노드 IPv6-only 노드
확장 API
TCPIIP 응용프로그램 : IPv4 TCP/l P 응용프로그램 IPv6
할장 API
IPv6 응용프로그램 지원
기존 IPv4응용프로그램 지원
128- 비트 IPv6 주소, 기존 32-1:11 트 IPv4 주소 수용
• IPv4-mapped IPv6 주소 수용
-141-
•
TCP UDP
Routing Neighbor
ARP ICMPv4 ICMPv6
Protocol Discovery
IPv4 IPv6
NDIS
Device Driver
NetworkAda 미ter Card
-142-
패켓 유형 선택 방법
동일서닙 서닙네트 서닙네트 데이타
전송 1Pv6 1Pv4
목적지주소 네트워크 상에1Pv4 상에1Pv6 링크
패켓 욕적지 목적지 턱찍지
유 형 에목적지 라루티의 라루터의
유형 주소 주소 후소
위치여부 존재여부 존재여부
IPv4 또는
1Pv4 - mapped 여| N/A N/A IPv4 N/A E4 EL
IPv4 또는
아니오 여l N/A RL
U‘v4 - map야d N/A IPv4 E4
-143 -