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

Similar documents
Internetworking Part 2

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Network Layer Protocols

Internetworking Part 2

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

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

IP - The Internet Protocol

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

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

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

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

TSIN02 - Internetworking

The Interconnection Structure of. The Internet. EECC694 - Shaaban

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

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

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

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

Router Architecture Overview

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

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

IPv4. Christian Grothoff.

TSIN02 - Internetworking

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

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

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

Network layer: Overview. Network Layer Functions

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

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

Chapter 4: Network Layer

Network Layer: Internet Protocol

Chapter 19 Network Layer: Logical Addressing

Computer Networking Introduction

Introduction to Computer Networks

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

ECE 4450:427/527 - Computer Networks Spring 2017

Lecture 10: Addressing

CSEP 561 Internetworking. David Wetherall

EEC-684/584 Computer Networks

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

Topics for This Week

CS 348 Computer Networks. IP and Routing. Indian Institute of Technology, Bombay

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Chapter 3 Internetworking

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

ECE 428 Internet Protocols (Network Layer: Layer 3)

Review of Internet Architecture and Protocols

Copyright 2010, Elsevier Inc. All rights Reserved

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

ITEC310 Computer Networks II

IP Protocols. ALTTC/Oct

Chapter 4: outline. Network Layer 4-1

CS 457 Lecture 11 More IP Networking. Fall 2011

Table of Contents. Cisco TCP/IP

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Hands-On Network Security: Practical Tools & Methods

Address Translation. Map IP addresses into physical addresses destination host next hop router

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Computer Networking Introduction

Chapter 4: Network Layer

Why dynamic route? (1)

CSCD 330 Network Programming Spring 2018

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

Basic Idea. Routing. Example. Routing by the Network

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Network Layer (Routing)

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

IP Addressing & Interdomain Routing. Next Topic

Routing by the Network

Overview 4.2: Routing

CSCD 330 Network Programming Spring 2017

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

Unit 3: Dynamic Routing

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

CH. 3 IP FORWARDING AND ROUTING

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

Master Course Computer Networks IN2097

Lecture 3. The Network Layer (cont d) Network Layer 1-1

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Network Layer Chapter 5

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Vanguard Managed Solutions

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

Network Layer. Chapter 5 Section 5.1, 5.3, 5.5, 5.6. CS 360 Spring 2012 Pacific University

Vorlesung Kommunikationsnetze

End-to-End Communication

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Top-Down Network Design

Lecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1

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

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

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

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

The Internet Protocol (IP)

CSCD58 WINTER 2018 WEEK 6 - NETWORK LAYER PART 1. Brian Harrington. February 13, University of Toronto Scarborough

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

Transcription:

1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world

Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol Label Switching* Internet Protocol (IP) 5 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,... What? 6 internet vs Internet network vs subnetwork physical vs logical networks

Bridge, Router, Switch 7 repeater & hub - physical bridge - link switch - network router - internet gateway - application Alternatives? 8 Novell s IPX Internet Protocol (IP) 9 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,...

Service Model 10 Datagram Delivery Packet Format Fragmentation and Reassembly Datagram Delivery 11 Underlying network is.. reliable or unreliable connection-oriented or connectionless small or large packet/frame sized physical, logical, wireless,... Datagram Delivery 12 IP Datagram is basis of protocol Provides a best-effort or unreliable service May be out of order Connectionless

Packet Format 13 HLen - length in 32-bit words (normal 5 words, 20 bytes) Length - bytes, max 64k, includes header TTL - hops Fragmentation 14 IP datagram can be 64kB Underlying network may have 512b MTU Fragmentation 15 Each fragment is an IP datagram Each IP datagram is rebuilt for each network

Fragmentation 16 Fragmentation 17 Internet Protocol (IP) 18 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,...

IP Addressing 19 Need to identify any host on the network Globally unique Hierarchal (not flat like Ethernet) for easier routing represents a network of networks IP Addressing 20 32 bit addresses Dotted Decimal format 130.111.135.26 Contains two parts Network Host IP Addressing 21

IP Addressing 22 Network portion specifies a unique physical* network used for routing Host portion local delivery specifies a unique host on the network Internet Protocol (IP) 23 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,... Datagram Forwarding 24 How do datagrams traverse the internetwork

Forwarding vs Routing 25 forwarding is taking an input packet and sending it out the appropriate port routing is the process of building forwarding tables. Datagram Forwarding 26 Every datagram has destination IP Network part uniquely identifies a physical network All hosts/routers on network can communicate with all others Every network has a router on the net Datagram Forwarding 27 Each host and router maintains a forwarding table Network 1 130.111 2 141.114 default Next-hop R1 130.111.32.1 R2 141.114.1.1 R2 76.5.4.3

Datagram Forwarding 28 If destination network == source network deliver locally Datagram Forwarding 29 if destination network in forwarding table deliver to next-hop Datagram Forwarding 30 if destination network unknown deliver to default

Datagram Forwarding 31 Local delivery for local datagrams Routers forward datagrams towards the physical network Internet Protocol (IP) 32 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,... Address Resolution Protocol (ARP) 33 Local delivery it s not that simple IP Address!= Ethernet Address

Address Resolution 34 Finds local or link-level address for an IP address Both hosts on the same IP Network Discover / Dynamic Uses broadcast feature of link-level Address Resolution 35 1.Do we have the IP-MAC addresses cached? 2.Send out broadcast query 3.Look for response, and fill in cache ARP Packet 36 Request or Response

ARP 37 Problems? ARP Spoofing (http://en.wikipedia.org/wiki/arp_spoofing) ARP Spoofing 38 Defense: DHCP Snooping & ARP Security DHCP 39 Dynamic Host Configuration Protocol Who Am I?

DHCP 40 Static configuration of hosts not flexible or adaptable to changes cumbersome Dynamic configuration provide host with an IP address additional information: router, boot info... DHCP 41 1.Broadcast request: DHCPDISCOVER 2.Look for responses: DHCPOFFERs 3.Pick one and DHCPREQUEST 4.Wait for DHCPACK DHCP 42 Problem: Broadcast means you need a DHCP server on every network. Solution: DHCP forwarding

DHCP Forwarding 43 DHCP 44 IP Address is leased for a given amount of time. Host must renew the lease with the server. Server can deny renewal Can request a new lease ICMP 45 When things don t go as planned.

ICMP 46 Remember: Best-effort service Diagnostic purposes (ping) TTL (hops) reaches 0 at a router Network redirection Host not reachable (network error) ARP, DHCP, ICMP 47 These protocols are at the edge between the Network and IP layers Address Resolution Protocol (ARP) Dynamic Host Configuration Protocol (DHCP) Internet Control Message Protocol (ICMP) Internet Protocol (IP) 48 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,...

Internet Protocol (IP) 49 What is an Internetwork Service Model Datagrams, Packet Format, Addressing Datagram Forwarding ARP, DHCP, ICMP,... Virtual Networks (VPN) 50 VPN 51 Wrap an IP datagram in an IP datagram

Inter-networking 52 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol Label Switching* Routing 53 Network as a graph Distance Vector (RIP) Link State Open Shortest Path First (OSPF) Mobile Routing Forwarding vs Routing 54 forwarding is taking an input packet and sending it out the appropriate port routing is the process of building forwarding tables.

Routing Table Network Next Hop 42 192.168.1.1 Tables 55 Forwarding Table Network Port MAC 42 1 00:BC:D4:34:32:0B Network Graph 56 GOAL: Find the lowest cost path between nodes Distance Vector (RIP) 57 Table of distance/cost to all nodes Link Down = periodic & triggered Distribute to immediate neighbors

Exercise 1.Make Routing Table of network Destination Cost Next Hop 58 2.Send messages to neighbors with From: Destination Cost 3.Use messages from neighbors and destroy 4.Repeat from step 2 Distance Vector (RIP) 59 Dest Cost Hop B 3 B C - D - E 1 E F 6 F Distance Vector (RIP) 60 Dest Cost Hop B 3 B C 7 B D - E 1 E F 6 F Dest Cost Hop A 3 A C 4 C D - E 1 E F -

Distance Vector (RIP) 61 Dest Cost Hop B 2 E C 6 E D 2 E E 1 E F 3 E Distance Vector (RIP) 62 Complete Map Exchange with immediate neighbors Link State 63 Link State Packet (LSP) Distance/Cost of neighbors Flood to all routers

Exercise 1.Make Routing Table of network Confirmed Tentative 64 2.Flood messages to everyone with neighbor information only, keep your own From: Neighbor Cost NextHop 3.Use messages from others (Dijkstra s Alg.) 4.Repeat from step 2, until tentative is empty Link State Step Confirmed Tentative Replaced 1 (A,0,-) 2 (A,0,-) 3 4 (A,0,-) (B,5,B) (A,0,-) (B,5,B) (C,8,B) (B,5,B) (C,10,C) (C,8,B) (D,14,B) (D,10,B) (C,10,C) (D,14,B) 65 5 +(D,10,B) Link State 66 Dest Cost Hop B 5 B C 8 B D 10 B

Link State 67 Link State Packet (LSP) Distance/Cost of neighbors Flood to all routers Metrics 68 Bandwidth Latency hops Cost (dollars) Utilization Geo-Political boundaries Inter-networking 69 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol Label Switching*

The Internet 70 Construction Autonomous Systems Subnetting Classless Routing (CIDR) Border Gateway Routing (BGP) IPv6 What does it look like 71 Simplified view - Autonomous Systems (AS) Subnetting 72 Network part of address uniquely identifies a physical network Class B network (16 & 16 bits) - unused Class C network (24& 8 bits) - too small

Subnetting 73 Allocate one network to several physical networks internal to network outside routes same Subnetting 74 Subnetting 75 Solves scalability problem improve address assignment efficiency aggregates information, from a distance

Classless Routing (CIDR) 76 Scalability problems in the backbone Single location with multiple C nets Lots of entries to maintain outside Assignment of Class B wastes CIDR 77 Solution: aggregate routes 192.4.16/20 = 192.4.16 to 192.4.31 192.4.16/24 = 192.4.16 CIDR 78 Solution: Assign blocks of Class C addresses creates aggregate routes to AS

Interdomain Routing 79 Each Autonomous System (AS) Has a border Handles its own internal routing Has its own policies for in & out Interdomain Routing 80 Stub AS, Multi-homed AS, & Transit AS Interdomain Routing 81 Find some path to destination Avoid loops Compliant with policies of ASs

Interdomain Routing 82 Border Gateway Protocol (BGP) AS numbers are unique One node is the speaker for the network Advertises complete paths to networks Prevent loops Path withdrawn messages Interdomain Routing 83 Scalable (by hierarchy) Only AS borders run BGP on backbone Aggregate networks Only need to find path to border AS has own internal policies and routing IPv6 84

IPv6 - Why? 85 Address exhaustion (really Class B) Real-time services Security Configuration Routing - mobile hosts Addresses 86 128 bits = 3.4 x 10 38 nodes Notation = x:x:x:x:x:x:x:x :: = zeros; 45de:1230:FG::11:12 IPv4 (zero extended) ::FFFF:128.96.33.81 Packet Format 87

Configuration 88 No more DHCP servers... Prefixes are assigned to networks (at AS) Obtain interface ID Obtain address prefix for subnet local link only (1111 1110 10) routers periodically advertise prefix Inter-networking 89 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol Label Switching* 90 Inter-networking fin