ipv4/v6 mobility youn-hee han [email protected] korea university of technology and education internet...

41
IPv4/v6 Mobility Youn-Hee Han [email protected] Korea University of Technology and Education Internet Computing Laboratory http://icl.kut.ac.kr

Upload: lora-sanders

Post on 01-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

IPv4/v6 Mobility

Youn-Hee [email protected]

Korea University of Technology and EducationInternet Computing Laboratory

http://icl.kut.ac.kr

Page 2: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나2/61

IP Mobility - Why and What

Mobile IPv4 (RFC 3344)

Mobile IPv6 (RFC 3775)

PMIPv6 (Proxy Mobile IPv6) Background

PMIPv6 Overview & Features

IPv4 Support for PMIPv6

PMIPv6 and MIPv6 (Mobile IPv6) Interworking

Summary

Outline

Page 3: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나3/61

IP Mobility - Why and What

Page 4: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나4/61

IP’s Routing Model

Addresses are assigned in a topologically significant mannerRouting based on address prefixesMN(Mobile Node) must be assigned a new address when it moves

Internet

Router

Router

163.152.39.11 163.152.39.12

163.152.39.10

220.68.82.11 220.68.82.12

163.152.39.10

Page 5: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나5/61

IP Session Continuity

Internet

Router

Router

163.152.39.10

220.68.82.10

39.10.10.5

TCP connections are defined by… [Source IP, Source Port, Destination IP, Destination Port]

MN’s address must be preserved regardless of its location to preserve the on-going IP session.

Threfore, when an MN moves, Retain the MN address → Routing fails Change the MN address → IP Session breaks

Page 6: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나6/61

Solutions : Two-tier IP addressing

Internet

Router

Router

163.152.39.10

220.68.82.10

39.10.10.5

MN keeps its static IP address, but uses a temporary a CoA(care-of address) when it moves to another subnet

163.152.39.10

HoA (Home Address) – the original static IP address – 163.152.39.10CoA (Care-of Address) – the temporary IP address – 220.68.82.10

Page 7: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나7/61

Why Network-layer Mobility?

Transport Layer/ Application Layer transparencyCan even change physical media without breaking connectionsMobility management is related with addressing

Page 8: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나8/61

Network Model in WiMax/IEEE 802.16

WiBro Network Architecture

LMAMAG Policy Store

Page 9: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나9/61

Network Model in WiMax/IEEE 802.16

WiBro Network Architecture

Page 10: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나10/61

Things to be considered IP Mobility 가 이동통신망에서 필요한가 ? 현재 WiBro 에서는 ..?

단말기를 단순한 클라이언트로만 생각한다면 IP Mobility Service 는 필요 없고 단순한 L2 Path Extension 기능만 있어도 될 것 같아…

그러나 , IP Session 유지 기간에 따라 IP Mobility Service 에 대한 중요도가 높아질 것 같아 .

IP Cloud for L2 Mobility

BackboneNetwork

Micro Mobility Zone

Subnet-1

Routing

RAS3

RAS1 RAS2 RAS3

RAS1RAS2

Subnet-2

L2 path

Extended L2 path

Extended L2 path

MSS MSS MSS MSS

(1)HO using L2

Path Extension

(2 ) (3) HO over different ACRs

using L2 Path Extension

ACR-1(Anchor)

ACR-2

PG 1

PG 2 PG 1

PG 2

Page 11: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나11/61

Things to be considered IP Mobility 지원이 필요 없는 거 아니야 ?

단말기도 일종의 서버가 될 수 있다고 생각한다면 IP Mobility Service가 필요 하지 않을까… ?

단말기들 사이의 Peer-to-Peer 서비스를 원할하게 제공해야 한다면 IP Mobility Service 는 필요할 것 같아 .

IP 세션을 사람의 개입 없이 기계들 끼리 자동으로 열고 닫고 한다면… ?

The world of IPv6

DRINKDRINK

Mobile telephone

Image Server

Music

Data car

Map information

Vending machines

Data-compatible home appliances

Broadcasting

Settlement\ \

\\

IPvIPv 66

Page 12: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나12/61

Things to be considered 도대체 WiBro 네트워크 내에 ACR 의 개수가 몇 개인데 ?

Router 장비인 ACR ( 서브넷 ) 2~3 개 정도로 서울 시내를 모두 Cover 한다고 들었어… 그러면 , L2 Path Extension 만으로도 충분하지 않을까 ?

도대체 서브넷을 이동하는 횟수가 얼마나 되는데 ? 대부분의 시간에 서브넷의 경계에 위치하는 사용자는 ?

만약에 WiBro 가 전국 서비스망으로 확장된다면 ACR 의 개수는 얼마나 될까 ? 만약에 10 개 이상… 그 보다 더 많아진다면 IP Mobility 는 필요할 것 같아…

WiBro 와 WLAN 간의 이동은 ? WiBro 와 3G (HSDPA) Network간의 이동은 ? 당연히 IP 가 바뀌겠지… IP Mobility 가 필요하겠다 .

Page 13: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나13/61

Mobile IPv4 (RFC 3344)

Page 14: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나14/61

Mobile IPv4

History RFC 2002 (IP Mobility Support for IPv4), Oct. 1996 RFC 3344 (IP Mobility Support for IPv4), Aug. 2002

20 Major Changes, 16 Minor Changes since RFC 2002 draft-ietf-mip4-rfc3344bis-03.txt (IP Mobility Support for IPv4,

revised), March 2007 20 Major Changes, 17 Minor Changes since RFC 3344

Major Component HA – Home Agent FA – Foreign Agent MN – Mobile Node

Page 15: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나15/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

Normal routing MN in Home Network

MN has only HoA

Page 16: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나16/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

Normal routing

MN in Foreign Network

1) AgentSolicitation 2) Agent Advertisement

3) MN obtains a new CoA (FA-CoA)

Page 17: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나17/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

Normal routing

MN in Foreign Network

1) Registration Request 4) Registration Reply

3) Registration Reply

2) RegistrationRequest

HoAHoA CoACoA

Binding Cache

Page 18: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나18/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

HoAHoA CoACoA

Binding Cache

Page 19: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나19/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

1) AgentSolicitation

2) Agent Advertisement

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

HoAHoA CoACoA

Binding Cache

3) MN obtains a new CoA (FA-CoA)

Page 20: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나20/61

Mobile IPv4 Operation

Basic Operation of Mobile IPv4

CN

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

Operation Sketch of Mobile IPv4

HoAHoA New CoANew CoA

Binding Cache

1) RegistrationRequest

4) Registration Reply

3) Registration Reply

2) RegistrationRequest

Page 21: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나21/61

Mobile IPv4 Operation

AR (PAA)

AP

AR (PAA)

Public Internet

사업자 IP Network

HA

FA

HoAHoA New CoANew CoA

Binding Cache

Basic Operation of Mobile IPv4

Operation Sketch of Mobile IPv4

CN

Page 22: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나22/61

Characteristics of Mobile IPv4

Agent Discovery Agent Solicitation/Agent Advertisement (ICMP Messages)

Registration Registration Request/Registration Reply (UDP Messages)

Notes: Triangle Routing

CN HA MN, MN HA CN Two CoA Modes

FA-CoA MNs receive a CoA from FA FA manages ‘Visitor List’, which has the entry [HoA, Layer 2 ID]

Host Routing (Not Prefix Routing) No duplication about new CoA

Co-located CoA DHCP-based CoA allocation DHCP server should guarantee the uniqueness of CoA

Page 23: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나23/61

Mobile IPv6 (RFC 3775)

Page 24: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나24/61

Why IPv6 and Mobile IPv6

Infinite Address Space 128 bits address

Autoconfiguration Service IP address auto-configuration without DHCP

Efficient Routing Managed prefix allocation The number of routing entry will be reduced at routers

Perfect peer-to-peeringBuilt-in SecurityEfficient Mobility

IPv6… Why IPv6?

The world of IPv6

DRINKDRINK

Mobile telephone

Image Server

Music

Data car

Map information

Vending machines

Data-compatible home appliances

Broadcasting

Settlement\ \

\\

IPvIPv 66

Page 25: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나25/61

Why IPv6 and Mobile IPv6

RFC 3775, Mobility Support in IPv6, June 2004 D. Johnson (Rice Univ.), C. Perkins (Nokia), J. Arkko (Ericsson) It takes almost 3 years to make it RFC.

Major Components HA MN (no FA)

MIPv6 is a network-layer protocol, while MIPv4 is a application-layer protocol (with network-layer modification).

Mobile IPv6

Page 26: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나26/61

Why IPv6 and Mobile IPv6

New Signal Message related with Binging Management Binding Update (BU) Binding Acknowledgement (BAck) Binding Refresh Request (BRR) Binding Error (BE)

New Signal Message related with Binding Authentication Home Test Init (HoTI) Care-of Test Init (CoTI) Home Test (HoT) Care-of Test (CoT)

New Destination Option Home Address Destination Option

New Routing Header Type Routing Header Type 2

New Message and Options of Mobile IPv6

Page 27: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나27/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

MN in Home Network

InternetHome N/W

HAAR

CN

MN with Home Address

Page 28: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나28/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Movement to a Foreign Network

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

1) MN detects its Movements

2) MN configures New CoA

3) MN sends a BU

4) HA acknowledges by returning BAck to MN5) Setup Proxy Neighbor Cache

Page 29: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나29/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Intercept packets sent from CNs

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

MNHA intercepts packets withHome Address as its destination address

Page 30: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나30/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Packet Tunneling

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

HA sends encapsulated packets to MN’s CoA

MN

Process the packetProcess the packet (Decapsulation) (Decapsulation)

Looping Back

Page 31: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나31/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Return Routability with CN

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

1) MN guesses that the CN has no Binding Cache for me2) MN executes Return Routability

3) MN sends HoTI to CN via HA

MN

4) MN sends CoTI to CN directly

5) CN generates ‘binding management key’

Page 32: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나32/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Return Routability with CN

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

3) MN generates ‘binding management key’

4) MN computes binding authorization data (signature) for BU meesage

1) CN sends HoT to MN via HA

2) CN sends CoT to MN directly

MN

5) MN sends BU with binding authorization data

6) CN need not return Binding Acknowledgement

Page 33: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나33/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

Data Routing after BU with CN

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

MN

CN directly sends packets to MN’s CoA using Routing header type 2

Page 34: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나34/61

Why IPv6 and Mobile IPv6Operation Sketch of Mobile IPv6

When the binding’s lifetime of CN is near expiration

Internet

Home N/W

HAAR

CN

AR

Foreign N/W

MN

1) CN guesses that it is actively communicating with the mobile node and has indications, such as an open TCP connection to the MN

2) CN sends a BRR to the MN

3) MN replies by returning a BU to

the CN

Page 35: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나35/61

Why IPv6 and Mobile IPv6

How to make CoA? Auto-configuration

Without DHCP With DHCP

Duplication Address Detection (DAD) is required.

Route optimization supported Triangle routing avoided But, CN is required to be modified for the route optimization

Security MN HA : Strong Security (IPSec) MN CN : Weak Security (Return Routability)

Handover latency increased

Characteristics of Mobile IPv6

Page 36: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나36/61

WCDMA 101

WCDMA Evolution

Page 37: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나37/61

GSM/WCDMA Network Architecture

Node B

Page 38: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나38/61

Core Network Architecture

MAG

Serving GPRS Support Node (SGSN)

Packet transfer to, from serving area

Registration, authentication, mobility management / handover, CDRs

logical links to BTS, tunnel to GGSN

Gateway GPRS Support Node (GGSN)Gateway to external IP networks (VPN/ISP etc)IP network securityGPRS session mgmt, AAAACDRs for charging

Page 39: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나39/61

Core Network Architecture

PDP: Packet Data Protocol (PDP) is a network protocol used by an external packet data network interfacing to GPRS.

PDP Context: Information sets held in MS and GSNs for a PDP address

Page 40: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나40/61

Core Network Architecture

MAG

AAA/Policy Store LMA

Page 41: IPv4/v6 Mobility Youn-Hee Han yhhan@kut.ac.kr Korea University of Technology and Education Internet Computing Laboratory

KT 세미나41/61

Mobile IP in UMTS

Iu

CN

UTRAN

HA

UTRAN

RNS

RNS

RNS

IP network

HLRetc.

Iur

filter Internet

MAP

HA

HA

R

Gp

SGSN

GGSN

GGSNFASGSN

PLMNbackbone

GGSN

SGSN

BG

BG Border GatewayR RouterHA Home AgentFA Foreign Agent

FA

FA