Advanced Computer Networks. Lecture 4 Internetworking and Routing

Size: px
Start display at page:

Download "Advanced Computer Networks. Lecture 4 Internetworking and Routing"

Transcription

1 Advanced Computer Networks Lecture 4 Internetworking and Routing 1

2 Techniques Naïve: Flooding Outline Distance vector: Distributed Bellman Ford Algorithm Link state: Dijkstra s Shortest Path First-based Algorithm Routing in the Internet Hierarchy and Autonomous Systems Interior Routing Protocols: RIP, OSPF Exterior Routing Protocol: BGP Multicast Routing Routing is a very complex subject, and has many aspects. Here, we will concentrate on the basics. 2

3 A The Problem B R 2 R 1 R 4 How does R 1 choose a next-hop on the path towards host B? R 3 3

4 Routing Metrics Metrics Delay to send an average size packet (Make high speed links attractive, but closeness counts) Bandwidth Link utilization Stability: Is a link (or path) up or down? Today: about 1/3 of Internet routes are asymmetric 4

5 A Example network Objective: Determine the route from A to B that minimizes the path cost. Examples of link cost: Distance, data rate, price, congestion/delay, R R 2 R 4 R R 3 4 R 5 2 R 7 3 R 8 2 B 5

6 Example network In this simple case, solution is clear from inspection A R R 2 R 4 R R 3 4 R 5 2 R 7 3 R 8 2 B 6

7 So what about this network...!? The public Internet in 1999 Learn more at 7

8 Technique 1: Naïve Approach Flood! -- Routers forward packets to all ports except the ingress port. R 1 Advantages: Simple. Every destination in the network is reachable. Disadvantages: Some routers receive a packet multiple times. Packets can go round in loops forever. Inefficient. 8

9 Spanning Trees Objective: Find the lowest cost route from each of (R 1,, R 7 ) to R 8. R R 2 R R R R R 6 R 8 2 9

10 R 1 R 3 A Spanning Tree R 2 R 5 R R R 6 R 8 2 The solution is a spanning tree with R 8 as the root of the tree. Tree: There are no loops. Spanning: All nodes included. We ll see two algorithms that build spanning trees automatically: The distributed Bellman-Ford algorithm Dijkstra s shortest path first algorithm 10

11 Technique 2: Distance Vector The Distributed Bellman-Ford Algorithm 1. Let X = ( C, C,..., C ) where: C = cost from R to R. 2. Set X n i i = (,,,..., ). 3. Every T seconds, router i sends C, to for all i, to its neighbors. This is the Distance vector. 4. If router i is told of a lower cost path to R n+ 1, it updates C. Hence, n+ 1 i f( X ) where f (.) determines the next step improvement. 5. If X X then goto step (3). 6. Stop. n i X = n 11

12 Bellman-Ford Algorithm R 1 R 2 Example R R R 3 4 R 8 R 4 4 R 6 R 1 R 2 Inf Inf R 3 4, R 8 R 4 Inf R 5 2, R 8 R 6 2, R 8 R 7 3, R R R R 2 4 R R 7 R R 3 R

13 Bellman-Ford Algorithm R 1 6, R 3 R 2 4, R 5 R 3 4, R 8 R 4 6, R 7 R 5 2, R 8 R 6 2, R 8 R 7 3, R 8 R 1 5, R 2 R 2 4, R 5 R 3 4, R 8 R 4 5, R 2 R 5 2, R 8 R 6 2, R 8 R 7 3, R R R 1 2 R 2 2 R 4 R R 2 R R 3 R 8 Solution R R R R R 7 R R

14 Bellman-Ford Algorithm Questions: 1. How long can the algorithm take to run? 2. How do we know that the algorithm always converges? 3. What happens when link costs change, or when routers/links fail? 14

15 A Problem with Bellman-Ford Bad news travels slowly R R 2 R 3 R 4 Consider the calculation of distances to R 4 : Time R 1 R 2 R 3 3,R 2 2,R 3 3,R 2 2,R 3 3,R 2 4,R 3 5,R 2 4,R 3 Counting to infinity 1, R 4 3,R 2 3,R 2 5,R 2 R 3 R 4 fails 15

16 Counting to Infinity Problem Solutions 1. Set infinity = some small integer (e.g. 16). Stop when count = Split Horizon: Because R 2 received lowest cost path from R 3, it does not advertise cost to R 3 3. Split-horizon with poison reverse: R 2 advertises infinity to R 3 4. There are many problems with (and fixes for) the Bellman-Ford algorithm. 16

17 Example: Link failure with split horizon R 1 3 A R 2 R 3 3 R 4 R 5 4 B 2 17

18 A 0, A A 0, A A 0, A A 0, A R 1 3, A R 1 3, A R 1 3, A R 1 3, A R 2 4, A R 2 4, A R 2 4, A R 2 4, A 3 A 4 4 R 3 4, A R 4 6, R 2 R 5 7, R 3 R 3 inf, A R 4 6, R 2 R 5 7, R 3 R 3 inf R 4 6, R 2 R 5 inf, R 3 inf R 4 6, R 2 R 5 inf, R 1 B 9, R 5 B 9, R 5 B 9, R 5 B inf R 2 R A R 1 0, A 3, A A R 1 0, A 3, A A R 1 0, A 3, A R 4 4 B 2 R 5 R 2 R 3 R 5 4, A inf 6, R 2 inf R 2 R 3 4, A inf, A R 4 6, R 2 R 5 12, B R 2 4, A R 3 15, R 5 R 4 6, R 2 R 5 12, B B 10,R 4 B 10,R 4 B 10,R 4 18

19 Technique 3: Link State Dijkstra s Shortest Path First Algorithm Routers send out update messages whenever the state of an incident link changes. Called Link State Updates Based on all link state updates received each router calculates lowest cost path to all others, starting from itself. Use Dijkstra s single-source shortest path algorithm Assume all updates are consistent At each step of the algorithm, router adds the next shortest (i.e. lowest-cost) path to the tree. Finds spanning tree rooted at the router. 19

20 Reliable Flooding of LSP The Link State Packet: The ID of the router that created the LSP List of directly connected neighbors, and cost Sequence number TTL Reliable Flooding Resend LSP over all links other than incident link, if the sequence number is newer. Otherwise drop it. Link State Detection: Link layer failure Loss of hello packets 20

21 Dijkstra s Shortest Path First Algorithm Example Step 1: Shortest path set, S = { R8}. Candidate set, C= { R3, R5, R7, R6} Step 2: S = { R, R}, 8 5 C= { R, R, R, R } R 5 R 8 Step 3: C S = { R, R, R}, = { R, R, R, R } R 5 R 6 R 8 Step 4: S = { R, R, R, R }, C= { R, R, R }. R 5 R 7 R 6 R 8 21

22 Dijkstra s SPF Algorithm Step 8 : S = { R8, R5, R6, R7, R2, R1, R4}, C = {}. R R 2 R 4 R 6 2 R 3 4 R 7 R R 8 22

23 Distance Vector vs Link State Messages Size: small with LS; potentially large with DV Exchange: LS flood!; DV only to neighbors Space requirements LS maintains entire topology DV maintains only neighbor state Robustness: LS can broadcast incorrect/corrupted LSP Can be made robust since sources are aware of alternate paths DV can advertise incorrect paths to all destinations Incorrect calculation can spread to entire network Examples (coming up later): LS: OSPF DV: RIP, RIP2 23

24 Techniques Outline Flooding Distributed Bellman Ford Algorithm Dijkstra s Shortest Path First Algorithm Routing in the Internet Hierarchy and Autonomous Systems Interior Routing Protocols: RIP, OSPF Exterior Routing Protocol: BGP Multicast Routing 24

25 Routing in the Internet The Internet uses hierarchical routing The Internet is split into Autonomous Systems (AS s) Examples of AS s: Stanford (32), HP (71), MCI Worldcom (17373) Try: whois h whois.arin.net ASN MCI Worldcom Within an AS, the administrator chooses an Interior Gateway Protocol (IGP) Examples of IGPs: RIP (rfc 1058), OSPF (rfc 1247). Between AS s, the Internet uses an Exterior Gateway Protocol AS s today use the Border Gateway Protocol, BGP-4 (rfc 1771) 25

26 Routing in the Internet AS A AS B AS C BGP BGP Interior Gateway Protocol Interior Gateway Protocol Interior Gateway Protocol Stub AS Transit AS e.g. backbone service provider Stub AS 26

27 Routing within a Stub AS There is only one exit point, so routers within the AS can use default routing. Each router knows all Network IDs within AS. Packets destined to another AS are sent to the default router. Default router is the border gateway to the next AS. Routing tables in Stub AS s tend to be small. 27

28 Interior Routing Protocols RIP Uses distance vector (distributed Bellman-Ford algorithm). Updates sent every 30 seconds. No authentication. Originally in BSD UNIX. Widely used for many years; not used much anymore. OSPF Link-state updates sent (using flooding) as and when required. Every router runs Dijkstra s algorithm. Authenticated updates. Autonomous system may be partitioned into areas. Widely used. 28

29 Exterior Routing Protocols Problems: Topology: The Internet is a complex mesh of different AS s with very little structure. Autonomy of AS s: Each AS defines link costs in different ways, so not possible to find lowest cost paths. Trust: Some AS s can t trust others to advertise good routes (e.g. two competing backbone providers), or to protect the privacy of their traffic (e.g. two warring nations). Policies: Different AS s have different objectives (e.g. route over fewest hops; use one provider rather than another). 29

30 Border Gateway Protocol (BGP-4) BGP is not a link-state or distance-vector routing protocol. Instead, BGP uses Path vector BGP advertises complete paths (a list of AS s). Also called AS_PATH (this is the path vector) Example of path advertisement: The network /16 can be reached via the path {AS1, AS5, AS13}. Paths with loops are detected locally and ignored. Local policies pick the preferred path among options. When a link/router fails, the path is withdrawn. 30

31 Customers and Providers provider provider customer IP traffic customer Customer pays provider for access to the Internet Customer may not always need BGP 31

32 Customer-Provider Hierarchy provider customer IP traffic 32

33 The Peering Relationship peer provider traffic allowed peer customer traffic NOT allowed Peers provide transit between their respective customers Peers do not provide transit between peers Peers (often) do not exchange $$$ 33

34 BGP Messages Open : Establish a BGP session. Keep Alive : Handshake at regular intervals. Notification : Shuts down a peering session. Update : Announcing new routes or withdrawing previously announced routes. BGP announcement = prefix + path attributes Attributes include: Next hop, AS Path, local preference, Multi-exit discriminator, Used to select among multiple options for paths 34

35 BGP Route Selection Summary Highest Local Preference Enforce relationships E.g. prefer customer routes over peer routes Shortest ASPATH Lowest MED i-bgp < e-bgp Lowest IGP cost to BGP egress traffic engineering Lowest router ID Throw up hands and break ties 35

36 ASPATH Attribute /16 AS Path = AS 1129 Global Access /16 AS Path = AS 1755 Ebone /16 AS Path = AS 1239 Sprint /16 AS Path = Pick shorter AS path AS RIPE NCC RIS project /16 AS Path = 6341 AS 6341 AT&T Research /16 Prefix Originated AS 7018 AT&T /16 AS Path = /16 AS Path = AS 3549 Global Crossing 36

37 So Many Choices peer provider peer customer AS 4 Frank s Internet Barn AS 3 AS 2 Which route should Frank pick to /16? AS /16 37

38 peer provider peer customer Frank s Choices Route learned from customer preferred over route learned from peer, preferred over route learned from provider AS 4 local pref = 80 local pref = 90 AS 3 local pref = 100 Set appropriate local pref to reflect preferences: Higher Local preference values are preferred AS 2 AS /16 38

39 Traceroute with ASNs TTL LFT trace to :80/tcp 1 [AS7011] [ELI-NETWORK-ELIX] eli-gw.home.mainnerve.net ( ) 20.2ms 2 [AS5650] [ELI-NETBLK98] ms 3 [AS5650] [ELI-NETBLK99] s gw01.phnx.eli.net ( ) 20.3ms 4 [AS5650] [ELI-2-NETBLK99] srp2-0.cr01.phnx.eli.net ( ) 20.3ms 5 [AS5650] [ELI-NETBLK5] p6-0.cr01.lsan.eli.net ( ) 40.3ms 6 [AS5650] [ELI-NETBLK5] p9-0.cr02.sntd.eli.net ( ) 40.3ms 7 [AS5650] [ELI-2-NETBLK99] srp3-0.cr01.sntd.eli.net ( ) 40.3ms 8 [AS5650] [ELI-NETBLK5] so er01.plal.eli.net ( ) 40.3ms 9 [AS5650] [SAVVIS] bpr2-ge paloaltopaix.savvis.net ( ) 40.2ms 10 [ASN?] [SAVVIS] dcr2-so sanfranciscosfo.savvis.net ( ) 40.3ms 11 [ASN?] [SAVVIS] dcr1-loopback.washington.savvis.net ( ) 100.4ms 12 [ASN?] [SAVVIS] bhr1-pos-10-0.sterlingdc2.savvis.net ( ) 100.5ms 13 [ASN?] [SAVVIS] csr1-ve240.sterlingdc2.savvis.net ( ) 100.5ms [neglected] no reply packets received from TTL [ASN?] [SAVVIS] [target] : ms 39

40 Who owns an address block? prompt> whois OrgName: Savvis OrgID: SAVVI-2 Address: 3300 Regency Parkway City: Cary StateProv: NC PostalCode: Country: US ReferralServer: rwhois://rwhois.exodus.net:4 321/ NetRange: CIDR: /14 NetName: SAVVIS NetHandle: NET Parent: NET NetType: Direct Allocation NameServer: DNS01.SAVVIS.NET NameServer: DNS02.SAVVIS.NET NameServer: DNS03.SAVVIS.NET NameServer: DNS04.SAVVIS.NET Comment: RegDate: Updated: # ARIN WHOIS database, last updated :10 # Enter? for additional hints on searching ARIN's WHOIS database. 40

41 Prompt> whois SU-NET OrgName: Stanford University OrgID: STANFO Address: Pine Hall 115 City: Stanford StateProv: CA PostalCode: Country: US NetRange: CIDR: /16 NetName: SU-NET NetHandle: NET Parent: NET NetType: Direct Assignment NameServer: ARGUS.STANFORD.EDU NameServer: AVALLONE.STANFORD.EDU NameServer: ATALANTE.STANFORD.EDU Comment: RegDate: Updated: TechHandle: JK535-ARIN TechName: Kohn, Jay TechPhone: Tech Organizations North American AS Numbers and Addresses DNS Top level domains and delegates IP Address blocks # ARIN WHOIS database, last updated :10 To receive AS from a particular route arbiter: Whois h whois.ra.net

42 Multicast Routing Applications that benefit from multicast. Trees, addressing and forwarding. Host/Router Interaction Multicast routing Distance Vector-based (DVMRP, PIM-DM) Link-state based (MOSPF) Rendezvous-based (PIM-SM, CBT) Some interesting questions 42

43 Multicast Trees The basic idea G Server G Server G G G G G G G G Multiple unicasts Single multicast 43

44 Applications that need multicast One way, single sender: one-to-many TV Non-interactive learning Database update Information dispersal (e.g. Pointcast) Software updates/patches Two way, interactive, multiple sender: many-to-many Teleconference Interactive learning 44

45 Multicast Routing A multicast tree is a spanning tree with the sender at the root, spanning all the members of the group. 45

46 Multicast Trees e.g. a teleconference S 1 Sender/Speaker Multicast Group (S 1,G) S 1 Class D R 46

47 IP Multicast Addresses Class D IP addresses Group ID How to allocated these addresses? Well-known multicast addresses, assigned by IANA Transient multicast addresses, assigned and reclaimed dynamically, e.g., by sdr program 47

48 IP Multicast Service Model (rfc1112) Each group identified by a single IP address Groups may be of any size Members of groups may be located anywhere in the Internet Members of groups can join and leave at will Senders need not be members Group membership not known explicitly Analogy: Each multicast address is like a radio frequency, on which anyone can transmit, and to which anyone can tune-in. 48

49 Multicast Trees and Addressing All members of the group share the same Class D Group Address. An end station may be the member of multiple groups. An end-station joins a multicast group by (periodically) telling its nearest router that it wishes to join (uses IGMP Internet Group Management Protocol). Routers maintain soft-state indicating which end-stations have subscribed to which groups. 49

50 Multicast Trees Multiple source trees S 2 Class D R S 2 Sender/Speaker Multicast Group (S 2,G) 50

51 Multicast Forwarding is Sender-specific Group Address Src Address Src Interface Dst Interface G S 1 1 2,3 S 2 2 1,3 S 1 G 1 R S 2 G 51

52 Outline Applications that need multicast. Trees, addressing and forwarding. Host/Router Interaction Multicast routing Distance Vector-based: DVMRP, PIM-DM Link-state based: MOSPF Rendezvous-based: PIM-SM, CBT Some interesting problems 52

53 IP Multicast Architecture Service model Host-to-router protocol (IGMP) Hosts Routers Multicast routing protocols (various) 53

54 Internet Group Management Protocol End system to router protocol is IGMP Each host keeps track of which mcast groups are subscribed to Socket API informs IGMP process of all joins Objective is to keep router up-to-date with group membership of entire LAN Routers need not know who all the members are, only that members exist 54

55 How IGMP Works Routers: Q Hosts: On each link, one router is elected the querier Querier periodically sends a Membership Query message to the all-systems group ( ), with TTL = 1 On receipt, hosts start random timers (between 0 and 10 seconds) for each multicast group to which they belong 55

56 How IGMP Works (cont.) Routers: Q Hosts: G G G G When a host s timer for group G expires, it sends a Membership Report to group G, with TTL = 1 Other members of G hear the report and stop their timers Routers hear all reports, and time out non-responding groups 56

57 How IGMP Works (cont.) Note that, in normal case, only one report message per group present is sent in response to a query Power of randomization + suppression Query interval is typically seconds When a host first joins a group, it sends one or two immediate reports, instead of waiting for a query 57

58 Outline Applications that need multicast. Trees, addressing and forwarding. Host/Router Interaction Multicast routing Distance Vector-based: DVMRP, PIM-DM Link-state based: MOSPF Rendezvous-based: PIM-SM, CBT Some interesting problems 58

59 Distance-vector Multicast RPB: Reverse-Path Broadcast Uses existing unicast shortest path routing table. Computed using Distance vector If packet arrived through interface that is the shortest path to the packet s SA, then forward packet to all interfaces. Else drop packet. 59

60 Distance-vector Multicast RPB: Reverse-Path Broadcast Unicast DV Routing Table Address Port S 1 1 S 1 Sender/Speaker Multicast Group (S 1,G) 1 Shortest Path to Source 3 2 LAN Q: Is it shortest path from source? 60

61 Distance-vector Multicast RPB: Reverse-Path Broadcast S 1 Sender/Speaker Multicast Group (S 1,G) Designated Parent Router: One parent router picked per LAN (one closest to source). LAN 61

62 Distance-vector Multicast RPM: Reverse-Path Multicast RPM = RPB + Prune RPB used when a source starts to send to a new group address. Routers that are not interested in a group send prune messages up the tree towards source. Prunes sent implicitly by not indicating interest in a group. DVMRP works this way. 62

63 Protocol Independent Multicast PIM-DM (Dense Mode) uses RPM. PIM-SM (Sparse Mode) designed to be more efficient that DVMRP Key idea: use a rendezvous point (RP) Routers explicitly join multicast tree by sending unicast Join and Prune messages. Routers join a multicast tree via an RP for each group. Several RPs per domain (picked in a complex way). Provides either: Shared tree for all senders (default) Source-specific tree 63

64 Unicast to R3: (S,G) Source knows to send all G packets to RP. PIM-SM RP unwraps mcast pkt and forwards to local tree. Source tunnels mcast-in-ucast packets to RP. S RP R2 R1 Unicast to RP: (*, G) RP knows R1 has joined R2 learns to send (*,G) packets to R1 IGMP Join Sender/Source 64

65 PIM-SM S RP R2 R1 Optional Sourcespecific join to bypass RP router: Routers along the way learn new path for (S,G). Sender/Source 65

66 Outline Applications that need multicast. Trees, addressing and forwarding. Host/Router Interaction Multicast routing Distance Vector-based: DVMRP, PIM-DM Link-state based: MOSPF Rendezvous-based: PIM-SM, CBT Some interesting problems 66

67 Multicast: Interesting Questions How to make multicast reliable? How to implement flow-control? How to support/provide different rates for different end users? How to secure a multicast conversation? Will multicast become widespread? Several protocols for multicast routing in IP But IP multicast is not enabled in routers! No one uses IP multicast, really End-system based, overlay-based approaches more popular 67

68 Overlay Multicast 68

69 Failure of IP Multicast Not widely deployed even after 15 years! Use carefully e.g., on LAN or campus, rarely over WAN Various failings Scalability of routing protocols Hard to manage Hard to implement TCP equivalent Hard to get applications to use IP Multicast without existing wide deployment Hard to get router vendors to support functionality and hard to get ISPs to configure routers to enable 69

70 Supporting Multicast on the Internet Application IP?? At which layer should multicast be implemented? Network Internet architecture 70

71 IP Multicast Berkeley MIT UCSD routers end systems multicast flow CMU Highly efficient Good delay 71

72 End System Multicast Berkeley MIT MIT1 UCSD MIT2 CMU1 CMU Berkeley UCSD Overlay Tree MIT1 MIT2 CMU2 CMU1 CMU2 72

73 Benefits Over IP Multicast Quick deployment All multicast state in end systems Computation at forwarding points simplifies support for higher level functionality UCSD Berkeley MIT MIT1 MIT2 CMU1 CMU CMU2 73

74 Concerns with End System Multicast Self-organize recipients into multicast delivery overlay tree Must be closely matched to real network topology to be efficient Performance concerns compared to IP Multicast Increase in delay Bandwidth waste (packet duplication) Penalty can be kept small in practice Berkeley MIT1 Berkeley MIT1 UCSD MIT2 UCSD MIT2 CMU1 CMU1 IP Multicast CMU2 End System Multicast CMU2 74

75 Important Concepts Multicast provides support for efficient data delivery to multiple recipients Requirements for IP Multicast routing Keeping track of interested parties Building distribution tree Broadcast/suppression technique Difficult to deploy new IP-layer functionality End system-based techniques can provide similar efficiency Easier to deploy 75

An overview of how packets are routed in the Internet

An overview of how packets are routed in the Internet An overview of how packets are routed in the Internet 1 Dijkstra s shortest path first algorithm (example of a Link State Algorithm ) 1. Exchange link state: A router floods to every other router the state

More information

How does a router know where to send a packet next?

How does a router know where to send a packet next? How does a router know where to send a packet next? The Problem Which path should packets take from A to B? A B R2 R R4 R3 C D 2 The Internet forwards packets hop-by-hop Data IP Address Next-hop A R B

More information

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol) Intra-domain routing The Story So Far Routing protocols generate the forwarding

More information

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis Internet Protocols Fall 2006 Lectures 11-12 Inter-domain routing, mobility support, multicast routing Andreas Terzis Outline Inter-domain Internet Routing BGP Routing for mobile nodes Multicast routing

More information

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP) Important Lessons From Last Lecture 15-441 Computer Networking Inter-Domain outing BGP (Border Gateway Protocol) Every router needs to be able to forward towards any destination Forwarding table must be

More information

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Professor Yashar Ganjali Department of Computer Science University of Toronto. Professor Yashar Ganjali Department of Computer Science University of Toronto yganjali@cs.toronto.edu http://www.cs.toronto.edu/~yganjali Announcements Don t forget the programming assignment Due: Friday

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

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

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

CSE 123A Computer Networks

CSE 123A Computer Networks CSE 123A Computer Networks Winter 2005 Lecture 12 Internet Routing: Multicast Today: Multicast routing Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Limiters

More information

Network Layer: Routing

Network Layer: Routing Network Layer: Routing The Problem A B R 1 R 2 R 4 R 3 Goal: for each destination, compute next hop 1 Lecture 9 2 Basic Assumptions Trivial solution: Flooding Dynamic environment: links and routers unreliable:

More information

ETSF10 Internet Protocols Routing on the Internet

ETSF10 Internet Protocols Routing on the Internet ETSF10 Internet Protocols Routing on the Internet 2012, Part 2, Lecture 1.2 Kaan Bür, Jens Andersson Routing on the Internet Unicast routing protocols (part 2) [ed.4 ch.22.4] [ed.5 ch.20.3] Forwarding

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree. CSE 123A Computer Networks Fall 2009 Lecture 10 Internet Routing: Multicast Today: Multicast routing Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector

More information

Multicast Communications

Multicast Communications Multicast Communications Multicast communications refers to one-to-many or many-tomany communications. Unicast Broadcast Multicast Dragkedja IP Multicasting refers to the implementation of multicast communication

More information

Internet Routing Protocols Lecture 01 & 02

Internet Routing Protocols Lecture 01 & 02 Internet Routing Protocols Lecture 01 & 02 Advanced Systems Topics Lent Term, 2010 Timothy G. Griffin Computer Lab Cambridge UK Internet Routing Outline Lecture 1 : Inter-domain routing architecture, the

More information

Internet Routing : Fundamentals of Computer Networks Bill Nace

Internet Routing : Fundamentals of Computer Networks Bill Nace Internet Routing 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Looking Ahead Lab #2 just due Quiz #2

More information

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Interdomain Routing Reading: Sections P&D 4.3.{3,4} Interdomain Routing Reading: Sections P&D 4.3.{3,4} EE122: Intro to Communication Networks Fall 2006 (MW 4:00-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim http://inst.eecs.berkeley.edu/~ee122/

More information

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient: Broadcast Routing Multicast deliver packets from source to all other nodes source duplication is inefficient: duplicate duplicate creation/transmission duplicate source duplication in-network duplication

More information

Routing Protocols. Autonomous System (AS)

Routing Protocols. Autonomous System (AS) Routing Protocols Two classes of protocols: 1. Interior Routing Information Protocol (RIP) Open Shortest Path First (OSPF) 2. Exterior Border Gateway Protocol (BGP) Autonomous System (AS) What is an AS?

More information

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure Outline 15-441 15-441 Computer Networking 15-641 Lecture 10: Inter-Domain outing Border Gateway Protocol -BGP Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 outing hierarchy Internet structure

More information

ETSF10 Internet Protocols Routing on the Internet

ETSF10 Internet Protocols Routing on the Internet ETSF10 Internet Protocols Routing on the Internet 2013, Part 2, Lecture 1.2 Jens Andersson (Kaan Bür) Routing on the Internet Unicast routing protocols (part 2) [ed.5 ch.20.3] Multicast routing, IGMP [ed.5

More information

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions Tuomo Karhapää tuomo.karhapaa@otaverkko.fi Otaverkko Oy Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

More information

Multicast EECS 122: Lecture 16

Multicast EECS 122: Lecture 16 Multicast EECS 1: Lecture 16 Department of Electrical Engineering and Computer Sciences University of California Berkeley Broadcasting to Groups Many applications are not one-one Broadcast Group collaboration

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

ETSF10 Internet Protocols Routing on the Internet

ETSF10 Internet Protocols Routing on the Internet ETSF10 Internet Protocols Routing on the Internet 2014, Part 2, Lecture 1.2 Jens Andersson Internet Hierarchy 2014-11-10 ETSF05/ETSF05/ETSF10 - Internet Protocols 2 Hierarchical Routing aggregate routers

More information

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa Multicast Communications Slide Set were original prepared by Dr. Tatsuya Susa Outline 1. Advantages of multicast 2. Multicast addressing 3. Multicast Routing Protocols 4. Multicast in the Internet 5. IGMP

More information

CS BGP v4. Fall 2014

CS BGP v4. Fall 2014 CS 457 - BGP v4 Fall 2014 Autonomous Systems What is an AS? a set of routers under a single technical administration uses an interior gateway protocol (IGP) and common metrics to route packets within the

More information

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm Last time Transitioning to IPv6 Tunneling Gateways Routing Graph abstraction Link-state routing Dijkstra's Algorithm Distance-vector routing Bellman-Ford Equation 10-1 This time Distance vector link cost

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

Contents. Overview Multicast = Send to a group of hosts. Overview. Overview. Implementation Issues. Motivation: ISPs charge by bandwidth

Contents. Overview Multicast = Send to a group of hosts. Overview. Overview. Implementation Issues. Motivation: ISPs charge by bandwidth EECS Contents Motivation Overview Implementation Issues Ethernet Multicast IGMP Routing Approaches Reliability Application Layer Multicast Summary Motivation: ISPs charge by bandwidth Broadcast Center

More information

Introduction to Communication Networks Spring Unit 16 Global Internetworking

Introduction to Communication Networks Spring Unit 16 Global Internetworking Introduction to Communication Networks Spring 2007 Unit 16 Global Internetworking Acknowledgements slides coming from: Based almost completely on slides from the earlier issues of the EECS 122 taught recently

More information

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Interdomain Routing Reading: Sections K&R 4.6.3 EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Guest Lecture by Brighten Godfrey Instructor: Vern Paxson TAs: Lisa Fowler, Daniel

More information

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load Dynamic Routing Overview Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph C

More information

Advanced Network Training Multicast

Advanced Network Training Multicast Division of Brocade Advanced Network Training Multicast Larry Mathews Systems Engineer lmathews@brocade.com Training Objectives Session will concentrate on Multicast with emphasis on Protocol Independent

More information

Lecture 4. The Network Layer (cont d)

Lecture 4. The Network Layer (cont d) Lecture 4 The Network Layer (cont d) Agenda Routing Tables Unicast and Multicast Routing Protocols Routing Algorithms Link State and Distance Vector Routing Information and Open Shortest Path First Protocols

More information

Overview 4.2: Routing

Overview 4.2: Routing Overview 4.2: Routing Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph A 6 1

More information

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF Multicast OSPF OSPF Open Shortest Path First Link State Protocol Use Dijkstra s algorithm (SPF) Calculate shortest path from the router to every possible destination Areas Limit the information volume

More information

CS 268: Computer Networking. Next Lecture: Interdomain Routing

CS 268: Computer Networking. Next Lecture: Interdomain Routing CS 268: Computer Networking L-3 BGP Next Lecture: Interdomain Routing BGP Assigned Reading MIT BGP Class Notes [Gao00] On Inferring Autonomous System Relationships in the Internet 2 Outline Need for hierarchical

More information

CS321: Computer Networks Unicast Routing

CS321: Computer Networks Unicast Routing CS321: Computer Networks Unicast Routing Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Introduction The goal of the network layer is deliver a datagram from

More information

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept //8 Outline - omputer Networking Lecture Routing Link tate OP Peter teenkiste epartments of omputer cience and Electrical and omputer Engineering IP Multicast ervice asics - Networking, pring 8 http://www.cs.cmu.edu/~dga/-/8

More information

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC DD2490 p4 2010 IP Multicast routing Multicast routing Olof Hagsand KTH CSC 1 Literature RFC 4601 Section 3 (you may need some definitions from Section 2). See reading instructions on web. 2 Deployment

More information

Inter-domain Routing. Outline. Border Gateway Protocol

Inter-domain Routing. Outline. Border Gateway Protocol Inter-domain Routing Outline Border Gateway Protocol Internet Structure Original idea CS 640 2 Internet Structure Today CS 640 3 Route Propagation in the Internet Autonomous System (AS) corresponds to

More information

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) dr. C. P. J. Koymans Informatics Institute University of Amsterdam March 11, 2008 General ideas behind BGP Background Providers, Customers and Peers External

More information

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP Next Lecture: Interdomain Routing BGP 15-744: Computer Networking L-3 BGP Assigned Reading MIT BGP Class Notes [Gao00] On Inferring Autonomous System Relationships in the Internet Ooops 2 Outline Need

More information

Internet Routing Protocols Lecture 03 Inter-domain Routing

Internet Routing Protocols Lecture 03 Inter-domain Routing Internet Routing Protocols Lecture 03 Inter-domain Routing Advanced Systems Topics Lent Term, 2008 Timothy G. Griffin Computer Lab Cambridge UK Autonomous Routing Domains A collection of physical networks

More information

Advanced Networking. Multicast

Advanced Networking. Multicast Advanced Networking Multicast Renato Lo Cigno Renato.LoCigno@dit.unitn.it Homepage: disi.unitn.it/locigno/index.php/teaching-duties/advanced-networking Multicasting Addresses that refer to group of hosts

More information

IP Multicast. What is multicast?

IP Multicast. What is multicast? IP Multicast 1 What is multicast? IP(v4) allows a host to send packets to a single host (unicast), or to all hosts (broadcast). Multicast allows a host to send packets to a subset of all host called a

More information

Multicast routing protocols

Multicast routing protocols Multicast routing protocols IGMP IP Group Management Protocol PIM Protocol Independent Multicast MOSPF Multicast OSPF DVMRP DV Multicast Routing Protocol E7310-Multicast-2/Comnet 1 Multicast in local area

More information

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing CSCD 433/533 Network Programming Fall 2012 Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing 1 Topics Interdomain Routing BGP Interdomain Routing Benefits vs. Link State Routing

More information

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals What is Multicasting? Multicasting Fundamentals Unicast transmission transmitting a packet to one receiver point-to-point transmission used by most applications today Multicast transmission transmitting

More information

CSc 450/550 Computer Networks Internet Routing

CSc 450/550 Computer Networks Internet Routing CSc 450/550 Computer Networks Internet Routing Jianping Pan Summer 2007 7/12/07 CSc 450/550 1 Review Internet Protocol (IP) IP header addressing class-based, classless, hierarchical, NAT routing algorithms

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

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 1.5, 2011/03/06 13:35:28) Monday, March 7, 2011 General ideas behind BGP Background Providers,

More information

PART III. Implementing Inter-Network Relationships with BGP

PART III. Implementing Inter-Network Relationships with BGP PART III Implementing Inter-Network Relationships with BGP ICNP 2002 Routing Protocols Autonomous System BGP-4 BGP = Border Gateway Protocol Is a Policy-Based routing protocol Is the de facto EGP of today

More information

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Interdomain Routing. EE122 Fall 2011 Scott Shenker Interdomain Routing 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

Multicast Technology White Paper

Multicast Technology White Paper Multicast Technology White Paper Keywords: Multicast, IGMP, IGMP Snooping, PIM, MBGP, MSDP, and SSM Mapping Abstract: The multicast technology implements high-efficiency point-to-multipoint data transmission

More information

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM ICS 351: Today's plan routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM what routing is not: Ethernet switching does not use IP addresses in any

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 V Dmitri Loguinov Texas A&M University April 17, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross Chapter 4:

More information

Lecture 19: Multicast. CSE 123: Computer Networks Stefan Savage

Lecture 19: Multicast. CSE 123: Computer Networks Stefan Savage Lecture 19: Multicast CSE 123: Computer Networks Stefan Savage Today: Multicast routing Multicast service model Host interface Host-router interactions (IGMP) Multicast outing Limiters Distance Vector

More information

Broadcast and Multicast Routing

Broadcast and Multicast Routing Broadcast and Multicast Routing Daniel Zappala CS 460 Computer Networking Brigham Young University Group Communication 2/34 How can the Internet provide efficient group communication? send the same copy

More information

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of Routing Protocols MITA DUTTA The routers in an internet are responsible for receiving and forwarding IP datagrams through the interconnected set of sub-networks from source to destination. Routing protocols

More information

cs/ee 143 Communication Networks

cs/ee 143 Communication Networks cs/ee 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech Warning These notes are not self-contained, probably not understandable, unless you also were

More information

TELE 301 Network Management

TELE 301 Network Management TELE 301 Network Management Lecture 24: Exterior Routing and BGP Haibo Zhang Computer Science, University of Otago TELE301 Lecture 16: Remote Terminal Services 1 Today s Focus How routing between different

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

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

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II Inter-Domain Routing: BGP II Brad Karp UCL Computer Science (drawn mostly from lecture notes by Hari Balakrishnan and Nick Feamster, MIT) CS 05/GZ01 4 th December 2014 BGP Protocol (cont d) BGP doesn t

More information

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4 BGP Border Gateway Protocol (an introduction) dr. C. P. J. Koymans Informatics Institute University of Amsterdam (version 1.3, 2010/03/10 20:05:02) Monday, March 8, 2010 General ideas behind BGP Background

More information

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 310, 2014/03/11 10:50:06) Monday, March 10, 2014 General ideas behind BGP Background Providers,

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.15 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram

More information

IP Multicast Technology Overview

IP Multicast Technology Overview IP multicast is a bandwidth-conserving technology that reduces traffic by delivering a single stream of information simultaneously to potentially thousands of businesses and homes. Applications that take

More information

Financial Services Design for High Availability

Financial Services Design for High Availability Financial Services Design for High Availability Version History Version Number Date Notes 1 March 28, 2003 This document was created. This document describes the best practice for building a multicast

More information

Lecture 9. Network Layer (cont d) Network Layer 1-1

Lecture 9. Network Layer (cont d) Network Layer 1-1 Lecture 9 Network Layer (cont d) Network Layer 1-1 Agenda Routing Tables Unicast and Multicast Routing Protocols Routing Algorithms Link State and Distance Vector Routing Information and Open Shortest

More information

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II Inter-Domain Routing: BGP II Mark Handley UCL Computer Science CS 3035/GZ01 BGP Protocol (cont d) BGP doesn t chiefly aim to compute shortest paths (or minimize other metric, as do DV, LS) Chief purpose

More information

Interdomain Routing. EE122 Fall 2012 Scott Shenker

Interdomain Routing. EE122 Fall 2012 Scott Shenker Interdomain 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 Berkeley

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

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Routing TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IPv4 unicast routing All Internet hosts perform basic routing for local net destinations, forward to local host for non-local

More information

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 1.9, 2012/03/14 10:21:22) Monday, March 12, 2012 General ideas behind BGP Background Providers,

More information

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014 .. BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 3.10, 2014/03/11 10:50:06) Monday, March 10, 2014 Karst Koymans (UvA) BGP Monday, March

More information

Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC. Date: 20 May :00 19:00 SOLUTIONS

Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC. Date: 20 May :00 19:00 SOLUTIONS Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC Date: 20 May 2009 14:00 19:00 SOLUTIONS a) No help material is allowed - You are not allowed to use books

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Stephan Günther

More information

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011 Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011 Overview Business relationships between ASes Interdomain routing using BGP Advertisements Routing policy Integration with intradomain routing

More information

HY 335 Φροντιστήριο 8 ο

HY 335 Φροντιστήριο 8 ο HY 335 Φροντιστήριο 8 ο Χειμερινό Εξάμηνο 2009-2010 Παπακωνσταντίνου Άρτεμις artpap@csd.uoc.gr 4/12/2009 Roadmap IP: The Internet Protocol IPv4 Addressing Datagram Format Transporting a datagram from source

More information

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/ETSF10 Internet Protocols. Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet Circuit switched routing ETSF05/ETSF10 - Internet Protocols 2 Routing in Packet Switching Networks Key design issue for (packet) switched networks

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

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast Falko Dressler Regionales Rechenzentrum falko.dressler@rrze.uni-erlangen.de 1 Agenda Basics Principles of IP multicast, addressing, TTL Internet Group Management Protocol (IGMP) IGMPv1, v2, v3 Layer-2

More information

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing Routing Dr. Arjan Durresi Department of Computer Science Louisiana State University Overview Routing vs. Forwarding Routing Algorithms, Distance Vector, Link State Dijkstra s Algorithm ARPAnet Routing

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

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

More information

PATH VECTOR ROUTING AND THE BORDER GATEWAY PROTOCOL

PATH VECTOR ROUTING AND THE BORDER GATEWAY PROTOCOL PATH VECTOR ROUTING AND THE BORDER GATEWAY PROTOCOL READING: SECTIONS 4.3.3 PLUS OPTIONAL READING COS 461: Computer Networks Spring 2010 (MW 3:00 4:20 in COS 105) Mike Freedman hdp://www.cs.princeton.edu/courses/archive/spring10/cos461/

More information

Routing in the Internet

Routing in the Internet Routing in the Internet Daniel Zappala CS 460 Computer Networking Brigham Young University Scaling Routing for the Internet 2/29 scale 200 million destinations - can t store all destinations or all prefixes

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

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

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs). Introduction Dynamic routing is when protocols are used to find networks and update routing tables on routers. True, this is easier than using static or default routing, but it ll cost you in terms of

More information

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ETSF05/ETSF10 Internet Protocols Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet 2014, (ETSF05 Part 2), Lecture 1.1 Jens Andersson Circuit switched routing 2014 11 05 ETSF05/ETSF10 Internet Protocols 2 Packet switched Routing

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 Introduction to Computer Networks

COMP/ELEC 429 Introduction to Computer Networks COMP/ELEC 429 Introduction to Computer Networks Lecture 11: Inter-domain routing Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at

More information

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting Outline Routing Fundamentals of Computer Networks Guevara Noubir Introduction Broadcasting and Multicasting Shortest Path Unicast Routing Link Weights and Stability F2003, CSG150 Fundamentals of Computer

More information

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice Hierarchical Routing Our routing study thus far - idealization all routers identical network flat not true in practice scale: with 200 million destinations: can t store all destinations in routing tables!

More information

IPv6 and Multicast. Outline. IPv6 Multicast. S Computer Networks - Spring 2005

IPv6 and Multicast. Outline. IPv6 Multicast. S Computer Networks - Spring 2005 IPv6 and Multicast 188lecture5.ppt Pasi Lassila 1 Outline IPv6 Multicast 2 IPv6 overview Motivation Internet growth (address space depletion and routing information eplosion) CIDR has helped but eventually

More information