Fall 2010CMSC 1501 Internetworking. Fall 2010CMSC 1502 Assumptions Data pipe from every machine to every other machine. –Need not be single link (and.

Slides:



Advertisements
Similar presentations
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
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.
NETWORK LAYER (1) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
1 K. Salah Module 5.2: Internet Protocol CO vs. CL protocols IP Features –Fragmentation –Routing IP Datagram Format IPv6.
Network Layer Packet Forwarding IS250 Spring 2010
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and 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 Protocol-IP. Objective l TCP/IP vs. OSI models l CO vs. CL protocols l IP Features »Fragmentation »Routing l IP Datagram Format l IPv6.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
CS 6401 IPv6 Outline Background Structure Deployment.
26-Aug-154/598N: Computer Networks Recap SBC UUNET Comcast Sprint End Users Internet First mile problem Last mile problem.
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Internetworking.
A Review of Evolving Network Technology Ethernet & IP J.J. Ekstrom March 2008.
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
CS 6401 Internetworking Outline Internet Architecture Best Effort Service Model.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 IP : Internet Protocol Computer Network System Sirak Kaewjamnong.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CSS432: Internetworking 1 CSS432 Internetworking Textbook Ch4.1 Professor: Munehiro Fukuda Augmented by Rob Nash.
The Internet Protocol Dr. Adil Yousif. 2  IP (Internet Protocol) is a Network Layer Protocol. Orientation.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Fall, 2001CS 6401 Switching, Internet Protocol Outline Quiz 2 Solution Crossbar switch design Knockout switch design Introduction to Internet Protocol.
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
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
1 Chapter 4: Internetworking (Internet Protocol) Dr. Rocky K. C. Chang 16 March 2004.
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.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
A quick intro to networking
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
IP - The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
IP - The Internet Protocol
IP : Internet Protocol Surasak Sanguanpong
Internetworking Outline Best Effort Service Model
Chapter 20 Network Layer: Internet Protocol
IP - The Internet Protocol
Router Construction Outline Switched Fabrics IP Routers
Network Layer 2019/1/13.
Net 323 D: Networks Protocols
IP - The Internet Protocol
Introduction to Computer Networks
Scaling the Network: The Internet Protocol
Introduction to Networks
Advanced Computer Networks
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

Fall 2010CMSC 1501 Internetworking

Fall 2010CMSC 1502 Assumptions Data pipe from every machine to every other machine. –Need not be single link (and in most cases will involve several links and several networks). –Pipe can lose or corrupt data (think postal system analogy – vast majority of time it arrives, but not always). –We transmit data in discrete chunks called “packets” So what info do we need to build a single “logical” network (either reliable or unreliable)?

Fall 2010CMSC 1503 Issues Getting various technologies to work with one another (I.e. creating a single “network” from many heterogeneous systems). –Problem magnified since packet may need to traverse several different networks (and network technologies), each with their own addressing schemes, service models, media access protocols, etc. Scale: It’s the big issue –How can you find an efficient path through a network with millions (and perhaps billions eventually) of nodes? –How do you provide addressing for a network with this many nodes?

Fall 2010CMSC 1504 Internetwork: Arbitrary collection of possibly heterogeneous networks interconnected to provide host-to- host packet delivery service. Network: Directly connected or switched network that uses a single technology (i.e. ATM, 802.5, Ethernet). –Could be many physical networks creating a single logical network. –E.g. several Ethernet networks connected on a university campus

Fall 2010CMSC 1505 Internetwork Internet—THE internetwork. –Runs the Internet Protocol (Kahn-Cerf) –Interesting because it has faced the problems of scale internet—abstract internetwork

Fall 2010CMSC 1506 IP is a big deal Vint Cerf and Bob Kahn with Pres. Bush at 2006 ceremony where they received the Presidential Medal of Freedom for their work on IP. White House News & Policies photophoto

Fall 2010CMSC 1507 IP Internet Concatenation of Networks Note Hn denotes host, Rn denotes router.

Fall 2010CMSC 1508 IP Internet Protocol Stack R1 ETH FDDI IP ETH TCP R2 FDDI PPP IP R3 PPP ETH IP H1 IP ETH TCP H8

Fall 2010CMSC 1509 The Internet Outline Best Effort Service Model Global Addressing Scheme

Fall 2010CMSC Service Model Connectionless (datagram-based) –So each packet must be “self-contained” Best-effort delivery (unreliable service) –packets are lost –packets are delivered out of order –duplicate copies of a packet are delivered (?!) –packets can be delayed for a long time

Fall 2010CMSC Why?! Best Effort service model is as simple a model as you can design, and this is a strong point! –If you provide best effort service over a network technology that provides reliable delivery, you’re fine –If you provide reliable delivery over a network technology that is unreliable, then you’ve got a problem: you need lots of extra functionality in the routers to handle the network deficiencies, and keeping the routers as simple as possible was an IP design goal. (Why?) Note: IP today runs over many technologies that were not in existence when IP was invented!

Fall 2010CMSC IP Datagram Format VersionHLen TOSLength IdentFlagsOffset TTLProtocolChecksum SourceAddr DestinationAddr Options (variable) Pad (variable) Data In 32 bit words In bytes Note: fields aligned on 32 bit boundaries

Fall 2010CMSC Fields Version: note placement at front of packet (why?) Header Length: in 32 bit words (20 bytes when no options) Type of service: later Length: of entire packet in bytes (note max of 65,535 bytes because of 16 bit length field) Ident, flags, offset all deal with fragmentation Time to live: first seconds, but evolved to be hop count

Fall 2010CMSC Fields Protocol: demux key specifying higher level protocol that gets datagram Checksum: take IP header as sequence of 16 bit words, add them using ones complement, take ones complement of result. –Relatively easy to calculate in software –Not as strong error detection as CRC –Bad packets discarded Src, dest address: pretty clear (and these are unique!) Options: rare, but complete IP implementation must handle them all! Presence determined by header length field

Fall 2010CMSC Fragmentation and Reassembly Each network has some MTU (why?) –Why not some uniform standard? –What is a reasonable choice for a given host? Strategy –fragment when necessary (MTU < Datagram length) –try to avoid fragmentation at source host –re-fragmentation is possible –fragments are self-contained datagrams –delay reassembly until destination host –do not recover from lost fragments

Fall 2010CMSC Fragmentation and Reassembly Ident field: chosen by sending host, intended to be unique among all datagrams that might be received at this dest from this source over reasonable time period. –All fragments keep this same ident value Offset: specifies 8 bytes chunk of data (why?) Flags: M is “more” flag

Fall 2010CMSC Example Ident = xOffset = 0 Start of header 0 Rest of header 1400 data bytes Ident = xOffset = 0 Start of header 1 Rest of header 512 data bytes Ident = xOffset = 512 Start of header 1 Rest of header 512 data bytes Ident = xOffset = 1024 Start of header 0 Rest of header 376 data bytes MTU 532 bytes Note: fragmentation can occur at multiple hops!

Fall 2010CMSC Global Addresses Properties –globally unique (don’t want anyone with my phone #) Why not just use Ethernet address?! –hierarchical: network + host (really interface) Dot Notation – – – NetworkHost A: NetworkHost B: NetworkHost C:

Fall 2010CMSC IP Internet Note Hn denotes host, Rn denotes router. Routers need two IP addresses. All hosts on same network have same network part of IP address

Fall 2010CMSC Terminology Routing Mechanism: How a router selects the link over which to forward a packet Routing Protocol: Policies that determine what is placed in the routing tables. These are not the same thing!

Fall 2010CMSC Datagram Forwarding Strategy –every datagram contains destination’s address –if directly connected to destination network, then forward to host –if not directly connected to destination network, 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 Hop 1 R3 2 R1 3 interface 1 4 interface 0

Fall 2010CMSC Recall: R2 R1 H4 H5 H3 H2 H1 Network 2 (Ethernet) Network 1 (Ethernet) H6 Network 3 (FDDI) Network 4 (point-to-point) H7R3H8

Fall 2010CMSC Pseudocode if (networknum dest = networknum my interface) deliver packet over that interface else if (networknum in my routing table) deliver packet to next hop router else deliver packet to default router