Transcript 강의 PPT

컴퓨터 네트워크
9주차. IPv6와 ICMPv6
2013년도 2학기
9.1 IPv6
 IP version 6
 설계 이유: IPv4의 주소부족
 주요 변화점
 IPv4에 비해 주소의 형식과 길이, 패킷의 형식 변경
 ARP, RARP, IGMP는 ICMPv6로 흡수되거나 사라짐
 장점
 주소길이가 128비트로 2128개의 주소 지원
 기본헤더와 선택헤더로 나누어 헤더 처리를 간소화함
 새로운 선택사항으로 추후 추가할 수 있도록 함
 자원할당을 위한 지원
 더 높은 보안을 위한 지원
Dept. of Information & Communications
2
9.1.1 IPv6 패킷 형식
Dept. of Information & Communications
3
IPv6 헤더 구조
Dept. of Information & Communications
4
다음헤더 필드의 코드
Dept. of Information & Communications
5
확장 헤더의 종류와 설명
Dept. of Information & Communications
6
홉-바이-홉 옵션
 호스트가 경로상의 모든 라우터에게 전달해야 할
정보가 있을 때
Dept. of Information & Communications
7
라우팅
 송신측에서 지정한 경로를 따라 패킷을 보내고자
할때
 엄격한 소스 라우팅(type=1)과 느슨한 소스 라우팅
(type=0) 둘 다 지원
 라우팅 확장헤더 형식
Dept. of Information & Communications
8
단편화
 IPv6에서는 발신지만 단편화함
 발신지는 가장 작은 MTU를 찾는 경로 MTU 발견 기
술을 반드시 사용해야 함
 단편화 확장 헤더 형식
Dept. of Information & Communications
9
인증헤더/암호화된보안페이로드/목적지헤더
 인증헤더
 메시지 송신자 증명
 데이터 무결성 보장
 암호화된 보안 페이로드
 기밀성과 도청 방지
 목적지 헤더
 발신지가 정보를 목적지에게만 전달할 필요가 있을 때
Dept. of Information & Communications
10
9.1.4 IPv6 주소 구조
 주소길이 : 16 바이트 = 128비트
 16진수 콜론 표기법으로 2바이트씩 표현
Dept. of Information & Communications
11
생략된 IPv6 주소
Dept. of Information & Communications
12
예제 9.1
 0:15:1:12:1213을 원래대로 확장하시오.
Dept. of Information & Communications
13
9.1.5 주소 공간
 2128개의 주소 공간을 몇 가지 형태 접두사(type prefix)에 의
해 구분
 IPv6에서의 형태 접두사 (part 1)
Dept. of Information & Communications
14
주소 공간
 IPv6에서의 형태 접두사 (part 2)
Dept. of Information & Communications
15
유니캐스트 주소
 1 대 1 전송시 주소
 제공자에 근거한 주소를 보통 사용
16
24
제공자 기반 주소임을 표시
Dept. of Information & Communications
16
멀티캐스트 주소
Dept. of Information & Communications
17
애니캐스트 주소
 해당 그룹에 속하는 인터페이스 중 가장 가까운 거
리에 있는 인터페이스에게만 패킷이 전달됨
 서브네트워크 상의 가장 가까운 자원을 찾아내기
위한 수단으로도 사용
 호스트의 주소 및 발신지의 주소로 사용될 수 없음
Dept. of Information & Communications
18
IPv6에서 예약된 주소
Dept. of Information & Communications
19
IPv6에서의 로컬 주소
Dept. of Information & Communications
20
IPv4에서 IPv6로의 천이 - 이중 스택
Dept. of Information & Communications
21
IPv4에서 IPv6로의 천이 - 터널링
Dept. of Information & Communications
22
IPv4에서 IPv6로의 천이 - 헤더 변환
Dept. of Information & Communications
23
9.2 ICMPv6
 버전 4와 버전 6의 비교
Dept. of Information & Communications
24
IPv6에 캡슐화된 ICMPv6 패킷
Dept. of Information & Communications
25
ICMPv4와 ICMPv6의 오류보고 메시지 비교
 오류 보고 메시지 종류
 도달 불가, 과대 패킷, 시간 초과, 매개변수 문제, 방향 변
경
 오류보고 메시지 비교
Dept. of Information & Communications
26
9.2.2 질의
 질의 메시지 종류
 에코 요청과 응답, 라우터 정보 요청과 응답, 이웃 요청과
광고, 그룹 멤버십
 비교
Dept. of Information & Communications
27