WNP-MPR-mip-mesh 1
Wireless Networks and Protocols
MAP-Tele Manuel P. Ricardo
Faculdade de Engenharia da Universidade do Porto
Wireless Networks and Protocols MAP-Tele Manuel P. Ricardo - - PowerPoint PPT Presentation
WNP-MPR-mip-mesh 1 Wireless Networks and Protocols MAP-Tele Manuel P. Ricardo Faculdade de Engenharia da Universidade do Porto WNP-MPR-mip-mesh 2 Topics Scheduled for Today Convergence and interoperability of wireless systems:
WNP-MPR-mip-mesh 1
Faculdade de Engenharia da Universidade do Porto
WNP-MPR-mip-mesh 2
♦ Convergence and interoperability of wireless systems: bringing
– Basics on Mobile IP – 3GPP plans for adopting Mobile IPv6 – Media Independent handover
– Basics on ad-hoc networks – The IEEE 802.11 mesh networks
WNP-MPR-mip-mesh 3
♦ How to move between IP networks while maintaining a
♦ What are the differences between MIPv4 and MIPv6? ♦ How is route optimization performed in MIPv6 ♦ How does the Dual Stack MIPv6 work?
WNP-MPR-mip-mesh 4
WNP-MPR-mip-mesh 5
♦ IP datagram forwarding is based on IP destination address ♦ IP network address physical network ♦ Changing network changing IP address ♦ How to implement mobility at the IP layer? ♦ Possible solution
– DNS registration takes time – TCP connections will break
WNP-MPR-mip-mesh 6
♦ MN, Mobile Node ♦ HA, Home Agent
♦ FA, Foreign Agent
♦ COA, Care-of Address
♦ CN, Correspondent Node
WNP-MPR-mip-mesh 7
mobile end-system Internet router router router end-system
home network foreign network (physical home network for the MN) (current physical network for the MN)
WNP-MPR-mip-mesh 8
Internet sender
home network foreign network receiver
HA intercepts packet
by encapsulation
WNP-MPR-mip-mesh 9
Internet receiver
home network foreign network sender
FA works as default router
WNP-MPR-mip-mesh 10
CN router HA router FA Internet router 1. 2. 3. home network MN foreign network 4. CN router HA router FA Internet router home network MN foreign network COA
WNP-MPR-mip-mesh 11
♦ MN identifies the network
ICMP Router Advertisement messages
– Its home network, or – A visited network MN obtains new address – the CoA
♦ In the visited network, after obtaining CoA, MN
– HA assumes the MN home IP address – Packets destined to the MN IP home address are intercepted by HA and tunnelled to the MN (CoA address)
WNP-MPR-mip-mesh 12
preference level 1 router address 1 #addresses type
lifetime checksum COA 1 COA 2 type sequence number length 7 8 15 16 31 24 23 code preference level 2 router address 2 . . . registration lifetime . . .
R B H F M G r
reserved
R – registration required B – FA busy H – agent is HA F – agent is FA M – minimal encaspulation accepted G – GRE encapsulation accepted r – not used T – FA supports reverse tunneling
Message sent by mobility agents (HA and FA)
T
WNP-MPR-mip-mesh 13
♦ Can we remove the Foreign Agent from MIPv4? What are the
WNP-MPR-mip-mesh 14
t MN HA t MN FA HA
WNP-MPR-mip-mesh 15
Type – registration request, registration reply S – Maintain old binding B –broadcast messages shall be forwarded D – co-located address M – minimal encapsulation accepted G – GRE encapsulation accepted r – not used T – FA supports reverse tunneling x - ignored
home agent home address type lifetime 7 8 15 16 31 24 23 identification COA extensions . . .
S B DMG r T x
port UDP 434
WNP-MPR-mip-mesh 16
new data new IP header
inner header
WNP-MPR-mip-mesh 17
Care-of address COA IP address of HA TTL IP identification IP-in-IP IP checksum flags fragment offset length TOS ver. IHL IP address of MN IP address of CN TTL IP identification
IP checksum flags fragment offset length TOS ver. IHL TCP/UDP/ ... payload
WNP-MPR-mip-mesh 18
♦ What is NAT (Network Address Translation)?
WNP-MPR-mip-mesh 19
WNP-MPR-mip-mesh 20
♦ Does this version of MIPv4 work when MN has a private CoA
WNP-MPR-mip-mesh 21
WNP-MPR-mip-mesh 22
♦ Differences to MIPv4
– Sent as an IPv6 extension header Mobility Header – Binding relations (HomeAddress CareOfAddress ) recorded also in the CNs
♦ Binding messages
– MN informs HA/CN of its CareOfAddress
– Received by MN. Confirms BindingUpdate
– Sent by HA/CN. Requests MN to refresh binding
WNP-MPR-mip-mesh 23
♦ MN moves to a visited network
– MN auto-configures new address COA – COA network prefix == prefix of the visited network – MN request the registration of COA in HA MN sends IPv6 packet with BindingUpdate (extension header) – HA registers MN and replies with BindingAcknowledgment
♦ Tunnel MN - HA
– HA, in home networks
Intercepts packet to MN Sends packet to COA; by tunnel
– MN
Sends packet in tunnel to HA
– Tunnel terminates in the MN
WNP-MPR-mip-mesh 24
♦ MN
– In mobility routers up to 50 msg/s – Obtains network prefix
♦ DHCPv6 may be used by MN to obtain CoA
WNP-MPR-mip-mesh 25
♦ When MN receives a tunnelled packet
♦ HomeAddress CareOfAddress binding
– also known at the CN
♦ Then, packets are exchanged directly between MN e CN
WNP-MPR-mip-mesh 26
♦ IPv6 packets in direction CN MN
» CN
– Before sending a packet to MN, reads its Bindings cache – Is there is no entry packet sent as usual – If there is an entry
Sends packet to CareOfAddress (destination address = CareOfAddress) Includes in the packet a RoutingHeader having 2 hops
(list of addresses to be visited) – 1º hop CareOfAddress; 2º hop MN HomeAddress
» MN
– Receives packet in CareOfAddress – Forwards packet to itself (MN home address)
♦ IPv6 packets in the MN CN direction
– Source address = CareOfAddress – Inclusion of DestinationHeader with information about HomeAddress – CN replaces HomeAddress in the packet source address so that the socket structure may contain the correct information HomeAddress
WNP-MPR-mip-mesh 27
As the packet travels from S to I1: Source Address = S Hdr Ext Len = 6 Destination Address = I1 Segments Left = 3 Address[1] = I2 Address[2] = I3 Address[3] = D As the packet travels from I1 to I2: Source Address = S Hdr Ext Len = 6 Destination Address = I2 Segments Left = 2 Address[1] = I1 Address[2] = I3 Address[3] = D As the packet travels from I2 to I3: Source Address = S Hdr Ext Len = 6 Destination Address = I3 Segments Left = 1 Address[1] = I1 Address[2] = I2 Address[3] = D As the packet travels from I3 to D: Source Address = S Hdr Ext Len = 6 Destination Address = D Segments Left = 0 Address[1] = I1 Address[2] = I2 Address[3] = I3
WNP-MPR-mip-mesh 28
cn ha mn router novo mn | | | | no no' mo moves ves | | | | | | | | + +---
>| | | | | | | |r |rad adv | | | | | | | | + +---
>| | | | | bind inding ing u upd pdate ate | | | | | | |< |<----
| | |b |bindi nding ng ac ack k | | | | | | | | +-----
>| |ec |echo ho re requ quest est| | | | | | | | + + ----
====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ==>| >| | e | echo cho r rep eply ly | | | | | | | | |< |<----
====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===+ =+ |ho |home me te test st in init it | | | | | | |< |<----
====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===+ =+ | c | care are o
f tes test t init nit | | | | | | |< |<----
|ca |care re of
test est| | | | | | | | +--
>| |ho |home me te test st | | | | | | | | +--
====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ===== ===== ====== ====== ===== ==== ==>| >| | b | bind indin ing g upd updat ate | | | | | | |< |<----
| b | bind indin ing g ack ack | | | | | | +--
>| |ec |echo ho re requ quest est| | | | | | | | +--
>| | e | echo cho r rep eply ly | | | | | | | | |< |<----
| | | | | | | | | | pin ping pin ping
WNP-MPR-mip-mesh 29
WNP-MPR-mip-mesh 30
♦ DSMIPv6
♦ Extends MIPv6 to allow
WNP-MPR-mip-mesh 31
– MN-home-address-IPv6 MN-CoA-IPv6 – MN-home-address-IPv4 MN-CoA-IPv6
WNP-MPR-mip-mesh 32
– MN-home-address-IPv6 MN-CoA-IPv4 – MN-home-address-IPv4 MN-CoA-IPv4
WNP-MPR-mip-mesh 33
– MN-home-address-IPv6 public-MN-CoA-IPv4/port – MN-home-address-IPv4 public-MN-CoA-IPv4/port
– are first encapsulated in UDP packet (port to port), – then encapsulated in an IPv4 tunnel ending at the public-MN-CoA-IPv4 (recall the NAT functionality)
WNP-MPR-mip-mesh 34
♦
♦
WNP-MPR-mip-mesh 35
♦ Visited network supports IPv6 similar to MIPv6 ♦ Visited network supports IPv4 only
♦ Not possible
WNP-MPR-mip-mesh 36
♦ What MIP based solutions are currently being studied in 3GPP? ♦ How are these solutions expected to work?
WNP-MPR-mip-mesh 37
♦ Plans for Release 8 ♦ Requirements
♦ Possible solution based on DSMIPv6
♦ Conclusions based on the SAE report may lead to other solutions
WNP-MPR-mip-mesh 38
UE
WLAN AccessNetwork GERAN/UTRAN
SGSN HA PDG/ AR 3GPP AAA Server HSS
External PDN
WAG Ww Wu Wn Wp Wx HGi Iu_ps/Gb Uu/Um H3 H1 H2 GGSN/ AR Gn H3
L2/L1
Transport IP Tunneling layer
WLAN UE WLAN AN WAG PDG L2/L1
Transport IP
L2/L1
Transport IP
L2/L1 L2/L1 L2/L1
Transport IP Remote IP
L2/L1
Transport IP Transport IP Remote IP Tunneling layer
WNP-MPR-mip-mesh 39
UE WLAN Access Network GERAN/UTRAN SGSN HA PDG/ AR External PDN WAG Ww Wu Wn Wp HGi Iu_ps/Gb Uu/Um H3
H2 GGSN/ AR H3 Wx Wd* HSS 3GPP AAA server 3GPP AAA proxy HPLMN VPLMN Gn
WNP-MPR-mip-mesh 40
UE HA 3GPP AAA Server
& IPv6 HoA allocation
3GPP AAA Proxy
WNP-MPR-mip-mesh 41
– interaction HA@vPLMN AAA/HSS@hPLMN involves AAA-Proxy@vPLMN
WNP-MPR-mip-mesh 42
♦ Why does HA “assign home addresses”? What about the IP
WNP-MPR-mip-mesh 43
» GGSN selection, IP address assignment to the UE (CoA) » GTP tunnel establishment between UE and GGSN
UE GGSN HA SGS N
3GPP access and initiates HO
GTP Tunnel PDG
WNP-MPR-mip-mesh 44
and decides to transfer sessions to IWLAN
and gets new IP address (CoA)
UE GGSN HA PDG
3GPP IWLAN access and initiates HO UE GGSN HA PDG
3GPP IWLAN access and initiates HO
BU/BA
8. DSMIPv6 Tunnel
IPsec Tunnel DSMIPv6 tunnel
WNP-MPR-mip-mesh 45
UE HA 3GPP AAA Server
3GPP AAA Proxy
WNP-MPR-mip-mesh 46
♦ What other efforts are being developed to help macro mobility? ♦ How does the 802.21 work?
WNP-MPR-mip-mesh 47
♦ Increasing number of interfaces on devices
♦ Device has difficulties in finding its best connection
based on signal strength criteria alone
♦ Many (vertical) handover mechanisms available ♦ Unified mechanism for handover decisions would help
» common across, at least, 802 media » based on L2 Triggers to make Mobile IP like protocols to work fast » based on media independent information
WNP-MPR-mip-mesh 48
WNP-MPR-mip-mesh 49
WNP-MPR-mip-mesh 50
8 0 2 .1 1 r 8 0 2 .1 6 e
IP Mobility & Handover Signaling
MI P FMI P SI P HI P NETLMM DNA MI PSHOP
WNP-MPR-mip-mesh 51
802.21 MIH Function Protocol and Device Hardware
Applications (VoIP/RTP)
Connection Management
WLAN Cellular WMAN
L2 Triggers and Events Information Service
Mobility Management Protocols
Smart Triggers Information Service Handover Messages
Handover Management
Handover Policy
Handover Messages IEEE 802.21 IETF
WNP-MPR-mip-mesh 52 WLAN WWAN
Link Up Link Going Down Link Down Link Up
Link Switch Make before Break
Connected Disconnected
Time
♦ State Change Events
♦ Predictive Events
♦ Network Initiated Events
WNP-MPR-mip-mesh 53
No
Event Type Event Name Description
1 State Change Link Up L2 Connection established 2 State Change Link Down L2 Connection is broken 3 Predictive Link Going Down L2 connection breakdown imminent 4 State Change Link Detected New L2 link has been found 5 State Change Link Parameters Change Change in specific link parameters has crossed pre- specified thresholds (link Speed, Quality metrics) 6 Administrative Link Event Rollback Event rollback 7 Link Transmission Link SDU Transmit Status Improve handover performance through local feedback as opposed to waiting for end-to-end notifications 8 Link Synchronous Link Handover Imminent L2 intra-technology handover imminent (subnet change). Notify Handover information without change in link state. 9 Link Synchronous Link Handover Complete Notify handover state
WNP-MPR-mip-mesh 54
802.21 Information Server
Network Type SSID/ Cell ID BSSID Operator Security NW Channel QoS Physical Layer Data Rate
GSM 13989 N/A AT&T NA NA 1900 N/A N/A 9.6 kbps
Network Type SSID/ Cell ID BSSID Operator Security NW Channel QoS Physical Layer Data Rate
GSM 13989 N/A AT&T NA NA 1900 N/A N/A 9.6 kbps 802.11b Intel 00:00:… Intel .11i EAP-PEAP 6 .11e OFDM 11 Mbps
Network Type SSID/ Cell ID BSSID Operator Security EAP Type Channel QoS Physical Layer Data Rate
GSM 13989 N/A Oper-1 NA NA 1900 N/A N/A 9.6 Kbps 802.11n Enterprise 00:00:… Oper-2 .11i EAP-PEAP 6 .11e OFDM 100 Mbps 802.16e NA NA Oper-3 PKM EAP-PEAP 11 Yes OFDM 40 Mbps
WNP-MPR-mip-mesh 55
Information Element Description Comments
List of networks available List all network types that are available given client location E.g., 802.11, 802.16, GSM, GPRS/EDGE, UMTS networks Location of PoA Geographical Location, Civic address, PoA ID E.g. GML format for LBS or network management purpose Operator ID Name of the network provider E.g. Could be equivalent to Network ID. Roaming Partners List of direct roaming agreements E.g. in form of NAIs or MCC+MNC Cost Indication of costs for service/network usage E.g, Free/Not free or (flat rate, hourly, day or weekly rate) Security Link layer security supported Cipher Suites and Authentication Methods, Technology specific, e.g. WEP in 802.11, 802.11i, PKM in 802.16, etc. Quality of Service Link QoS parameters 802 wide representation, application friendly PoA Capabilities Emergency Services, IMS Services, etc. Higher Layer Services Vendor Specific IEs Vendor/Operator specific information Custom information
WNP-MPR-mip-mesh 56
No Command Name MIHF <> MIHF Description
1 MIH Handover Initiate Client <> Network Initiates handovers and sends a list of suggested networks and suggested PoA (AP/BS). 2 MIH Handover Prepare Network <> Network This command is sent by MIHF on old network to MIHF on suggested new network . This allows the client to query for resources on new network and also allows to prepare the new network for handover 3 MIH Handover Commit Client <> Network In this case the client commits to do the handover based on selected choices for network and PoA. 4 MIH Handover Complete Client <> Network Network <> Network This is a notification from new network PoA to old network PoA that handover has been completed, new PoA has been established and any pending packets may now be forwarded to the new PoA.
WNP-MPR-mip-mesh 57 New items in scope of 802.21
SME
NME
LLC MAC PHY PHY_SAP MAC_SAP MLME PLME MLME_PLME_SAP
MLME_SAP PLME_SAP
LSAP
Layer 3 or higher Mobility Protocol (L3MP) 802.21 Scope MIH_SAP MLME_SAP MIH Function MIH Event Service MIH Command Service MIH Information Service
No New Mobility Protocols Does Not handle Handover Execution No Redesign of Existing PHY/MAC
WNP-MPR-mip-mesh 58
Management Plane MAC Common Part Sublayer MAC Security Sublayer
NCMS
Convergence Sublayer (CS) PHY PHY_SAP MAC_SAP
M_SAP
CS_SAP
C_SAP
New SAPs in scope of 802.21
L2.5
No Redesign of Existing PHY/MAC
Layer 3 or higher Mobility Protocol (L3MP) MIH Function MIH Event Service MIH Command Service MIH Information Service MIH_SAP 802.21 Scope
No New Mobility Protocols Does Not handle Handover Execution
WNP-MPR-mip-mesh 59
♦ What is an ad-hoc network? ♦ What are the differences between an ad-hoc wireless network
♦ What are the characteristics of the most important ad-hoc
WNP-MPR-mip-mesh 60
♦ Auto-configurable networks ♦ Having wireless links ♦ Mobile nodes dynamic topology ♦ Isolated networks or interconnected to Internet ♦ Nodes forward traffic ♦ Routing protocols
A B C
WNP-MPR-mip-mesh 61
Fixed Network Mobile Devices Mobile Router Manet Mobile IP, DHCP Router End system
WNP-MPR-mip-mesh 62
♦ Distance vector
♦ Link state
4 3 6 2 1 9 1 1 D A F E B C
WNP-MPR-mip-mesh 63
– Depends on node mobility
– Radio communications
– Received powers and attenuation unequal in the two directions N1 N4 N2 N5 N3 N1 N4 N2 N5 N3 good link weak link time = t1 time = t2
WNP-MPR-mip-mesh 64
♦ Conventional routing protocols
– Built for wired networks whose topology varies slowly – Assume symmetric links
♦ In Ad-hoc networks
– energy consumption – radio resources for with signaling information
♦ New routing strategies / protocols for ad-hoc networks
– 2 type : reactive e pro-active
WNP-MPR-mip-mesh 65
♦ How can we avoid a large signaling overhead (number of
WNP-MPR-mip-mesh 66
WNP-MPR-mip-mesh 67
WNP-MPR-mip-mesh 68
WNP-MPR-mip-mesh 69
WNP-MPR-mip-mesh 70
♦ Routes built using continuous control traffic ♦ Routes are maintained ♦ Advantages, disadvantages
♦ Example – OLSR (RFC 3626)
WNP-MPR-mip-mesh 71
♦ Detection of links to neighbour nodes ♦ Optimized forwarding / flooding (MultiPoint Relaying)
WNP-MPR-mip-mesh 72
♦ Using HELLO messages ♦ All nodes transmit periodically HELLO messages ♦ HELLO messages group neighbour by their state
WNP-MPR-mip-mesh 73
♦ MultiPoint Relaying (MPR)
– Limit number of nodes retransmiting packets – Reduce number duplicated retransmissions
♦ Each node selects its MPRs, which must
♦ MPR set selected by a node
♦ Node is MPR if it has been selected by other node
WNP-MPR-mip-mesh 74
♦ In wired networks, OSPF
♦ OLSR does the same, using 2 optimizations
WNP-MPR-mip-mesh 75
♦ Messages which declare the links state
WNP-MPR-mip-mesh 76
♦ How will the 802.11s Mesh Network work?
WNP-MPR-mip-mesh 77
WNP-MPR-mip-mesh 78
♦ Network topology and discovery ♦ Inter-working ♦ Path Selection and Forwarding ♦ MAC Enhancements
WNP-MPR-mip-mesh 79
Bridge
Mesh Portal MP
MAP MAP
STA STA MP
WNP-MPR-mip-mesh 80
5 9 7 10 6 2 4 3
Support for connecting an 802.11s mesh to an 802.1D bridged LAN
802 LAN
11
13 12
WNP-MPR-mip-mesh 81
♦ Suppose A sends a frame to B (MAC layer). What MAC
♦ And what MAC addresses are required for the frame transmitted
ethernet switch ethernet switch
A B
MAP MAP
A B ))) ))) )))
WNP-MPR-mip-mesh 82
♦ Data frames
» based on 802.11 frames - 4 MAC address format » extended with: 802.11e QoS header, and new Mesh Control header field
♦ Mesh Control Field
» TTL – eliminates possibility of infinite loops (recall these are mesh networks!) » Mesh E2E Seq
MAC Header
Frame Control Dur Addr 1 Addr 2 Addr 3 Seq Control Addr 4 QoS Control Mesh Control Body FCS
2 2 6 6 6 2 6 2 3 4 Mesh E2E Seq
Mesh Control
Mesh TTL 7 8 23
WNP-MPR-mip-mesh 83
♦ Mesh Point discovers candidate neighbors
– WLAN Mesh capabilities – Mesh ID
♦ Membership in a WLAN Mesh Network
WNP-MPR-mip-mesh 84
5 7 1 2 6 4 3 MeshID: mesh-A Mesh Profile: (link state, …) X
Path Selection: distance vector, link state
profile (link state, …)
authenticates with neighbors in the mesh, since it can support the Profile
link state path selection and data forwarding protocol
8
WNP-MPR-mip-mesh 85
11
5 9 7 10 6 2 4 3 13 12
WNP-MPR-mip-mesh 86
– based on AODV
– distance vector routing tree built and maintained rooted at the Portal
WNP-MPR-mip-mesh 87
5 9 7 10 6 4 3 2 1 8
X On-demand path
WNP-MPR-mip-mesh 88
♦ Communication: MP4 X ♦ MP4
♦ Mesh Portal that knows X may respond
5 9 7 10 6 4 3 2 1 8
X On-demand path
WNP-MPR-mip-mesh 89
♦ Communication: MP 4 MP 9 ♦ MPs learn Root MP1 through Root Announcement
♦ MP 4 checks its forwarding table for an entry to
♦ If no entry exists, MP4 forwards message on the
♦ When MP1 receives the message, it forwards on the
♦ MP9, receiving the message, may issue a RREQ
5 9 7 10 6 4 3 2 1 8
X Proactive path
On-demand path
WNP-MPR-mip-mesh 90
♦ Communication: MP4 X ♦ MPs learn Root MP1 through Root Announcement
♦ If MP4 has no entry for X in its forwarding table,
♦ When MP1 receives the message, if it does not have
♦ Mesh Portal MP1 forwards messages to other LAN
5 9 7 10 6 4 3 2 1 8
X Proactive path
WNP-MPR-mip-mesh 91
♦ OLSR may be used in alternative to AODV ♦ RA-OLSR proactively maintains link-state for routing
WNP-MPR-mip-mesh 92
♦ Intra-mesh Congestion Control ♦ Common Channel Framework (Optional)
WNP-MPR-mip-mesh 93
♦ Mesh characteristics
♦ Issues with the 802.11 MAC for mesh
2 1 7 6 3 High capacity link Low capacity link Flow 4 5
WNP-MPR-mip-mesh 94
♦ Local congestion monitoring (informative)
notifies previous-hop neighbors and/or the neighborhood
♦ Congestion control signaling
WNP-MPR-mip-mesh 95
♦ Common channel
» Unified Channel on which MPs jointly operate
» Using RTX, the transmitter suggests a destination channel » Receiver accepts/declines the suggested channel using CTX » The transmitter and receiver switch to the destination channel » Data is transmitted » Then they switch back
RTX MP1 MP2 MP3 MP4 Common Channel Data Channel n Data Channel m CTX SIFS CTX SIFS RTX ≥ DIFS DIFS DATA Switching Delay ACK SIFS CTX SIFS RTX ≥ DIFS Switching Delay DATA Switching Delay DIFS ACK SIFS
WNP-MPR-mip-mesh 96
♦ Request to Switch (RTX) Frame ♦ Clear to Switch (CTX) Frame
Frame Control Duration/ ID RA TA Destination Channel Info. FCS 2 2 6 6 2 4 Frame Control Duration/ ID RA Destination Channel Info. FCS 2 2 6 2 4