Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

Similar documents
Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

Routing. Basic principles. Karst Koymans. Informatics Institute University of Amsterdam. (version 16.4, 2017/02/23 10:58:58)

Introduction to Computer Networks

Antonio Cianfrani. Routing Protocols

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Why dynamic route? (1)

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

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

BTEC Level 3 Extended Diploma

Routing Protocols. Autonomous System (AS)

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

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

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

Chapter 7: Routing Dynamically. Routing & Switching

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

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

The most simple way to accelerate a Router is at 9.8 m/sec/sec.

CSc 450/550 Computer Networks Internet Routing

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

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

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

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

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

521262S Computer Networks 2 (fall 2007) Laboratory exercise #2: Internetworking

Routing. Advanced Computer Networks: Routing 1

Introduction to Dynamic Routing Protocols

ETSF05/ETSF10 Internet Protocols Routing on the Internet

Routing Basics ISP/IXP Workshops

CS321: Computer Networks Unicast Routing

IP Routing. Bharat S. Chaudhari International Institute of Information Technology Pune, India

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

Module 8. Routing. Version 2 ECE, IIT Kharagpur

Network Layer, Part 2 Routing. Terminology

Routing(2) Inter-domain Routing

IPv4 and Routing. based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers

CS4450. Computer Networks: Architecture and Protocols. Lecture 20 Pu+ng ALL the Pieces Together. Spring 2018 Rachit Agarwal

Open Shortest Path First (OSPF)

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

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

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

CSE 1 23: Computer Networks

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Routing Basics ISP/IXP Workshops

Routing Protocols. Technology Description BGP CHAPTER

ETSF10 Internet Protocols Routing on the Internet

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN).

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

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

Routing Protocols and

Routing in the Internet

cs/ee 143 Communication Networks

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

Computer Networks II IPv4 routing

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

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

Routing(2) Inter-domain Routing

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Introduction to IP Routing. Geoff Huston

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

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP

CSCI 466 Midterm Networks Fall 2011

Unicast Routing. TCP/IP class

Lecture 4. The Network Layer (cont d)

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

Link State Routing & Inter-Domain Routing

Network Technologies. Unit 5, Chapter 8 Switching and Routing. Cisco Learning Institute Network+ Fundamentals and Certification

Top-Down Network Design

Teldat Router. OSPF Protocol

Chapter 4: Network Layer

EITF25 Internet Routing. Jens A Andersson

Computer Networking Introduction

Chapter 7 Routing Protocols

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

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

Small additions by Dr. Enis Karaarslan, Purdue - Aaron Jarvis (Network Engineer)

Routing Basics. Campus Network Design & Operations Workshop

The Interconnection Structure of. The Internet. EECC694 - Shaaban

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

COM-208: Computer Networks - Homework 6

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

Homework 3 Discussion

CSCI 466 Midterm Networks Fall 2011

Chapter 4: outline. Network Layer 4-1

CS BGP v4. Fall 2014

Routing Basics. ISP Workshops. Last updated 10 th December 2015

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

CSCE 463/612 Networks and Distributed Processing Spring 2018

IP Routing Tecnologie e Protocolli per Internet II rev 1

Lecture 3: Packet Forwarding

Internet Routing Basics

COMP211 Chapter 5 Network Layer: The Control Plane

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

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Routing Overview. Information About Routing CHAPTER

Internet Routing : Fundamentals of Computer Networks Bill Nace

Transcription:

outing Basic principles dr. C. P. J. Koymans Informatics Institute University of Amsterdam February 20, 2008 Basic setup Directly connected Not directly connected Unix and Linux routing commands oute selection Mathematical representation outing in the Internet Different routing mechanisms Directly Connected IP Networks Data link layer routing Configuration under Unix with ifconfig Packets can be delivered immediately by the data link (layer 2 software) No explicit route commands needed under Linux, because ifconfig sets a route automatically ifconfig command Only outgoing interface needed Packet is flooded by layer 2 Bridges and switches use a lookup table to map layer 2 addresses to outgoing interfaces Spanning tree protocol takes care of loops ifconfig <interface> <ip_address> netmask <netmask> broadcast <broadcast_address>

Global routing outing Table netstat -r shows the routing table Not directly connected networks need a gateway (next hop) ecursive lookup (only 1 level) Gateway needs to be directly connected oute flags Flag Set Unset G route needs gateway route is directly connected H route to host route to network S route added statically route added dynamically (mostly by admin) (by a protocol) oute command Ip command Syntax varies a lot between systems Adding a (static) default route (Solaris) route add default <gateway> Adding a (static) host route (Linux) route add -host <host> gw <gateway> Adding a (static) network route (Linux) Introduced in the Linux iproute2 package General interface to kernel addressing and routing eplaces ifconfig, route and arp completely Has support for routing policies and multiple routing tables route add -net <network> netmask <netmask> gw <gateway>

Ip subcommands oute selection ip <subcommand>... Subcommand link address neighbor route rule Meaning layer 2 interface settings (MAC) layer 3 interface settings (IP) arp cache data routing table data routing table selection Longest prefix match Host routes before network routes Default route has shortest prefix oute of last resort Cannot be used in Internet core Mathematical representation Broadcast networks Broadcast networks Graphs (undirected, labeled) Nodes are routers and hosts Edges are (point to point) connections Labels represent cost of the route Undirected: full duplex links, same cost in both directions Network becomes a virtual node N 10

The danger of pictures Node reduction The danger of pictures Using a virtual network node is not always equivalent to a full mesh of point to point links Example of spanning tree problems LAN with N routers or hosts Full mesh of N 2 edges educed with 1 extra node to N edges Works for LANs, but also for NBMA networks For many situations, but not always 11 Internet outing (1) Internet outing (2) Based on top level structure defined by Autonomous Systems (AS) Each AS has administrative control over a collection of outers (and hosts) Networks Definition (AS Autonomous System (from FC 1930)) An AS (Autonomous System) is a connected group of one or more IP prefixes run by one or more network operators which has a SINGLE and CLEALY DEFINED routing policy. Edge routers inside an AS can be directly connected to edge routers in another AS Used for inter-as routing Using an exterior routing protocol (EGP) Example: BGP4 No other protocols in use (except variants of BGP)

Internet outing (3) outing Protocol Classification Static outers within the borders of a single AS communicate with each other to provide Intra-AS routing Using an interior routing protocol (IGP) Examples: IP, OSPF, IS-IS Dynamic A human protocol Explicit command: route or ip route set Distance Vector (for instance IP) Path Vector (for instance BGP) Link State (for instance OSPF) Distance Vector outing Path Vector outing Distance vector algorithm Bellman-Ford (1957) Distributed shortest path Original APANET routing algorithm Decentralised Like distance vector routing, but Instead of the distance the complete path (on AS level) to the destination is given The algorithm is still decentralised asynchronous

Link State outing Link state algorithm Dijkstra (1959) Single source shortest path Complete knowledge is distributed to all nodes in an area Knowledge about the local network topology is flooded to all participants in an area Every node executes the shortest path algorithm and draws the same conclusions