Mid term grade distribution

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
CSE 461: IP/ICMP and the Network Layer. Next Topic  Focus:  How do we build large networks?  Introduction to the Network layer  Internetworks  Service.
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Chapter 5 The Network Layer.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
CS Internetworking Slide Set 8. In this set... Addressing Datagram forwarding.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
Spring 2002CS 4611 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
26-Aug-154/598N: Computer Networks Recap SBC UUNET Comcast Sprint End Users Internet First mile problem Last mile problem.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
13-Sep-154/598N: Computer Networks Address Translation Map IP addresses into physical addresses –destination host –next hop router Techniques –encode physical.
A Review of Evolving Network Technology Ethernet & IP J.J. Ekstrom March 2008.
IP : Internet Protocol Addresses Rsc.Asst.Kamil Serhan Bilman
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.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
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.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
Spring 2010CS 3321 Chapter 4: Internetworking. Spring 2010CS 3322 Assumptions Data pipe from every machine to every other machine. –Need not be single.
CS 4396 Computer Networks Lab
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
CSS432 Basic Internetworking Textbook Ch3.2
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
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.
2002 년 2 학기인터넷통신망 년 2 학기. 인터넷통신망 2 Acknowledgement Some figures and texts are from: –Govindan –Kurose –Peterson & Davie –Huitema –Halabi –Retana,
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
IP - The Internet Protocol
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
IP - The Internet Protocol
Net 323: NETWORK Protocols
General network terminology Chapter 9.1: DNS
CS 457 – Lecture 10 Internetworking and IP
Internet Control Message Protocol (ICMP)
ECE 4450:427/527 - Computer Networks Spring 2017
IP - The Internet Protocol
ECE544: Communication Networks-II, Spring 2006
Advanced Computer Networks
IP : Internet Protocol Surasak Sanguanpong
Internetworking Outline Best Effort Service Model
Chapter 20 Network Layer: Internet Protocol
IP - The Internet Protocol
2. Fragmentation and Reassembly
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.) Goal is to use this opportunity.
IP - The Internet Protocol
Introduction to Computer Networks
Scaling the Network: The Internet Protocol
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

Mid term grade distribution

Recap from before spring break Direct link networks Packet switching

Internetworking

Internet collection of networks, each of which can be different types of networks

IP Internet Protocol Stack view The packet goes through different network protocols as it traverses different types of networks R’s are routers and H is the hosts Remember, bridges do not perform protocol translation and so wouldn’t show up in this figure. E.g., there may be a bridge between R1 and R2 R1 R2 R3 H1 H8 ETH FDDI IP TCP PPP

Service Model Connectionless (datagram-based) Each datagram carries the destination address Best-effort delivery (unreliable service) packets may be lost packets can be delivered out of order duplicate copies of a packet can be delivered packets can be delayed for a long time

Issues Global naming (IP addresses) and mechanisms to translate to human usable form (e.g. www.nd.edu) (DNS) Fragmentation - not all networks can deal with a given packet size Routing, mapping ip address to physical address etc..

Issue 1: Global Addresses As we connect different types of networks, need a way to address each host, independent of the network type (ethernet, FDDI etc.) Darwin.cc.nd.edu’s address is 08:00:20:7e:16:cc Properties (www.iana.org/assignments/ipv4-address-space) globally unique hierarchical: network + host, so that we can use it to route http://www.caida.org/outreach/resources/learn/ipv4space/

Issue 1: ipv4 address classes Dot Notation to describe the 32 bit address: 10.3.2.4 128.96.33.81 192.12.69.77 Class D (224 - 239) Multicast Class E (240 – 247) Experimental

Darwin.cc.nd.edu Darwin.cc.nd.edu = 129.74.250.114 10000001.01001010.11111010.01110010 Class B address, ND owns 129.74.X.X

Domain Name Service (DNS) Provides Internet domain name to IP address translation Domain name translation (nd.edu) Hostname translation (wizard.cse.nd.edu) Service location (MX records, mail service for ND) Use nslookup command to interact with DNS

Domain Naming System Hierarchy DNS is hierarchical

DNS hierarchy DNS name space is hierarchical: - fully qualified names are “little endian” - scalability - decentralized administration - domains are naming contexts com gov org generic TLDs net top-level domains (TLDs) firm shop arts web us fr country-code TLDs .edu nd berkeley duke cse chem cs eecs cc www sys Source: Jeff Chase

DNS Name Server Hierarchy com gov org net firm shop arts web us fr Root servers list servers for every TLD. Subdomains correspond to organizational (admininstrative) boundaries, which are not necessarily geographical. DNS servers are organized into a hierarchy that mirrors the name space. Specific servers are designated as authoritative for portions of the name space. .edu Servers may delegate management of subdomains to child name servers. duke ... Servers are bootstrapped with pointers to selected peer and parent servers. nd cc Parents refer subdomain queries to their children. cse chem Resolvers are bootstrapped with pointers to one or more local servers; they issue recursive queries. Source: Jeff Chase

Multicast DNS (Apple Rendezvous) Situations where there are no DNS servers (local intranet - for example home users who want to name the machines without dealing with the complexities of maintaining DNS servers) or where you may not know where the DNS servers are Create names in the .local domain. For example, my laptop can be called surendar.local. Zeroconf initiative

IP v4 Datagram format

IP v6 format Developed so that we can address more than 2^32 hosts (ipv4) http://ipv6.internet2.edu/boston/presentations/09-ipv6-under-the-hood.ppt Version (4 bits) – only field to keep same position and name Class (8 bits) – was Type of Service (TOS), renamed Flow Label (20 bits) – new field Payload Length (16 bits) – length of data, slightly different from total length Next Header (8 bits) – type of the next header, new idea Hop Limit (8 bits) – was time-to-live, renamed Source address (128 bits) Destination address (128 bits)

IPv4 and IPv6 headers Remove GPN from headers

Basic Headers - IPV6 Simplifications Fixed length of all fields, not like old options field – IHL, or header length irrelevant Remove Header Checksum – rely on checksums at other layers No hop-by-hop fragmentation – fragment offset irrelevant MTU discovery (IPv4 also support Path MTU discovery) Add extension headers – next header type (sort of a protocol type, or replacement for options) Basic Principle: Routers along the way should do minimal processing Discuss PMTU discovery because it is significantly different than IPv4

Issue 2: Fragmentation and Reassembly Cannot expect all networks to deal with the same packet size, can choose the absolute smallest - but that would mean poor performance for all networks Each network has some MTU (maximum transmission unit) Design decisions fragment when necessary (MTU < Datagram) re-fragmentation is possible fragments are self-contained datagrams use CS-PDU (not cells) for ATM delay reassembly until destination host do not recover from lost fragments try to avoid fragmentation at source host

Example Ident = x Start of header Rest of header 1400 data bytes Offset = 0 (b) 512 data bytes 1 Offset = 64 376 data bytes Offset = 128

Gateway13 example Ifconfig eth0 in gateway13.cse.nd.edu Link encap:Ethernet HWaddr 00:07:E9:3C:8F:80 inet addr:129.74.154.198 Bcast:129.74.155.255 Mask:255.255.252.0 inet6 addr: fe80::207:e9ff:fe3c:8f80/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1

Issue 3: Datagram Forwarding Strategy every datagram contains destination’s address if connected to destination network, then forward to host if not directly connected, then forward to some router forwarding table maps network number into next hop each host has a default router each router maintains a forwarding table Example (R2) Network number Next 1 R3 2 R1 3 Interface 1 4 Interface 0

Address Translation Map IP addresses into physical addresses destination host next hop router Techniques encode physical address in host part of IP address table-based Mechanism to map IP to physical address: ARP table of IP to physical address bindings broadcast request if IP address not in table target machine responds with its physical address table entries are discarded if not refreshed

ARP Details Request Format Notes HardwareType: type of physical network (e.g., Ethernet) ProtocolType: type of higher layer protocol (e.g., IP) HLEN & PLEN: length of physical and protocol addresses Operation: request or response Source/Target-Physical/Protocol addresses Notes table entries timeout in about 10 minutes update table with source when you are the target update table if already have an entry do not refresh table entries upon reference

ARP Packet Format 8 16 31 Hardware type = 1 ProtocolType = 0x0800 8 16 31 Hardware type = 1 ProtocolType = 0x0800 HLen = 48 PLen = 32 Operation SourceHardwareAddr (bytes 0 ― 3) SourceHardwareAddr (bytes 4 ― 5) SourceProtocolAddr (bytes 0 ― 1) SourceProtocolAddr (bytes 2 ― 3) TargetHardwareAddr (bytes 0 ― 1) TargetHardwareAddr (bytes 2 ― 5) TargetProtocolAddr (bytes 0 ― 3)

Sample arp table in darwin.cc.nd.edu arp -a Net to Media Table: IPv4 Device IP Address Mask Flags Phys Addr ------ -------------------- --------------- ----- --------------- hme0 eafs-e06.gw.nd.edu 255.255.255.255 00:d0:c0:d3:aa:40 hme0 bind.nd.edu 255.255.255.255 08:00:20:8a:5f:cf hme0 honcho-jr.cc.nd.edu 255.255.255.255 00:b0:d0:82:83:7f hme0 mail-vip.cc.nd.edu 255.255.255.255 02:e0:52:0c:56:c4 hme0 john.helios.nd.edu 255.255.255.255 08:00:20:85:db:c4 hme0 casper.helios.nd.edu 255.255.255.255 08:00:20:b1:f8:e1 hme0 pinky.helios.nd.edu 255.255.255.255 08:00:20:a9:88:30

ARP problems ARP trusts any response - no authentication method Works great at home, how about Notre Dame Replies which do not correspond to requests are allowed to update cache in many instances New information must supercede old info

Internet Control Message Protocol (ICMP) Mechanisms to notify of errors (not mandatory) Echo (ping) Redirect (from router to source host) Destination unreachable (protocol, port, or host) TTL exceeded (so datagrams don’t cycle forever) Checksum failed Reassembly failed Cannot fragment