Introduction to Computer Networks

Similar documents
Why dynamic route? (1)

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

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

Chapter 4: outline. Network Layer 4-1

Chapter 4: Network Layer

CSc 450/550 Computer Networks Internet Routing

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

Computer Networking Introduction

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

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Lecture 19: Network Layer Routing in the Internet

Inter-AS routing and BGP. Network Layer 4-1

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

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

BTEC Level 3 Extended Diploma

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

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

CSC 4900 Computer Networks: Routing Protocols

Chapter IV: Network Layer

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

COMP/ELEC 429 Introduction to Computer Networks

Interplay Between Routing, Forwarding

CS4700/CS5700 Fundamentals of Computer Networks

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

Antonio Cianfrani. Routing Protocols

Introduction to IP Routing. Geoff Huston

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing in the Internet

IP Protocols. ALTTC/Oct

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

Chapter 4: Network Layer

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

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

DATA COMMUNICATOIN NETWORKING

Topics for This Week

COMP211 Chapter 5 Network Layer: The Control Plane

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

ETSF10 Internet Protocols Routing on the Internet

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

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

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

Lecture 3: Packet Forwarding

Inter-Domain Routing: BGP

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Introduction to Dynamic Routing Protocols

The Interconnection Structure of. The Internet. EECC694 - Shaaban

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

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Table of Contents. Cisco TCP/IP

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

Border Gateway Protocol

CS321: Computer Networks Unicast Routing

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

ETSF10 Internet Protocols Routing on the Internet

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

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

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

Internet Routing Basics

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

Introduction to routing in the Internet

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

Planning for Information Network

Routing Overview. Path Determination

Chapter 7 Routing Protocols

Routing Basics ISP/IXP Workshops

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

Internet Routing Protocols, DHCP, and NAT

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

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

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

Routing(2) Inter-domain Routing

Routing Basics ISP/IXP Workshops

Top-Down Network Design

Introduction to routing in the Internet

Routing Protocols and

Master Course Computer Networks IN2097

COM-208: Computer Networks - Homework 6

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

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

11/13/2017 Network Layer (SSL) Network-layer functions. Recall the two network-layer functions:

Computer Networks II IPv4 routing

CSCI Topics: Internet Programming Fall 2008

Routing Overview. Information About Routing CHAPTER

(ICMP), RFC

Auxiliary protocols. tasks that IP does not handle: Routing table management (RIP, OSPF, etc.). Congestion and error reporting (ICMP).

Unit 3: Dynamic Routing

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

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

Configure Segment Routing for BGP

IETF RFCs Supported by Cisco NX-OS Unicast Features Release 6.x

Routing Basics. Campus Network Design & Operations Workshop

INTERNET TEACHING LAB: Interior Gateway Protocol (IGP) LAB

IP Routing Volume Organization

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

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

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

Transcription:

Introduction to Computer Networks Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn

Introduction to Computer Networks ICMP, ARP, DHCP, OSPF, BGP Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn

Outline ICMP / ARP / DHCP OSPF BGP 3

Internet Control Protocols Question: Since we already have IP, do we need another protocols? Answer: Yes! IP address < > MAC address, evaluation 4

Basic Idea: ICMP Internet Control Message Protocols Inform hosts and routers when things go wrong, or Send queries to get status information. IP is best effort protocol. Encapsulate control message in normal IP packets Both routers and hosts can respond ICMP. 5

ICMP 6

ICMP tracert and ICMP: tracert (traceroute) is a command to get info. of routers. tracert www.bit.edu.cn tracert cs.bit.edu.cn tracert mit.edu ICMP time exceeded 7

ICMP ping and ICMP: ping is a command to get status of hosts. ping www.bit.edu.cn ping cs.bit.edu.cn ping mit.edu TTL and time ICMP echo & echo reply OS TTL Windows 95/98 32 Linux 64 Windows XP/2k 128 Unix 255 8

Question: ARP How do we find out the hardware address of a host, given its Internet address? or How do we find MAC address by IP address? Observation: Address Resolution Protocol IP packets cannot be forwarded without knowing MAC. 9

ARP Design: Each IP node (host and router) on LAN has ARP tables. ARP tables: IP MAC mapping table arp a command to show ARP table Actually, ARP table has three columns. {IP, MAC, TTL} 10

ARP Two ARP Tables Path 1: IP1 to IP2 Path 2: IP1 to IP6 Broadcast ARP query packet can get MAC info. 11

Question: DHCP If a computer just booted, how it can get its IP address? or, If we know MAC, could we get its IP address? Solution: Dynamic Host Configuration Protocol Static allocation Dynamic allocation: DHCP 12

DHCP DHCP is an application layer protocol 13

TCP/IP Suite 14

IP Routing AS (Autonomous System): An AS is a collection of connected IP routing prefixes under the control of one or more network operators that presents a clearly defined routing policy to the Internet. ASN (AS Number) : Every AS has a unique number, assigned by ICANN. 15

IP Routing Basic Idea: An AS can decide the policy it is favor. An global routing policy among AS is required. Intra AS: Interior Gateway Routing (IGP) Do routing as best as possible (optimal routing) Inter AS: Exterior Gateway Routing (EGP) Do routing by dealing with a lot of politics. Cost, Security, purpose other s problem 16

Intra AS Routing Most known routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First IGRP: Interior Gateway Routing Protocol (Cisco) IS IS: Intermediate System to Intermediate System 17

OSPF: Open Shortest Path First Link State Routing Protocol Distance metrics 18

OSPF Hierarchical Routing In an AS 19

OSPF Packet Types 20

Inter AS Routing: BGP Peering ( 对等 ) & Transiting ( 中转 ) 21

Inter AS Routing: BGP BGP: Border Gateway Protocol Basic idea: They are various politics, we cannot do a global routing, only decide neighbor paths. you can reach net A via me AS2 table at R1: dest next hop A R2 AS1 traffic to A R1 BGP R2 A R3 R border router internal router 22

ibgp and ebgp I-BGP IGP: Intradomain routing Example: OSPF R2 IGP R3 AS1 E-BGP AS2 A announce B R1 R border router R4 AS3 R5 internal router B 23

More Details 6 2 3 4 9 2 3 1 Border router Internal router 1. Provide internal reachability (IGP) 2. Learn routes to external destinations (ebgp) 3. Distribute externally learned routes internally (ibgp) 4. Select closest egress (IGP) 24

Conclusion ICMP / ARP / DHCP OSPF BGP 25

End This page is intended blank. 26