Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007.

Similar documents
EEC-684/584 Computer Networks

Open Shortest Path First (OSPF)

Why dynamic route? (1)

BTEC Level 3 Extended Diploma

Routing Protocols. Technology Description BGP CHAPTER

Internet Routing Protocols Tuba Saltürk

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

Chapter 5 (Week 10) The Network Layer (CONTINUATION) ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP

Basic Idea. Routing. Example. Routing by the Network

Planning for Information Network

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

Routing by the Network

What is the difference between unicast and multicast? (P# 114)

ETSF10 Internet Protocols Routing on the Internet

Networking TCP/IP routing and workload balancing

Chapter 7 Routing Protocols

Inter-domain Routing. Outline. Border Gateway Protocol

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

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

Computer Networking Introduction

Routing Protocols. Autonomous System (AS)

IP Addressing & Interdomain Routing. Next Topic

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Unicast Routing. TCP/IP class

Open Shortest Path Firts -2 OSPF-2 (RFC As mentioned before, there are two basic routing algorithms. rst one, distance ve

Routing in the Internet

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

IBM i Version 7.2. Networking TCP/IP routing and workload balancing IBM

Open Systems Interconnection (OSI) Routing Protocol

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

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

TDC 363 Introduction to LANs

Internetworking Part 2

Chapter 4: outline. Network Layer 4-1

II. Principles of Computer Communications Network and Transport Layer

Routing(2) Inter-domain Routing

Overview 4.2: Routing

CSC 4900 Computer Networks: Routing Protocols

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

ICMP, ARP, RARP, IGMP

ROUTING PROTOCOLS. Mario Baldi Routing - 1. see page 2

CSc 450/550 Computer Networks Internet Routing

Cabrillo College. Rick Graziani, Instructor

Routing. Jens A Andersson Communication Systems

Lecture 12. Introduction to IP Routing. Why introduction? Routing

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

Unit 3: Dynamic Routing

Chapter 7: Routing Dynamically. Routing & Switching

Solution of Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Network Layer: Routing

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Introduction to OSPF

CSCE 463/612 Networks and Distributed Processing Spring 2018

Presentation On Routing Protocol

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

Routing(2) Inter-domain Routing

Chapter 4: Network Layer

Routing Unicast routing protocols

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

TDC 363 Introduction to LANs

Lecture 19: Network Layer Routing in the Internet

Chapter 5. The Network Layer. Network Layer Design Isues. Store-and-Forward Packet Switching 10/7/2010. Implementation of Connectionless Service

Chapter 5. The Network Layer

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

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

Chapter 5. The Network Layer. CEN Chapter 5 1

IP Protocols. ALTTC/Oct

Routing, Routing Algorithms & Protocols

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Introduction to Routing

CS4/MSc Computer Networking. Lecture 4 The network layer: Forwarding, Routing, IP and Internet routing protocols

Top-Down Network Design

EEC-484/584 Computer Networks

Chapter 4: VLSM and Classless Inter Domain Routing. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Topics for This Week

COM-208: Computer Networks - Homework 6

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

CS4/MSc Computer Networking. Lectures 6-8 The network layer: Forwarding, Routing, IP and Internet routing protocols

Networking: Network layer

Most important (cont d) What s most important in Project 1. Important for individuals. From from Most Important

Introduction to IP Routing. Geoff Huston

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Cisco Service Advertisement Framework Fundamentals

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

Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

ICS 351: Today's plan. OSPF BGP Routing in general

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

COMPSCI 314: IP routing

Computer Networks II IPv4 routing

Redesde Computadores(RCOMP)

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

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

Transcription:

Finish Network Layer Start Transport Layer CS158a Chris Pollett Apr 25, 2007.

Outline OSPF BGP IPv6 Transport Layer Services Sockets Example Socket Program

OSPF We now look at routing in the internet. Recall the internet is split into a larger number of Autonomous Systems (AS). A routing algorithm within an AS is called an interior gateway protocol. A routing algorithm between AS s is called an exterior gateway protocol. The original interior gateway protocol (RIP) was replaced by OSPF (open shortest path first) sometime in the early 1990s. IETF wanted this standard to be open (non-proprietary), support a variety of distance metrics, to be dynamic, to support load balancing, to support hierarchal systems, and to be moderately secure.

More on OSPF OSPF supports three kinds of connections and networks: 1. Point-to-point lines between routers 2. Multiaccess networks with broadcasting (like LANs) 3. Multiaccess networks without broadcasting (most packet-switched WANs) Here multiaccess means that the network might have multiple routers on it. Here is an example graph of such a network (notice the second diagram is an abstraction of the first, where we have nodes for the network itself as well as nodes for each router on it, and where we have weighted the connections):

Still More on OSPF A router using OSPF essentially represents the network by such a graph and then computes the shortest path to each other router (done like link state). OSPF supports splitting AS s into numbered areas, which are contiguous and do not overlap. Outside an area its internal topology is not visible. Every AS has a backbone area, called area 0, and all other areas are connected to this backbone (possible by tunnels). A tunnel is represented by an arc and has a cost. Each router connected to two or more areas is part of the backbone. Within an area each router has the same link state database and runs the same shortest path. OSPF has three kinds of routes: intra-area, inter-area, and inter-as. Intrarea routes are essentially computed using only link state. Interarea routes are all computed in three steps: compute source to backbone, backbone to destination area, destination area to final destination.

Even More on OSPF OSPF distinguishes four classes (allowed ot overlap) of routers: 1. Intra-area routers 2. Area Border Routers connect two or more areas 3. Backbone Routers are on the backbone 4. AS boundary routers that talk to routers in other AS s. When a router boots it sends HELLO on each of its point-to-point lines and multicasts them on LANs to the group of other routers on the LAN. OSPF works by exchanging information between adjacent routers. On each LAN one router is voted to be a designated router. Two routers are adjacent if they are on the same LAN and one is the designated router. Only adjacent routers exchange information. Periodically each router floods LINK STATE UPDATE messages to each of its adjacent routers. This has a sequence number to prevent it from propagating forever. These messages are also sent when a line goes up or down or changes cost. Other messages that are used are DATABASE DESCRIPTION, which gives the sequence number of all link state entries currently held by the sender. (Used when a line is brought up), LINK STATE REQUEST, and LINK STATE ACKNOWLEDGEMENT.

BGP Within an AS, the recommended routing protocol is OSPF. Between AS s, BGP is used (Border Gateway Protocol). Exterior Gateway Protocols have to be different because some countries have different laws concerning what can be sent in packets and through whom. To a BGP router the world consists of AS s and the line between them. Networks are grouped into three categories: stub networks, which only have one connection in the BGP graph; multiconnected networks, which have multiple connections; and transit networks which will be willing to handle third party packets, possible with restrictions and at some cost. BGP router communicate first by establish a TCP connection. It is uses essentially a distance vector protocol, where it also keeps track of the path used instead of just the outgoing line. This avoids the count to infinity problem as well as insuring security.

IPv6 In the mid-1990s it was realized that we are running out of IP addresses and that a more robust extension to IP then NAT or CIDR was needed. IPv6 was the decided upon solution. It has 16 byte addresses ( a sequence of 8, 4-digit hex groups) and a simplified header (only 7 rather than 13 fields), it has greater support for options, and it had some features for quality of service. Unlike IPv4 the header now has a fixed length. It also supports 6 different kinds of extension headers.

Components of an IPv6 Header Require Header Components Extension Headers

Transport Layer Services The goal of the transport layer to to provide efficient, reliable, and cost effective service to the application layer, The hardware/software that does this work is called the transport entity. The transport, like the network layer, also supports connectionless and connection oriented service. At the network layer we make no guarantees that a packets arrives correctly or at all, this is done at the transport layer. As many application layer protocols make use of the transport layer, unlike the network layer, the transport layer must be convenient to use.

Service Primitives of the Transport Layer LISTEN CONNECT SEND RECEIVE DISCONNECT

Sockets I want over my solution to HW5 from my 2001, Pic20 class. This solutions contains a socket example.