Each mobile node has a home network, home address and home agent

Slides:



Advertisements
Similar presentations
Computer Networks Chapter 4: Advanced Internetworking
Advertisements

Computer Networks Chapter 4: Advanced Internetworking.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 12 – February 18, 2010.
Computer Networks: Global Internet Global Internet.
CSCI 4550/8556 Computer Networks Comer, Chapter 25: Internet Routing.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts Subnetting Classless Inter-Domain Routing (Supernet)
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
1 ELEN 602 Lecture 19 Routing. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing table –routing:
Subnetting and CIDR Textbook Ch 3.2.5
MULTICASTING Network Security.
Spring 2002CS 4611 Routing Outline Algorithms Scalability.
CSS 432: Subnetting, CIDR, and Global Internet
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
Inter-domain Routing Outline Border Gateway Protocol.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Introduction to BGP.
1 Introduction to Computer Networks Ilam University By: Dr. Mozafar Bag-Mohammadi Routing.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts.
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
14-Oct-154/598N: Computer Networks Internet Structure - Past NSFNET backbone Stanford BARRNET regional Berkeley PARC NCAR UA UNM Westnet regional UNL KU.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
23-Dec-154/598N: Computer Networks Overview 4.2: Routing Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent Multicast.
1 Forwarding vs. Routing Forwarding vs Routing –forwarding: To select an output port based on destination address and routing table –routing: Process by.
Spring 2006CS 3321 Interdomain Routing. Spring 2006CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
Inter-domain Routing Outline Border Gateway Protocol.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
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.
CSS432 Subnetting and CIDR Textbook Ch3. 2
TRANSPORT LAYER BY, Parthasarathy.g.
Chapter 4: Network Layer
Multicast Outline Multicast Introduction and Motivation DVRMP.
Routing BY, P.B.SHANMATHI.
(How the routers’ tables are filled in)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 4: Network Layer
Routing.
UNIT III ROUTING.
Inter-domain Routing Outline Homework #3 solutions
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Introduction to Computer Networks
Chapter 4: Network Layer
Internet Protocol, Version 6 (IPv6)
Tree Structured Internet(c. 1990)
Computer Networks Protocols
Routing.
Presentation transcript:

Each mobile node has a home network, home address and home agent Mobile IP Foreign Agent (FA) Advertisement (FA,COA) Foreign Network Mobile Node Register (HA) Solicitation Correspondent Node (CN) Packets sent by MN go directly to CN Register Home Agent (HA) Home Network Mobile Node Each mobile node has a home network, home address and home agent - Triangle Routing in Mobile IP: - HA may be needed to provides location hiding and security - Inefficient in terms of network overhead and end-to-end delays Courtesy: Ahmed Helmy - USC When mobile node (MN) moves to a foreign network it obtains a care-of-address (COA) from the foreign agent (FA) that registers it with the home agent (HA) COA is used by HA to tunnel packets to MN 19-Sep-18 4/598N: Computer Networks

How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical Address Space class C with 2 hosts (2/255 = 0.78% efficient) class B with 256 hosts (256/65535 = 0.39% efficient) Still Too Many Networks routing tables do not scale route propagation protocols do not scale 19-Sep-18 4/598N: Computer Networks

Internet Structure Recent Past NSFNET backbone Stanford BARRNET regional Berkeley P ARC NCAR UA UNM Westnet UNL KU ISU MidNet … 19-Sep-18 4/598N: Computer Networks

Internet Structure Today Large corporation “ Consumer ” ISP Peering point Backbone service provider Peering point Consumer” ISP “ “Consumer” ISP Large corporation Small corporation 19-Sep-18 4/598N: Computer Networks

Add another level to address/routing hierarchy: subnet Subnetting Add another level to address/routing hierarchy: subnet Subnet masks define variable partition of host part Subnets visible only within site Network number Host number Class B address Subnet mask (255.255.255.0) Subnetted address 111111111111111111111111 00000000 Host ID Subnet ID 19-Sep-18 4/598N: Computer Networks

Subnet Example Forwarding table at router R1 Subnet mask: 255.255.255.128 Subnet number: 129.74.34.0 129.74.34.15 129.74.34.1 H1 R1 Subnet mask: 255.255.255.128 129.74.34.130 Subnet number: 129.74.34.128 129.74.34.139 129.74.34.129 H2 R2 H3 Forwarding table at router R1 Subnet Number Subnet Mask Next Hop 129.74.34.0 255.255.255.128 interface 0 129.74.34.128 255.255.255.128 interface 1 129.74.33.0 255.255.255.0 R2 129.74.33.1 129.74.33.14 Subnet mask: 255.255.255.0 Subnet number: 129.74.33.0 19-Sep-18 4/598N: Computer Networks

Forwarding Algorithm D = destination IP address for each entry (SubnetNum, SubnetMask, NextHop) D1 = SubnetMask & D if D1 = SubnetNum if NextHop is an interface deliver datagram directly to D else deliver datagram to NextHop Use a default router if nothing matches Not necessary for all 1s in subnet mask to be contiguous Can put multiple subnets on one physical network Subnets not visible from the rest of the Internet 19-Sep-18 4/598N: Computer Networks

Assign block of contiguous network numbers to nearby networks Supernetting Assign block of contiguous network numbers to nearby networks Called CIDR: Classless Inter-Domain Routing Represent blocks with a single pair (first_network_address, count) Restrict block sizes to powers of 2 Use a bit mask (CIDR mask) to identify block size All routers must understand CIDR addressing 19-Sep-18 4/598N: Computer Networks

Autonomous System (AS) Route Propagation Know a smarter router hosts know local router local routers know site routers site routers know core router core routers know everything Autonomous System (AS) corresponds to an administrative domain examples: University, company, backbone network assign each AS a 16-bit number Two-level route propagation hierarchy interior gateway protocol (each AS selects its own) exterior gateway protocol (Internet-wide standard) 19-Sep-18 4/598N: Computer Networks

Popular Interior Gateway Protocols RIP: Route Information Protocol developed for XNS distributed with Unix distance-vector algorithm based on hop-count OSPF: Open Shortest Path First recent Internet standard uses link-state algorithm supports load balancing supports authentication 19-Sep-18 4/598N: Computer Networks

EGP: Exterior Gateway Protocol Overview designed for tree-structured Internet concerned with reachability, not optimal routes Protocol messages neighbor acquisition: one router requests that another be its peer; peers exchange reachability information neighbor reachability: one router periodically tests if the another is still reachable; exchange HELLO/ACK messages; uses a k-out-of-n rule routing updates: peers periodically exchange their routing tables (distance-vector) 19-Sep-18 4/598N: Computer Networks

BGP-4: Border Gateway Protocol AS Types stub AS: has a single connection to one other AS carries local traffic only multihomed AS: has connections to more than one AS refuses to carry transit traffic transit AS: has connections to more than one AS carries both transit and local traffic Each AS has: one or more border routers one BGP speaker that advertises: local networks other reachable networks (transit AS only) gives path information 19-Sep-18 4/598N: Computer Networks

BGP Example Speaker for AS2 advertises reachability to P and Q network 128.96, 192.4.153, 192.4.32, and 192.4.3, can be reached directly from AS2 Speaker for backbone advertises networks 128.96, 192.4.153, 192.4.32, and 192.4.3 can be reached along the path (AS1, AS2). Speaker can cancel previously advertised paths Backbone network (AS 1) Regional provider A (AS 2) Regional provider B (AS 3) Customer P (AS 4) Customer Q (AS 5) Customer R (AS 6) Customer S (AS 7) 128.96 192.4.153 192.4.32 192.4.3 192.12.69 192.4.54 192.4.23 19-Sep-18 4/598N: Computer Networks

IP Version 6 Features Header 128-bit addresses (classless) multicast real-time service authentication and security autoconfiguration end-to-end fragmentation protocol extensions Header 40-byte “base” header extension headers (fixed order, mostly fixed length) fragmentation source routing other options 19-Sep-18 4/598N: Computer Networks

Multicast routing Multicast within LANs is simple because we can use the underlying multicast capabilities of Ethernet. Internet multicast implemented on top of a collection of networks that support broadcast by extending the routers Hosts join multicast groups using Internet Group Management Protocol (IGMP) How receivers and senders agree on a specific multicast address is orthogonal to routing issues SDP – Session description protocol SAP – Session announcement protocol 19-Sep-18 4/598N: Computer Networks

Each router monitors its lan for multicast packets Link state multicast Each router monitors its lan for multicast packets Use this information to build shortest-path multicast tree May have to maintain information about each group (many multicast groups can co-exist at the same time) Usually caches these trees 19-Sep-18 4/598N: Computer Networks

Distance Vector Multicast Two steps broadcast mechanism to forward packets to all the networks Pruning mechanism to remove networks that are not currently participating Reverse-Path Broadcast (RPB) Routers forward packets along all the outgoing links (except ones that route towards to source) Reverse-Path Multicast (RPM) Propagate “no members of G here” back to source 19-Sep-18 4/598N: Computer Networks

Protocol Independent Multicast (PIM) Define operating modes Sparse mode: If few routers are interested in this multicast Dense mode: When most routers want this stream Rendezvous point - RP Somehow choose RP Use RP to forward requests to join and prune multicast groups Creates source-specific tree or shared tree 19-Sep-18 4/598N: Computer Networks

Problem – debugging multicast topology Suppose – multicast transmission from Berkeley to ND, the receiver is not receiving it. How do you debug it? Unicast tools link ping and traceroute do not work because we want to get the whole multicast topology; not if one host can get multicast Just because Stanford is receiving this stream is no help to debug why it is not working for ND 19-Sep-18 4/598N: Computer Networks

Receiver to Source direction Approaches Receiver to Source direction Multicast routing information is used to discover the tree topology Need to know session identities Source to receiver Don’t need the identities of receivers Multicast forwarding information is used to get the tree SNMP based approach Simple Network Management Protocol Each router maintains information. Query all routers to get routing info. 19-Sep-18 4/598N: Computer Networks

Approaches (cont.) Use other mechanisms (such as RTCP – Real time Transport Control Protocol – part of RTP Realtime Transport Protocol) RTCP sends announcements periodically and use that to discover topology RTCP is unreliable 19-Sep-18 4/598N: Computer Networks

Decisions are made on business goals and $$$ Peering and Transits Thousands of ISPs. ISPs connect using transit providers and backbone providers to route packets Decisions are made on business goals and $$$ Peering does not give access to other peering points, I.e. peering is non-transitive No explicit service level agreement (SLA) Peering can be cheaper For example, Notre Dame can peer with Ameritech and ATT to transfer mutual traffic (from DSL and Cable customers) Lower latency to preferred ISPs 19-Sep-18 4/598N: Computer Networks

Notre Dame to Saint Marys traceroute www.saintmarys.edu traceroute to www.saintmarys.edu (147.53.8.10), 30 hops max, 40 byte packets 1 eafs-e06.gw.nd.edu (129.74.250.1) 0.664 ms 0.469 ms 0.450 ms 2 c245-e01.gw.nd.edu (129.74.245.14) 0.301 ms 0.574 ms 0.345 ms 3 monk-fe00.gw.nd.edu (129.74.45.4) 1.046 ms 0.918 ms 0.823 ms 4 klimek-i00.gw.nd.edu (129.74.248.102) 4.784 ms 4.569 ms 4.688 ms 5 mren-m10-lsd6509.startap.net (206.220.240.86) 4.863 ms 5.884 ms 6.659 ms 6 chin-mren-ge.abilene.ucaid.edu (198.32.11.97) 5.234 ms 4.512 ms 4.879 ms 7 iplsng-chinng.abilene.ucaid.edu (198.32.8.77) 15.137 ms 22.735 ms 8.524 ms 8 ul-abilene.indiana.gigapop.net (192.12.206.250) 8.584 ms 9.009 ms 8.814 ms 9 ihets-gw-1-ge15-0.ind.net (157.91.6.37) 8.458 ms 8.581 ms 8.823 ms 10 sbn-fa0-0.ind.net (199.8.76.73) 9.256 ms 8.826 ms 8.638 ms 11 stmarys-edu-T1.ind.net (199.8.73.110) 30.135 ms 26.131 ms 25.682 ms 12 * * smcswitch.saintmarys.edu (147.53.1.1) 31.876 ms !X 19-Sep-18 4/598N: Computer Networks

Reasons why you don’t peer No explicit SLA Use cold-potato algorithm to offset traffic costs Carry traffic in your local network as much as possible rather than use an optimal (possibly more expensive transit route) Transit points use hot potato algorithm, dumping the packets as soon as possible to the back bone (even if it was not optimal) Don’t want to help potential competitors Ameritech would want your friends to move to Ameritech so that you all can get faster traffic, not peer with AT&T so that you can enjoy the benefit 19-Sep-18 4/598N: Computer Networks