Network Technologies essentials Week 4: Internetworking Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of.

Slides:



Advertisements
Similar presentations
Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Advertisements

CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
CS 457 – Lecture 16 Global Internet - BGP Spring 2012.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
Introduction1-1 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
IP Addressing: introduction
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Helping IP with ARP, DHCP (§5.6.4)
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Lecture 3a Mobile IP 1. Outline How to support Internet mobility? – by Mobile IP. Our discussion will be based on IPv4 (the current version). 2.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 4 Network Layer.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
1 ECE453 – Introduction to Computer Networks Lecture 12 – Network Layer (IV)
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
Network Technologies essentials Week 8: TCP congestion control Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University.
Network Technologies essentials Week 9: Applications: DNS and HTTP Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
Computer Science & Engineering Introduction to Computer Networks Network Layer Overview.
CIS 3360: Internet: Network Layer Introduction Cliff Zou Spring 2012.
1 Chapter 4: Network Layer r 4.4 IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP m IPv6 r 4.5 Routing algorithms m Hierarchical routing.
Chapter 4, slide: 1 Chapter 4: Network Layer r Introduction r IP: Internet Protocol  IPv4 addressing  NAT  IPv6 r Routing algorithms  Link state 
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Network Technologies essentials Week 5: Routing Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of Washington.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Network Technologies essentials Week 3: Retransmission, sharing links, switching Compilation made by Tim Moors, UNSW Australia Original slides by David.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly.
ICMPv6 Error Message Types Informational Message Types.
1 CSE 5346 Spring Network Simulator Project.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Packet Switch Network Server client IP Ether IPTCPData.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer session 1 TELE3118: Network Technologies Week 5: Network Layer Forwarding, Features Some slides have been taken from: r Computer.
Introduction to Networks
12 – IP, NAT, ICMP, IPv6 Network Layer.
© 2003, Cisco Systems, Inc. All rights reserved.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Computer Communication Networks
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Chapter 4: Network Layer
Scaling the Network: The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
Advanced Computer Networks
Some slides have been taken from:
Internetworking Outline Best Effort Service Model
Wide Area Networks and Internet CT1403
Network Layer: Control/data plane, addressing, routers
Scaling the Network: The Internet Protocol
Networking Essentials For Firewall-1 Administrators
DHCP: Dynamic Host Configuration Protocol
Lecture 4a Mobile IP 1.
Review of Internet Protocols Network Layer
32 bit destination IP address
Chapter 4: outline 4.1 Overview of Network layer data plane
Presentation transcript:

Network Technologies essentials Week 4: Internetworking Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of Washington ISBN-10: © 2014 For the book A. Tanenbaum and D. Wetherall: Computer Networks, 5 th ed, Prentice-Hall, 2011A. Tanenbaum and D. Wetherall: Computer Networks, 5 th ed, Prentice-Hall, 2011 Tim added green graffiti

Computer Networks2 Shortcomings of Switches 1.Don’t scale to large networks – Blow up of routing table, broadcast Table for all destinations in the world! Broadcast new destinations to the whole world! 4-1.4

Datagram Model Packets contain a destination address; each router uses it to forward each packet, possibly on different paths Computer Networks3 ISP’s equipment Routers store and forward packets after looking up address in forwarding table. Buffer in case output is busy (e.g. another input) or Σinput rates temporarily > output rate.

Computer Networks4 How Networks May Differ Basically, in a lot of ways: – Service model (datagrams, VCs) – Addressing (what kind) – QOS (priorities, no priorities) – Packet sizes – Security (whether encrypted) Internetworking hides the differences with a common protocol. (Uh oh.) 4-3.3

IPv4 (Internet Protocol) Various fields to meet straightforward needs – Version, Header (IHL) and Total length, Protocol, and Header Checksum Computer Networks5 Payload (e.g., TCP segment) 4-3.8

IP Prefixes (2) Written in “IP address/length” notation – Address is lowest address in the prefix, length is prefix bits – E.g., /16 is to – So a /24 (“slash 24”) is 256 addresses, and a /32 is one address Computer Networks xxxxxxxx ↔ ↔ /

Longest Matching Prefix (2) Computer Networks7 PrefixNext Hop /18D /22B /18 / IP address    More specific D B D 4-5.6

Computer Networks8 DHCP Addressing Bootstrap issue: – How does node send a message to DHCP server before it is configured? Answer: – Node sends broadcast messages that delivered to all nodes on the network – Broadcast address is all 1s – IP (32 bit): – Ethernet (48 bit): ff:ff:ff:ff:ff:ff 4-6.7

Computer Networks9 DHCP Messages (2) Client Server DISCOVER REQUEST OFFER ACK Broadcast 4-6.9

Computer Networks10 ARP (Address Resolution Protocol) Node uses to map a local IP address to its Link layer addresses Source Ethernet Dest. Ethernet Source IP Dest. IP Payload … Link layer From DHCP From NIC From ARP

Computer Networks11 ARP Messages (2) Node Target REQUEST Broadcast Who has IP ? REPLY I do at 1:2:3:4:5:

IPv4 Fragmentation (3) Computer Networks12 ID = 0x12ef Data Len = 2300 Offset = 0 MF = 0 ID = 0x12ef Data Len = 1500 Offset = 0 MF = 1 ID = 0x12ef Data Len = 800 Offset = 1500 MF = 0 Before MTU = 2300 After MTU =

Path MTU Discovery (3) Computer Networks13 Try 1200 Try 900 Test #2Test #3 Test #1 MTU=1200 bytes MTU=900 MTU=

Computer Networks14 IPv6 Features large addresses – 128 bits, most of header New notation – 8 groups of 4 hex digits (16 bits) – Omit leading zeros, groups of zeros Ex: 2001:0db8:0000:0000:0000:ff00:0042:8329  32 bits 4-9.7

Tunneling (3) Tunnel acts as a single link across IPv4 network – Difficulty is to set up tunnel endpoints and routing Computer Networks15 IPv6 Link User IPv4 Link IPv6 Link IPv6 Link IPv4 Link IPv6 Link Native IPv4 Native IPv6 Tunnel IPv6 IPv4

How NAT Works (2) Internal  External: – Look up and rewrite Source IP/port Computer Networks16 Internal IP:portExternal IP : port : : 1500 NAT box External destination IP=X, port=Y Internal source Src = Dst = Src = Dst =

END © 2013 D. Wetherall Slide material from: TANENBAUM, ANDREW S.; WETHERALL, DAVID J., COMPUTER NETWORKS, 5th Edition, © Electronically reproduced by permission of Pearson Education, Inc., Upper Saddle River, New Jersey Computer Networks17