Communication Networks

Size: px
Start display at page:

Download "Communication Networks"

Transcription

1 ommunication Networks Prof. Laurent Vanbever ommunication Networks Spring 08 Roland Meier / Thomas Holterbach Slides: Laurent Vanbever nsg.ee.ethz.ch TH ürich (-ITT) pril 9 08 Materials inspired from Scott Shenker & Jennifer Rexford Internet Protocol and orwarding Last week on ommunication Networks IP addresses use, structure, allocation IP forwarding longest match rule IP header IPv and IPv6, wire format source: oardwatch Magazine Internet Protocol and orwarding IPv addresses are unique -bits number associated to a network interface (on a host, a router, ) IP addresses are usually written using dotted-quad notation IP addresses use, structure, allocation IP forwarding longest match rule IP header IPv and IPv6, wire format IP addressing is hierarchical, composed of a (network address) and a suffix (host address) ach has a given length, usually written using a slash notation bits IP / identifies the network suffix identifies the hosts in the network length (in bits) ommunication Networks Mon 9 pr 08 of 9

2 Prefixes are also sometimes specified using an address and a mask Routers forward packet to their destination according to the network part, not the host part ddress Mask oing so enables to scale the forwarding tables Internet Protocol and orwarding LN router router router WN WN IP router IP router...0/ LN IP addresses use, structure, allocation IP forwarding longest match rule LN Local rea Network WN Wide rea Network / forwarding table IP header IPv and IPv6, wire format Routers maintain forwarding entries for each Internet Provider s orwarding table IP Output /8 I# 9...0/ 9...0/ /6 I# I# I# /8 I# Provider Provider I# 9...0/ 9...0/ 9...0/ /6 To resolve ambiguity, forwarding is done along the most specific (i.e., the longer one) Internet Protocol and orwarding IP addresses use, structure, allocation IP forwarding longest match rule IP header IPv and IPv6, wire format ommunication Networks Mon 9 pr 08 of 9

3 bits 8 version header length 6 Type of Service Identification Time To Live This week on Total Length lags Protocol ommunication Networks ragment offset Header checksum Source IP address estination IP address Options (if any) Payload Internet routing traceroute Internet routing comes into two flavors: intra- and inter-domain routing traceroute rou-etx--ee-tik-etx-dock- (8.0.0.) rou-ref-rz-bb-ref-rz-etx (0.0.0.) rou-fw-rz-ee-tik (0...9) rou-fw-rz-gw-rz ( ) 5 swiix-0ge--.switch.ch ( ) 6 swiez (9..9.) 7 swiix-p.switch.ch ( ) 8 equinix-zurich.net.google.com ( ) ( ) 0 inter-domain intra-domain routing routing ind paths between networks ind paths within a network zrh0s06-in-f.e00.net ( )!0! ST traffic to Google inter-domain intra-domain routing routing NW HI SLT KNS WSH LOS HOUS TL ind paths between networks! ommunication Networks Mon 9 pr 08 of 9

4 Google can be reached NW, WSH, TL, HOUS Google can be reached NW, WSH, TL, HOUS best exit point ST based on money, performance, traffic to Google SLT HI NW KNS WSH LOS HOUS TL NW can be reached SLT ST traffic to inter-domain routing intra-domain routing Google SLT KNS HI WSH NW LOS HOUS TL ind paths within a network!6 traceroute traceroute rou-etx--ee-tik-etx-dock- rou-etx--ee-tik-etx-dock- rou-ref-rz-bb-ref-rz-etx rou-fw-rz-ee-tik intra-domain routing rou-ref-rz-bb-ref-rz-etx rou-fw-rz-ee-tik inter-domain routing rou-fw-rz-gw-rz rou-fw-rz-gw-rz swiix-0ge--.switch.ch swiix-0ge--.switch.ch swiez intra-domain routing swiez swiix-p.switch.ch equinix-zurich.net.google.com swiix-p.switch.ch equinix-zurich.net.google.com inter-domain routing intra-domain routing zrh0s06-in-f.e00.net zrh0s06-in-f.e00.net!8!9 Internet routing from here to there, and back Internet routing from here to there, and back Intra-domain routing Intra-domain routing Link-state protocols Link-state protocols istance- protocols istance- protocols Inter-domain routing Inter-domain routing Path- protocols Path- protocols ommunication Networks Mon 9 pr 08 of 9

5 Intra-domain routing enables routers to compute forwarding paths to any internal subnet Network operators don t want arbitrary paths, they want good paths what kind of paths? definition good path is a path that minimizes some network-wide metric typically delay, load, loss, cost approach ssign to each link a weight (usually static), compute the shortest-path to each destination When weights are assigned proportionally to the distance, shortest-paths will minimize the end-to-end delay When weights are assigned proportionally to the distance, shortest-paths will minimize the end-to-end delay if traffic is such that there is no congestion Internet, the US based research network When weights are assigned inversely proportionally to each link capacity, throughput is maximized Internet routing from here to there, and back if traffic is such that there is no congestion Intra-domain routing Link-state protocols istance- protocols Inter-domain routing Path- protocols In Link-State routing, routers build a precise map of the network by flooding local views to everyone looding is performed as in L learning, except that it is reliable! ach router keeps track of its incident links and cost as well as whether it is up or down ach router broadcast its own links state to give every router a complete view of the graph Node sends its link-state on all its links Next node does the same, except on the one where the information arrived Routers run ijkstra on the corresponding graph to compute their shortest-paths and forwarding tables ommunication Networks Mon 9 pr 08 5 of 9

6 looding is performed as in L learning, except that it is reliable looding is performed as in L learning, except that it is reliable Node sends its link-state on all its links Node sends its link-state on all its links Next node does the same, except on the one where the information arrived Next node does the same, except on the one where the information arrived ll nodes are ensured to receive the latest version of all link-states challenges packet loss out of order arrival ll nodes are ensured to receive the latest version of all link-states solutions K & retransmissions sequence number time-to-live for each link-state link-state node initiate flooding in conditions Once a node knows the entire topology, it can compute shortest-paths using ijkstra s algorithm Topology change link or node failure/recovery onfiguration change link cost change Periodically refresh the link-state information every (say) 0 minutes account for possible data corruption y default, Link-State protocols detect topology changes using software-based beaconing uring network changes, the link-state database of each node might differ hello Routers periodically exchange Hello in both directions (e.g. every 0s) Trigger a failure after few missed Hellos control-plane consistency all nodes have the same link-state database OSP router (e.g., after missed ones) necessary Tradeoffs between: detection speed forwarding validity the global forwarding state directs packet to its destination bandwidth and PU overhead false positive/negatives Inconsistencies lead to transient disruptions in the form of blackholes or forwarding loops lackholes appear due to detection delay, as nodes do not immediately detect failure 5 G depends on the timeout for detecting lost hellos ommunication Networks Mon 9 pr 08 6 of 9

7 Transient loops appear due to inconsistent link-state databases 5 5 G G Initial forwarding state learns about the failure and immediately reroute to G G loop appears as isn t yet aware of the failure The loop disappears as soon as updates its forwarding table onvergence is the process during which the routers seek to actively regain a consistent view of the network Network convergence time depends on main factors factors time the routers take for detection realizing that a link or a neighbor is down flooding flooding the news to the entire network computation recomputing shortest-paths using ijkstra table update updating their forwarding table In practice, network convergence time is mostly driven by table updates time improvements detection few ms smaller timers flooding few ms high-priority flooding computation few ms incremental algorithms table update potentially, minutes! better table design table update potentially, minutes! better table design ommunication Networks Mon 9 pr 08 7 of 9

8 R 0 R R R R 0 R R Provider # ($) IP: M: 0:aa Provider # ($$) IP: M: 0:bb 5k IP es R 0 R R Provider # ($) IP: M: 0:aa Provider # ($$) IP: M: 0:bb ll 5k entries point to R because it is cheaper R s orwarding Table R s orwarding Table Next-Hop 5k IP es R 0 R R Provider # ($) IP: M: 0:aa Provider # ($$) IP: M: 0:bb 56k 5k.0.0.0/.0..0/ / / Next-Hop (0:aa, 0) (0:aa, 0) (0:aa, 0) (0:aa, 0) 5k IP es R 0 R R Provider # ($) IP: M: 0:aa Provider # ($$) IP: M: 0:bb Upon failure of R, all 5k entries have to be updated Upon failure of R, all 5k entries have to be updated R s orwarding Table R s orwarding Table 56k 5k.0.0.0/.0..0/ / / Next-Hop (0:aa, 0) (0:aa, 0) (0:aa, 0) (0:aa, 0) 5k IP es R 0 R R Provider # ($) IP: M: 0:aa Provider # ($$) IP: M: 0:bb 56k 5k.0.0.0/.0..0/ / / Next-Hop (0:aa, 0) (0:aa, 0) (0:aa, 0) (0:aa, 0) R R Provider # ($$) IP: M: 0:bb ommunication Networks Mon 9 pr 08 8 of 9

9 R s orwarding Table R s orwarding Table Next-Hop Next-Hop.0.0.0/ (0:bb, ).0.0.0/ (0:bb, ) 56k 5k.0..0/ / / (0:aa, 0) (0:aa, 0) (0:aa, 0) R R Provider # ($$) IP: M: 0:bb 56k 5k.0..0/ / / (0:bb, ) (0:aa, 0) (0:aa, 0) R R Provider # ($$) IP: M: 0:bb R s orwarding Table R s orwarding Table Next-Hop Next-Hop.0.0.0/ (0:bb, ).0.0.0/ (0:bb, ) 56k 5k.0..0/ / / (0:bb, ) (0:bb, ) (0:aa, 0) R R Provider # ($$) IP: M: 0:bb 56k 5k.0..0/ / / (0:bb, ) (0:bb, ) (0:bb, ) R R Provider # ($$) IP: M: 0:bb How long does it take for TH routers to converge? convergence time (s) isco Nexus 9k 0 TH recent routers 5 deployed 0. K 5K 0K K 00K 00K 00K 00K 0K # of es convergence time (s) 00 worst-case convergence time (s) 00 worst-case median case K 5K 0K K 00K 00K 0K K 5K 0K K 00K 00K 00K 00K 0K 0.. K 5K 0K K 00K 00K 0K K 5K 0K K 00K 00K 00K 00K 0K # of es # of es ommunication Networks Mon 9 pr 08 9 of 9

10 Traffic can be lost for several minutes 00 ~.5 min. The problem is that forwarding tables are flat 0 0 ntries do not share any information even if they are identical Upon failure, all of them have to be updated inefficient, but also unnecessary 0.. K 5K 0K K 00K 00K 0K K 5K 0K K 00K 00K 00K 00K 0K # of es Two universal tricks you can apply to any computer sciences problem When you need more flexibility, When you need more flexibility, you add a layer of indirection you add a layer of indirection When you need more scalability, you add a hierarchical structure replace this with that Router orwarding Table Router orwarding Table Mapping table 56k 5k Next-Hop.0.0.0/ (0:aa, 0).0..0/6 (0:aa, 0) /8 (0:aa, 0) / (0:aa, 0) port 0 port 56k 5k.0.0.0/.0..0/ / / pointer Pointer table pointer NH (0:aa, 0) port 0 port Upon failures, we update the pointer table Here, we only need to do one update Router orwarding Table Mapping table Router orwarding Table Mapping table 56k.0.0.0/.0..0/ /8 pointer Pointer table pointer NH (0:aa, 0) port 0 port 56k.0.0.0/.0..0/ /8 pointer Pointer table pointer NH (0:bb, ) port 0 port 5k / 5k / ommunication Networks Mon 9 pr 08 0 of 9

11 Hierarchical table enables to converge within ms, independently on the number of es Today, two Link-State protocols are widely used: OSP and IS-IS convergence time (s) OSP IS-IS Open Shortest Path irst Intermediate Systems ms. hierarchical table K 5K 0K K 00K 00K 0K K 5K 0K K 00K 00K 00K 00K 0K # of es OSP IS-IS OSP IS-IS Open Shortest Path irst Intermediate Systems Open Shortest Path irst Intermediate Systems used in many enterprise & ISPs used mostly in large ISPs work on top of IP work on top of link-layer only route IPv by default network protocol agnostic Internet routing from here to there, and back istance- protocols are based on ellman-ord algorithm Intra-domain routing Link-state protocols istance- protocols Inter-domain routing Path- protocols Let dx(y) be the cost of the least-cost path known by x to reach y Let dx(y) be the cost of the least-cost path known by x to reach y until convergence ach node bundles these distances into one message (called a ) that it repeatedly sends to all its neighbors ommunication Networks Mon 9 pr 08 of 9

12 Similarly to Link-State, situations cause nodes to send new Vs Let dx(y) be the cost of the least-cost path known by x to reach y Topology change link or node failure/recovery until convergence ach node bundles these distances into one message (called a ) that it repeatedly sends to all its neighbors onfiguration change link cost change ach node updates its distances based on neighbors s: Periodically refresh the link-state information every (say) 0 minutes dx(y) = min{ c(x,v) + dv(y) } over all neighbors v account for possible data corruption 6 Optimum -hop path st st Hop !90!9 Optimum -hop path st st Hop Optimum -hops path st st Hop !9!9 Let s consider the convergence process Optimum -hops path st st Hop after a link cost change ommunication Networks Mon 9 pr 08 of 9

13 t = 0 t = 0 onsider the following network leading to the following s onsider the following network leading to the following s reaches directly 6 reaches 5 t = 0 (,) weight changes from to Node detects local cost change, update their s, and notify their neighbors if it has changed time t=0 6 5 t = updates its, sends it to and t = updates its, sends it to and t=0 t= t=0 t= t= t = updates its, sends it to and t > no one moves anymore network has converged! t=0 t= t= t= t=0 t= t= t> ommunication Networks Mon 9 pr 08 of 9

14 The algorithm terminates after iterations Good news travel fast! Good news travel fast! What about bad ones? t = 0 (,) weight changes from to t = updates its, sends it to and time t=0 t=0 t= t = updates its, sends it to and t = updates its, sends it to and t=0 t= t= t=0 t= t= t= t = updates its, sends it to and t= t= t= many iterations later ommunication Networks Mon 9 pr 08 of 9

15 The algorithm terminates after iterations! This problem is known as count-to-infinity, a type of routing loop ad news travel slow! ount-to-infinity leads to very slow convergence what if the cost had changed from to 9999? Routers don t know when neighbors use them does not know that has switched to use it Let s try to fix that Whenever a router uses another one, it will announce it an infinite cost The technique is known as poisoned reverse s uses to reach, it announces to an infinite cost 5 t = 0 (,) weight changes from to t = updates its, sends it to and time t=0 t=0 t= 5 5 t = updates its, sends it to and t = updates its, sends it to and t=0 t= t= t=0 t= t= t= ommunication Networks Mon 9 pr 08 5 of 9

16 t = updates its, sends it to and t > no one moves network has converged! t= t= t> 5 While poisoned reverse solved this case, it does not solve loops involving or more nodes ctual distance- protocols mitigate this issue by using small infinity, e.g. 6 see exercise session Link-State vs istance-vector routing Internet routing from here to there, and back Message complexity onvergence speed Robustness Link-State O(n) message sent n: #nodes : #links relatively fast node can advertise incorrect link cost nodes compute their own table Intra-domain routing Link-state protocols istance- protocols istance- Vector between neighbors only slow node can advertise incorrect path cost Inter-domain routing Path- protocols errors propagate Internet Internet ommunication Networks Mon 9 pr 08 6 of 9

17 Internet Internet network of networks order Gateway Protocol (GP) The Internet is a network of networks, referred to as utonomous Systems (S) ach S has a number (encoded on 6 bits) which identifies it S0 S0 S0 S0 S0 S0 S0 S0 S S GP is the routing protocol glueing the entire Internet together Using GP, Ses exchange information about the IP es they can reach, directly or indirectly S0 S0 S0 GP sessions S S0 S /6 TH/UNIH amp Net GP needs to solve three key challenges: scalability, privacy and policy enforcement Link-State routing does not solve these challenges There is a huge # of networks and es 700k es, >,000 networks, millions (!) of routers loods topology information high processing overhead Networks don t want to divulge internal topologies or their business relationships Requires each node to compute the entire path high processing overhead Networks need to control where to send and receive traffic without an Internet-wide notion of a link cost metric Minimizes some notion of total distance works only if the policy is shared and uniform! ommunication Networks Mon 9 pr 08 7 of 9

18 istance-vector routing is on the right track, but not there yet istance-vector routing is on the right track, but not really there yet pros Hide details of the network topology pros Hide details of the network topology nodes determine only next-hop for each destination nodes determine only next-hop for each destination cons It still minimizes some common distance impossible to achieve in an inter domain setting It converges slowly counting-to-infinity problem GP relies on path- routing to support flexible routing policies and avoid count-to-infinity GP announcements carry complete path information instead of distances S0 S0 S0 key idea advertise the entire path instead of distances /6 Path: 0 S0 S /6 Path: /6 TH/UNIH amp Net ach S appends itself to the path when it propagates announcements S0 S0 S /6 Path: 0 0 S0 S0 S0 S /6 Path: 0 0 S0 S S /6 Path: /6 TH/UNIH amp Net /6 TH/UNIH amp Net omplete path information enables Ses to easily detect a loop Life of a GP router is made of three consecutive steps TH sees itself in the path and discard the route S0 while true: receives routes from my neighbors select one best route for each S S0 export the best route to my neighbors /6 Path: 0 0 ommunication Networks Mon 9 pr 08 8 of 9

19 ach S can apply local routing policies always prefer eutsche Telekom routes over T&T /6 Path: 0 0 ach S is free to select and use any path preferably, the cheapest one /6 Path: 0 0 ach S can apply local routing policies always prefer eutsche Telekom routes over T&T ach S is free to select and use any path preferably, the cheapest one decide which path to export (if any) to which neighbor IP traffic preferably, none to minimize carried traffic do not export TH routes to T&T do not export TH routes to T&T /6 Path: 0 ommercial break Next week on ommunication Networks Internet routing policies armasuisse Science and Technology: Open Internship Positions Thun, Switzerland (min. months) Network / yber Security ig ata / ata Science Security and Privacy in igital vionics Tallinn, stonia (min. 6 months) Network / yber Security igital orensics Network Monitoring In collaboration with: Interested students are encouraged to apply at: vincent.lenders@armasuisse.ch ommunication Networks Mon 9 pr 08 9 of 9

Communication Networks

Communication Networks Communication Networks Spring 208 Roland Meier / Thomas Holterbach Slides: Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) April 9 208 Materials inspired from Scott Shenker & Jennifer Rexford Last

More information

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats What is Routing? Routing implements the core function of a network: : Shortest Path Routing Ion Stoica Ts: Junda Liu, K Moon, avid Zats http://inst.eecs.berkeley.edu/~ee/fa9 (Materials with thanks to Vern

More information

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016 9/9/6 S 7 Networking and the Internet Fall 06 Shortest-Path Problem Given: network topology with link costs c(x,y): link cost from node x to node y Infinity if x and y are not direct neighbors ompute:

More information

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing IP orwarding - omputer Networking Lecture : Intra-omain Routing RIP (Routing Information Protocol) & OSP (Open Shortest Path irst) The Story So ar IP addresses are structure to reflect Internet structure

More information

Third Generation Routers

Third Generation Routers IP orwarding 5-5- omputer Networking 5- Lecture : Routing Peter Steenkiste all www.cs.cmu.edu/~prs/5-- The Story So ar IP addresses are structured to reflect Internet structure IP packet headers carry

More information

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing IP Forwarding 5-44 omputer Networking Lecture : Intra-omain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) The Story So Far IP addresses are structured to reflect Internet

More information

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018 S 3: omputer Networks 3: Routing lgorithms November, 08 Last class NT: Network ddress Translators: NT is mostly bad, but in some cases, it s a necessary evil. IPv6: Simpler, faster, better Tunneling: IPv6

More information

Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.

Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now. Let s focus on clarifying questions I love the degree of interaction in this year s class More Routing all Scott Shenker http://inst.eecs.berkeley.edu/~ee/ Materials with thanks to Jennifer Rexford, Ion

More information

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview Lecture : Link-state Routing CSE 3: Computer Networks Chris Kanich Lecture Overview Routing overview Intra vs. Inter-domain routing Link-state routing protocols CSE 3 Lecture : Link-state Routing Router

More information

Distance-Vector Routing: Distributed B-F (cont.)

Distance-Vector Routing: Distributed B-F (cont.) istance-vector Routing: istributed - (cont.) xample [ istributed ellman-ord lgorithm ] ssume each node i maintains an entry (R(i,x), L(i,x)), where R(i,x) is the next node along the current shortest path

More information

Communication Networks

Communication Networks Communication Networks Spring 2018 Q&A Session Rüdiger Birkner Tobias Bühler https://comm-net.ethz.ch/ ETH Zürich August 6 2018 Old exam from 2016 3 hours instead of 2.5 Topics which we did not discuss

More information

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni 3/4/04 EN44 Network Protocols and lgorithms hapter Routing lgorithms Dr. Ridha Ouni Department of omputer Engineering ollege of omputer and Information Sciences King Saud University References Some slides

More information

Network Layer (Routing)

Network Layer (Routing) Network Layer (Routing) Topics Network service models Datagrams (packets), virtual circuits IP (Internet Protocol) Internetworking orwarding (Longest Matching Prefix) Helpers: ARP and DHP ragmentation

More information

Link-State Routing OSPF

Link-State Routing OSPF CE Computer Networks Link-State Routing OSPF Behnam Momeni Computer Engineering Department Sharif University of Technology Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer

More information

WAN Technology and Routing

WAN Technology and Routing PS 60 - Network Programming WN Technology and Routing Michele Weigle epartment of omputer Science lemson University mweigle@cs.clemson.edu March, 00 http://www.cs.clemson.edu/~mweigle/courses/cpsc60 WN

More information

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing Local & Metropolitan rea Networks OE3 Lecture 6 Routing r. L. hristofi Overview The main function of the network layer is routing packets from the source to the destination machine. The only exception

More information

COMP 3331/9331: Computer Networks and Applications

COMP 3331/9331: Computer Networks and Applications OMP /9: omputer Networks and pplications Week 9 Network Layer: Routing Reading Guide: hapter 4: Sections 4.5 Network Layer nnouncements v Labs Lab 4 ongestion ontrol Lab 5 Simple Router (start up for ssignment,

More information

EE 122: Intra-domain routing

EE 122: Intra-domain routing EE : Intra-domain routing Ion Stoica September 0, 00 (* this presentation is based on the on-line slides of J. Kurose & K. Rose) Internet Routing Internet organized as a two level hierarchy First level

More information

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday Lecture 13: Routing in multihop wireless networks Mythili Vutukuru CS 653 Spring 2014 March 3, Monday Routing in multihop networks Figure out a path from source to destination. Basic techniques of routing

More information

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra)

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra) ontents ÉOL POLYTHNIQU ÉÉRL LUSNN! 1. Link state flooding topology information finding the shortest paths (ijkstra)! 2. Hierarchical routing with areas! 3. OSP Link State Routing database modelling neighbor

More information

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) Computer Networking Intra-Domain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) IP Forwarding The Story So Far IP addresses are structured to reflect Internet structure IP

More information

COMP/ELEC 429/556 Introduction to Computer Networks

COMP/ELEC 429/556 Introduction to Computer Networks OMP/ELE 49/6 Introduction to omputer Networks Intra-domain routing Some slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at cs.rice.edu

More information

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives Routers & Routing -44: omputer Networking High-speed router architecture Intro to routing protocols ssigned reading [McK9] Fast Switched ackplane for a Gigabit Switched Router Know RIP/OSPF L-4 Intra-omain

More information

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Inter-AS routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Chapter 4:

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer IV Dmitri Loguinov Texas A&M University April 12, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

ECE 158A: Lecture 5. Fall 2015

ECE 158A: Lecture 5. Fall 2015 8: Lecture Fall 0 Routing ()! Location-ased ddressing Recall from Lecture that routers maintain routing tables to forward packets based on their IP addresses To allow scalability, IP addresses are assigned

More information

More Routing. EE122 Fall 2012 Scott Shenker

More Routing. EE122 Fall 2012 Scott Shenker More Routing EE Fall 0 Scott Shenker http://inst.eecs.berkeley.edu/~ee/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC Berkeley Let s focus

More information

Chapter 4: Network Layer

Chapter 4: Network Layer hapter 4: Network Layer hapter goals: understand principles behind layer services: routing (path selection) dealing with scale how a router works advanced topics: IPv6, multicast instantiation and implementation

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Network Layer Chapter goals: understand principles behind layer services: routing (path selection) dealing with scale how a router works advanced topics: IPv6, mobility instantiation and implementation

More information

CS118 Discussion Week 7. Taqi

CS118 Discussion Week 7. Taqi CS118 Discussion Week 7 Taqi Outline Hints for project 2 Lecture review: routing About Course Project 2 Please implement byte-stream reliable data transfer Cwnd is in unit of bytes, not packets How to

More information

Advanced Topics in Routing

Advanced Topics in Routing Advanced Topics in Routing EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC

More information

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2018 CSCD 330 Network Programming Spring 018 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 017 1 Network

More information

CSCD 330 Network Programming Spring 2017

CSCD 330 Network Programming Spring 2017 CSCD 330 Network Programming Spring 017 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-007

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 11 Rou+ng: Deep Dive Spring 2018 Rachit Agarwal 2 Goals for Today s Lecture Learning about Routing Protocols Link State (Global view) Distance

More information

Computer Networks. Sándor Laki ELTE-Ericsson Communication Networks Laboratory

Computer Networks. Sándor Laki ELTE-Ericsson Communication Networks Laboratory Computer Networks Sándor Laki ELTE-Ericsson Communication Networks Laboratory ELTE FI Department Of Information Systems lakis@elte.hu http://lakis.web.elte.hu Based on the slides of Laurent Vanbever. Further

More information

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to. Netork Layer (part ) y the end of this lecture, you should be able to. xplain the operation of distance vector routing algorithm xplain shortest path routing algorithm escribe the major points of RIP and

More information

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics CSC458 Lecture 6 Inter-domain Routing IP Addressing Administrivia Homework: #2 due today #3 out today, due in two weeks (same date as midterm) No lecture next week Reading Week Midterm in two weeks 60

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Redes de Computadores. Shortest Paths in Networks

Redes de Computadores. Shortest Paths in Networks Redes de Computadores Shortest Paths in Networks Manuel P. Ricardo Faculdade de Engenharia da Universidade do Porto » What is a graph?» What is a spanning tree?» What is a shortest path tree?» How are

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 13 THE Internet Protocol Spring 2018 Rachit Agarwal 2 Reflection The events in last few days have left me sad! Such events must be condemned

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Routing, Routing Algorithms & Protocols

Routing, Routing Algorithms & Protocols Routing, Routing Algorithms & Protocols Computer Networks Lecture 6 http://goo.gl/pze5o8 Circuit-Switched and Packet-Switched WANs 2 Circuit-Switched Networks Older (evolved from telephone networks), a

More information

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class Computer Network Homework#3 COMPUTER NETWORK Homework #3 Due Date: May 22, 2017 in class Question 1 Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes

More information

More on Network Routing and Internet Protocol

More on Network Routing and Internet Protocol omputer Networks //03 More on Network Routing and Internet Protocol Kai Shen Network Routing Link state routing: ijkstra s algorithm efficient approach to calculate least cost routes all routers need complete

More information

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP Routing on the Internet Computer Networks Lecture 17: Inter-domain Routing and BGP In the beginning there was the ARPANET: route using GGP (Gateway-to-Gateway Protocol), a distance vector routing protocol

More information

SEMESTER 2 Chapter 4 Distance Vector Routing Protocols V 4.0 RIP, IGRP, EIGRP

SEMESTER 2 Chapter 4 Distance Vector Routing Protocols V 4.0 RIP, IGRP, EIGRP SEMESTER 2 Chapter 4 Distance Vector Routing Protocols V 4.0 4.1.1 What are the three distance vector routing protocols? What are the key characteristics of RIP? What are the key characteristics of IGRP?

More information

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich iscussion 8: Link State Routing S : omputer Networks Marti Motoyama & hris Kanich Schedule Project Questions: mail hris, post to moodle, or attend his OH Homework Questions? Link State iscussion S iscussion

More information

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport layer network layer protocols in every

More information

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues Review: Routing in Packet Networks Shortest Path lgorithms: ijkstra s & ellman-ford Routing: Issues How are routing tables determined? Who determines table entries? What info used in determining table

More information

Intra-AS Routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Intra-AS Routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley. Intra-AS Routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesle http://xkcd.com/85/ Some materials copright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved

More information

Inter-Domain Routing: BGP

Inter-Domain Routing: BGP Inter-Domain Routing: BGP Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Inter-Domain Routing Internet is a network of networks Hierarchy

More information

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 4 The Network Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

ECE 435 Network Engineering Lecture 11

ECE 435 Network Engineering Lecture 11 ECE 435 Network Engineering Lecture 11 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 5 October 2017 Announcements Back from Memsys. Related things: fast memories for network

More information

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. CS118 Discussion 1A, Week 7 Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. 1 Outline Network control plane Routing Link state routing (OSPF) Distance vector routing (RIP) BGP ICMP Midterm/Project 2

More information

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics. EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book & Slides: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks

More information

Lecture 12: Addressing. CSE 123: Computer Networks Alex C. Snoeren

Lecture 12: Addressing. CSE 123: Computer Networks Alex C. Snoeren Lecture 12: Addressing CSE 123: Computer Networks Alex C. Snoeren Lecture 12 Overview IP Addresses Class-based addressing Subnetting Classless addressing Route aggregation 2 Addressing Considerations Fixed

More information

Distance vector and RIP

Distance vector and RIP DD2490 p4 2008 Distance vector and RIP Olof Hagsand KTHNOC/NADA Literature RIP lab RFC 245: RIPv2. Sections 1 2 contains some introduction that can be useful to understand the context in which RIP is specified..1.4

More information

ECE 435 Network Engineering Lecture 11

ECE 435 Network Engineering Lecture 11 ECE 435 Network Engineering Lecture 11 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 11 October 2018 Midterm on Tues Announcements 1 HW#4 Review maine.edu created? What is a

More information

CS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved.

CS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved. CS 138: Communication I CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved. Topics Network Metrics Layering Reliability Congestion Control Routing CS 138 V 2 Copyright 2012 Thomas W. Doeppner.

More information

(Refer Slide Time: 01:08 to 01:25min)

(Refer Slide Time: 01:08 to 01:25min) COMPUTER NETWORKS Prof. Sujoy Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture-27 RIP- Distance Vector Routing We have seen basic routing. Now we will

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 15 BGP Spring 2018 Rachit Agarwal Autonomous System (AS) or Domain Region of a network under a single administrative entity Border Routers Interior

More information

Communication Networks

Communication Networks Prof. Laurent Vanbever Spring 08 Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) March 6 08 Materials inspired from Scott Shenker & Jennifer Rexford Last week on How do local computers communicate?

More information

CSC 4900 Computer Networks: Routing Algorithms

CSC 4900 Computer Networks: Routing Algorithms CSC 4900 Computer Networks: Routing Algorithms Professor Henry Carter Fall 2017 Last Time Subnets provide granularity for address assignment and ease management. What is 192.168.8.0? 192.168.32.0? 192.168.8.0:

More information

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013 CS 5 Network Programming Languages Control Plane http://www.flickr.com/photos/rofi/0979/ Nate Foster Cornell University Spring 0 Based on lecture notes by Jennifer Rexford and Michael Freedman Announcements

More information

Communication Networks

Communication Networks Communication Networks Spring 2018 Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) March 19 2018 Materials inspired from Scott Shenker & Jennifer Rexford Last week on Communication Networks Reliable

More information

Dynamic Routing. The Protocols

Dynamic Routing. The Protocols Dynamic Routing The Protocols Desirable Characteristics of Dynamic Routing Automatically detect and adapt to topology changes Provide optimal routing Scalability Robustness Simplicity Rapid convergence

More information

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 5 The Network Layer part II Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it IP datagram format IP protocol version number header length (bytes) type of data max number remaining

More information

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 12: Dynamic routing protocols: Link State Chapter 3.3.3 Xiaowei Yang xwy@cs.duke.edu Today Routing Information Protocol Link-state routing Algorithm

More information

Chapter 4: Network Layer, partb

Chapter 4: Network Layer, partb Chapter 4: Network Layer, partb The slides are adaptations of the slides available by the main textbook authors, Kurose&Ross Network Layer 4-1 Interplay between routing, forwarding routing algorithm local

More information

LECTURE 9. Ad hoc Networks and Routing

LECTURE 9. Ad hoc Networks and Routing 1 LECTURE 9 Ad hoc Networks and Routing Ad hoc Networks 2 Ad Hoc Networks consist of peer to peer communicating nodes (possibly mobile) no infrastructure. Topology of the network changes dynamically links

More information

Lecture 12: Aggregation. CSE 123: Computer Networks Alex C. Snoeren

Lecture 12: Aggregation. CSE 123: Computer Networks Alex C. Snoeren Lecture 12: Aggregation CSE 123: Computer Networks Alex C. Snoeren Lecture 12 Overview Subnetting Classless addressing Route aggregation 2 Class-based Addressing Most significant bits determines class

More information

IP addressing. Overview. IP addressing Issues and solution Variable Length Subnet Mask (VLSM)

IP addressing. Overview. IP addressing Issues and solution Variable Length Subnet Mask (VLSM) Overview IP addressing IP addressing Issues and solution Variable Length Subnet Mask (VLSM) Written exercise : VLSM calculation Summarisation of routes Classless InterDomain routing (CIDR) Internet registry

More information

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture Network Routing Packet Routing, Routing Algorithms, Routers, Router Architecture Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction

More information

IP Addressing & Interdomain Routing. Next Topic

IP Addressing & Interdomain Routing. Next Topic IP Addressing & Interdomain Routing Next Topic IP Addressing Hierarchy (prefixes, class A, B, C, subnets) Interdomain routing Application Presentation Session Transport Network Data Link Physical Scalability

More information

C13b: Routing Problem and Algorithms

C13b: Routing Problem and Algorithms CISC 7332X T6 C13b: Routing Problem and Algorithms Hui Chen Department of Computer & Information Science CUNY Brooklyn College 11/20/2018 CUNY Brooklyn College 1 Acknowledgements Some pictures used in

More information

Alcatel-lucent EXAM - 4A Alcatel-Lucent Interior Routing Protocols and High Availability. Buy Full Product.

Alcatel-lucent EXAM - 4A Alcatel-Lucent Interior Routing Protocols and High Availability. Buy Full Product. Alcatel-lucent EXAM - 4A0-101 Alcatel-Lucent Interior Routing Protocols and High Availability Buy Full Product http://www.examskey.com/4a0-101.html Examskey Alcatel-lucent 4A0-101 exam demo product is

More information

Transport and TCP. EE122 Fall 2011 Scott Shenker

Transport and TCP. EE122 Fall 2011 Scott Shenker Transport and TCP EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC Berkeley

More information

Distance Vector Routing Protocols

Distance Vector Routing Protocols Distance Vector Routing Protocols Routing Protocols and Concepts Chapter 4 Version 4.0 1 Objectives Identify the characteristics of distance vector routing protocols. Describe the network discovery process

More information

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage Lecture 16: Interdomain Routing CSE 123: Computer Networks Stefan Savage Overview Autonomous Systems Each network on the Internet has its own goals Path-vector Routing Allows scalable, informed route selection

More information

CCNA IP ROUTING. Revision no.: PPT/2K605/03

CCNA IP ROUTING. Revision no.: PPT/2K605/03 CCNA 640-801 IP ROUTING Revision no.: PPT/2K605/03 Routing Basics The term routing is used for taking a packet from one device and sending it through the network to another device on a different network.

More information

Chapter 7 Routing Protocols

Chapter 7 Routing Protocols Chapter 7 Routing Protocols Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals

More information

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Interconnection Structure of. The Internet. EECC694 - Shaaban The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense

More information

Introduction to Intra-Domain Routing

Introduction to Intra-Domain Routing Introduction to Intra-Domain Routing Stefano Vissicchio UCL Computer Science COMP3 Agenda We delve into network layer s main functionality. Setting Context Routing players. Intra-domain routing problem

More information

Advanced Computer Networks

Advanced Computer Networks istance Vector dvanced omputer Networks Internal routing - distance vector protocols Prof. ndrzej uda duda@imag.fr ontents Principles of internal routing istance vector (ellman-ford) principles case of

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2011 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Topics This week: Network layer (IP, ARP, ICMP) Next week: More network layer (Routers and routing protocols)

More information

Lecture 3: Packet Forwarding

Lecture 3: Packet Forwarding Lecture 3: Packet Forwarding CSE 222A: Computer Communication Networks Alex C. Snoeren Thanks: Mike Freedman & Amin Vahdat Lecture 3 Overview Paper reviews Packet Forwarding IP Addressing Subnetting/CIDR

More information

ITEC310 Computer Networks II

ITEC310 Computer Networks II ITEC310 Computer Networks II Chapter 22 Network Layer:, and Routing Department of Information Technology Eastern Mediterranean University Objectives 2/131 After completing this chapter you should be able

More information

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG Lecture 2: Internet Protocol (IP) Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 2-1 Network Layer Provides the upper layers with independence from the data

More information

Internetworking Part 2

Internetworking Part 2 CMPE 344 Computer Networks Spring 2012 Internetworking Part 2 Reading: Peterson and Davie, 3.2, 4.1 19/04/2012 1 Aim and Problems Aim: Build networks connecting millions of users around the globe spanning

More information

Lecture 17: Network Layer Addressing, Control Plane, and Routing

Lecture 17: Network Layer Addressing, Control Plane, and Routing Lecture 17: Network Layer Addressing, Control Plane, and Routing COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition:

More information

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur.

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur. OMP 3: NETWORKE & ISTRIUTE SSTEMS // OMP 3: NETWORKE & ISTRIUTE SSTEMS Internet Routing Jasleen Kaur Fall 0 Forwarding vs. Routing: Local vs. istributed oth datagram and virtual-circuit based networks

More information

Exam: Communication Networks

Exam: Communication Networks Institut für Technische Informatik und Kommunikationsnetze epartment ITET ugust 2017 Prof. r. Laurent Vanbever Tobias ühler, Rüdiger irkner, Thomas Holterbach, Roland Meier General Remarks: Exam: ommunication

More information

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet Chapter 5: outline 5.1 introduction 5.5 The SDN control 5.2 routing protocols plane link state 5.6 ICMP: The Internet distance vector Control Message 5.3 intra-as routing in Protocol the Internet t 5.7

More information

Routing. Jens A Andersson Communication Systems

Routing. Jens A Andersson Communication Systems Routing Jens A Andersson Communication Systems R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 R5 10 Router A router is a type of internetworking device that passes data

More information

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791 CS 457 Networking and the Internet Fall 2016 Indrajit Ray What is Routing A famous quotation from RFC 791 A name indicates what we seek An address indicates where it is A route indicates how we get there

More information

Chapter 4 Network Layer. Network Layer 4-1

Chapter 4 Network Layer. Network Layer 4-1 Chapter 4 Network Layer Network Layer 4- Chapter 4: Network Layer 4. Introduction 4. Virtual circuit and datagram networks 4. What s inside a router 4.4 IP: Internet Protocol Datagram format IPv4 addressing

More information

Planning for Information Network

Planning for Information Network Planning for Information Network Lecture 8: Network Routing Protocols Assistant Teacher Samraa Adnan Al-Asadi 1 Routing protocol features There are many ways to characterize routing protocols, including

More information

Routing Unicast routing protocols

Routing Unicast routing protocols Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type

More information

ECE 158A: Lecture 7. Fall 2015

ECE 158A: Lecture 7. Fall 2015 ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers

More information