Internetworking Outline Best Effort Service Model

Slides:



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

Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
CSE 461: IP/ICMP and the Network Layer. Next Topic  Focus:  How do we build large networks?  Introduction to the Network layer  Internetworks  Service.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
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.
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.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
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.
Internet Protocol Internetworking Lab 1. Why Internet?
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.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Dr. John P. Abraham Professor UTPA
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
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.
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 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.
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,
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
IP: Addressing, ARP, Routing
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Network Layer Protocols
Scaling the Network: The Internet Protocol
IP - The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
ECE544: Communication Networks-II, Spring 2006
Advanced Computer Networks
Mid term grade distribution
Dr. John P. Abraham Professor UTPA
Internet Control Message Protocol (ICMP)
IP : Internet Protocol Surasak Sanguanpong
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
Dr. John P. Abraham Professor UTPA
2. Fragmentation and Reassembly
Net 323 D: Networks Protocols
Chapter 15. 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
Presentation transcript:

Internetworking Outline Best Effort Service Model Global Addressing Scheme

IP Internet Concatenation of Networks Protocol Stack

Service Model Connectionless (datagram-based) 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

IP Packet Format

The IPv4 header consists of 20 byte fixed part and a variable length option part. Version indicates whether IPv4 or v6. IHL indicates the total header length in the unit of 32-bit words, so the maximum header length is 60 bytes. TOS used for QoS. Length is in Bytes, so maximum IP packet size is 65,535 bytes. Identification field is the packet number. All fragments of a packet have the same identification value.

DF bit indicates to routers that they should not fragment packets DF bit indicates to routers that they should not fragment packets. All machines are required to accept packets of 575 bytes at least. MF bit indicates whether it is a continuing or end of packet fragment. Fragment offset field indicates where in the datagram this fragment belongs in the unit of 8 bytes. TTL counts the number of hops a packet has gone through. When it hits zero, the packet is discarded. Protocol field indicates the upper layer protocol the packet belongs to, such as TCP or UDP. Header checksum field verifies the header only. It has to be recomputed at each hop since at least one header field, TTL, changes at each hop

Fragmentation and Reassembly Each network has some MTU Design decisions fragment when necessary (MTU < Datagram) try to avoid fragmentation at source host 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

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

IP Address Properties Dot Notation globally unique hierarchical: network + host Dot Notation 10.3.2.4 128.96.33.81 192.12.69.77 IP address is managed by Internet Corporation for Assigned Names and Numbers (ICANN), which delegate parts of the address space to regional authorities, which in turn dole out IP addresses to ISPs and other organizations.

Class-based address

Special IP addresses

Subnets An organization is often assigned a block of address with the same network number, e.g., a class B address. The problem is how to divide the block into multiple subnetworks within the organization. The solution is to divide the host portion of IP address into subnet part and host part.

A class B network subnetted into 64 subnets. The netmask is: 255.255.252.0

Routing Table A routing table include the following entries: Remote network address with all 0s in the host part, which point to output lines going to different networks. One network per entry. Local network with complete host part, which point to output lines going to different hosts on the local subnet. One host per entry. Unknown address, which point to an output line going to the default router. One entry only. Using subnet mask, given an IP address, it is a simple matter of bit-wise AND to figure out the network and host parts. Using subnets, all hosts on a subnet is represented by one entry in the routing table.

Datagram Forwarding Strategy Example (R2) Network Number Next Hop 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 Hop 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 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 TargetHardwareAddr (bytes 2 5) TargetProtocolAddr (bytes 0 3) SourceProtocolAddr (bytes 2 Hardware type = 1 ProtocolType = 0x0800 SourceHardwareAddr (bytes 4 TargetHardwareAddr (bytes 0 1) SourceProtocolAddr (bytes 0 HLen = 48 PLen = 32 Operation SourceHardwareAddr (bytes 0 ― 8 16 31

Internet Control Message Protocol (ICMP) 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