Wireless Sensor Networks 5. Routing

Slides:



Advertisements
Similar presentations
Network Layer Routing Issues (I). Infrastructure vs. multi-hop Infrastructure networks: Infrastructure networks: ◦ One or several Access-Points (AP) connected.
Advertisements

Routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Chapter 4: Managing LAN Traffic
CIS 725 Wireless networks. Low bandwidth High error rates.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
CIM 2465 Intro to TCP/IP1 Introduction to TCP/IP (Topic 5) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy Program,
Mobile Adhoc Network: Routing Protocol:AODV
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
Doc.: IEEE /1047r0 Submission Month 2000August 2004 Avinash Joshi, Vann Hasty, Michael Bahr.Slide 1 Routing Protocols for MANET Avinash Joshi,
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Peer-to-Peer Networks 13 Internet – The Underlay Network Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
+ Dynamic Routing Protocols 2 nd semester
Mobile Ad Hoc Networks. What is a MANET (Mobile Ad Hoc Networks)? Formed by wireless hosts which may be mobile No pre-existing infrastructure Routes between.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Network Layer Routing Networks: Routing.
Wireless Sensor Networks 4. Medium Access
Author:Zarei.M.;Faez.K. ;Nya.J.M.
TRANSPORT LAYER BY, Parthasarathy.g.
Working at a Small-to-Medium Business or ISP – Chapter 6
The Transport Layer Implementation Services Functions Protocols
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Mobile Ad Hoc Networks: Introduction
Lecture 28 Mobile Ad hoc Network Dr. Ghalib A. Shah
Part I. Overview of Data Communications and Networking
COMP 3270 Computer Networks
TCP Transport layer Er. Vikram Dhiman LPU.
A comparison of Ad-Hoc Routing Protocols
Sensor Network Routing
Chapter 5 Network and Transport Layers
CSE 4340/5349 Mobile Systems Engineering
Intra-Domain Routing Jacob Strauss September 14, 2006.
任課教授:陳朝鈞 教授 學生:王志嘉、馬敏修
Routing.
Layered Task, OSI Model, TCP/IP Model
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
by Saltanat Mashirova & Afshin Mahini
Road Map I. Introduction II. IP Protocols III. Transport Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Process-to-Process Delivery:
Intradomain Routing Outline Introduction to Routing
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
ECE453 – Introduction to Computer Networks
Network Layer Routing Networks: Routing.
Net 323 D: Networks Protocols
Network Architecture for Cyberspace
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing in Mobile Ad-hoc Networks
Routing and the Network Layer (ref: Interconnections by Perlman
Vinay Singh Graduate school of Software Dongseo University
DSDV Destination-Sequenced Distance-Vector Routing Protocol
EE469 Review 1.
Routing.
Routing in Mobile Wireless Networks Neil Tang 11/14/2008
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

Wireless Sensor Networks 5. Routing Christian Schindelhauer Technische Fakultät Rechnernetze und Telematik Albert-Ludwigs-Universität Freiburg Version 29.04.2016

ISO/OSI Reference model 7. Application Data transmission, e-mail, terminal, remote login 6. Presentation System-dependent presentation of the data (EBCDIC / ASCII) 5. Session start, end, restart 4. Transport Segmentation, congestion 3. Network Routing 2. Data Link Checksums, flow control 1. Physical Mechanics, electrics

Protocols of the Internet Application Telnet, FTP, HTTP, SMTP (E-Mail), ... Transport TCP (Transmission Control Protocol)

UDP (User Datagram Protocol) Network IP (Internet Protocol) + ICMP (Internet Control Message Protocol) + IGMP (Internet Group Management Protocol) Host-to-Network LAN (e.g. Ethernet, Token Ring etc.)

TCP/IP Layers 1. Host-to-Network Not specified, depends on the local network,k e.g. Ethernet, WLAN 802.11, PPP, DSL 2. Routing Layer/Network Layer (IP - Internet Protocol) Defined packet format and protocol Routing Forwarding 3. Transport Layer TCP (Transmission Control Protocol) Reliable, connection-oriented transmission Fragmentation, Flow Control, Multiplexing UDP (User Datagram Protocol) hands packets over to IP unreliable, no flow control 4. Application Layer Services such as TELNET, FTP, SMTP, HTTP, NNTP (for DNS), ...

Example: Routing between LANs Stevens, TCP/IP Illustrated

Routing Tables and Packet Forwarding IP Routing Table contains for each destination the address of the next gateway destination: host computer or sub-network default gateway Packet Forwarding IP packet (datagram) contains start IP address and destination IP address if destination = my address then hand over to higher layer if destination in routing table then forward packet to corresponding gateway if destination IP subnet in routing table then forward packet to corresponding gateway otherwise, use the default gateway

IP Packet Forwarding IP -Packet (datagram) contains... Packet Handling TTL (Time-to-Live): Hop count limit Start IP Address Destination IP Address Packet Handling Reduce TTL (Time to Live) by 1 If TTL ≠ 0 then forward packet according to routing table If TTL = 0 or forwarding error (buffer full etc.): delete packet if packet is not an ICMP Packet then send ICMP Packet with start = current IP Address destination = original start IP Address

Static and Dynamic Routing Static Routing Routing table created manually used in small LANs Dynamic Routing Routing table created by Routing Algorithm Centralized, e.g. Link State Router knows the complete network topology Decentralized, e.g. Distance Vector Router knows gateways in its local neighborhood

Intra-AS Routing Routing Information Protocol (RIP) Distance Vector Algorithmus Metric = hop count exchange of distance vectors (by UDP) Interior Gateway Routing Protocol (IGRP) successor of RIP different routing metrics (delay, bandwidth) Open Shortest Path First (OSPF) Link State Routing (every router knows the topology) Route calculation by Dijkstra’s shortest path algorithm

Distance Vector Routing Protocol Distance Table data structure Each node has a Line for each possible destination Column for any direct neighbors Distributed algorithm each node communicates only with its neighbors Asynchronous operation Nodes do not need to exchange information in each round Self-terminating exchange unless no update is available

Distance Vector Routing Example from A
to via entry B C 1 8 6 3 D 2 9 E 7 4

via entry B C 1 3 D E via A C D 1 3 E 8 via A B E 3 5 D 8 1 Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer from A
to via entry B C 1 - 3 D E from B to via entry A C D 1 - 3 E 8 from C to via entry A B E 3 - 5 D 8 1

from B to via A C D 1 - 5 E 8 from C to via A B E 3 - 5 D 8 1 Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer from B
to via Entry A C D 1 - 5 E 8 from C
to via Entry A B E 3 - 5 D 8 1 from B
to via Entry A C D 1 8 - 5 13 E 6 from C
to via Entry A B E 3 6 - 5 D 8 13 1

“Count to Infinity” - Problem Good news travels fast A new connection is quickly at hand Bad news travels slowly Connection fails Neighbors increase their distance mutally "Count to Infinity" Problem

“Count to Infinity” - Problem

Link-State Protocol Link state routers exchange information using Link State Packets (LSP) each node uses shortest path algorithm to compute the routing table LSP contains ID of the node generating the packet Cost of this node to any direct neighbors Sequence-no. (SEQNO) TTL field for that field (time to live) Reliable flooding (Reliable Flooding) current LSP of each node are stored Forward of LSP to all neighbors except to be node where it has been received from Periodically creation of new LSPs with increasing SEQNO Decrement TTL when LSPs are forwarded

Characteristics of routing in mobile ad hoc networks Movement of participants Reconnecting and loss of connection is more common than in other wireless networks Especially at high speed Other performance criteria Route stability in the face of mobility energy consumption

Unicast Routing Variety of protocols Adaptations and new developments No protocol dominates the other in all situations Solution: Adaptive protocols?

Routing in MANETs Routing Protocol types Determination of message paths Transport of data Protocol types proactive Routing tables with updates reactive repairm of message paths only when necessary hybrid combination of proactive and reactive

Routing Protocols Proactive Routes are demand independent Standard Link-State und Distance- Vector Protocols Destination Sequenced Distance Vector (DSDV) Optimized Link State Routing (OLSR) Reactive Route are determined when needed Dynamic Source Routing (DSR) Ad hoc On-demand Distance Vector (AODV) Dynamic MANET On-demand Routing Protocol Temporally Ordered Routing Algorithm (TORA) Hybrid combination of reactive und proactive Zone Routing Protocol (ZRP) Greedy Perimeter Stateless Routing (GPSR)

Trade-Off Latency because of route discovery Proactive protocols are faster Reactive protocols need to find routes Overhead of Route discovery and maintenance Reactive protocols have smaller overhead (number of messages) Proactive protocols may have larger complexity Traffic-Pattern and mobility decides which type of protocol is more efficient

Flooding Algorithm Sequence numbers Packet always reaches the target Sender S broadcasts data packet to all neighbors Each node receiving a new packet broadcasts this packet if it is not the receiver Sequence numbers identifies messages to prevent duplicates Packet always reaches the target if possible

Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer

Packet for Receiver F Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer Packet for Receiver F

Possible collision at B Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer Possible collision at B

Receiver F gets packet and stops Informatik III Winter 2007/08 Rechnernetze und Telematik Albert-Ludwig-Universität Freiburg Christian Schindelhauer Receiver F gets packet and stops Nodes G, H, I do not receive the packet

Flooding Advantage Disadvantage simple and robust the best approach for short packet lengths, small number of participants in highly mobile networks with light traffic Disadvantage High overhead Broadcasting is unreliable lack of acknowledgements hidden, exposed terminals lead to data loss or delay