IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.

Slides:



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

Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
TCP/IP TCP/IP architecture
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
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.
Internet Control Message Protocol (ICMP)
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Internetworking: addressing, forwarding, resolution, fragmentation Shivkumar Kalyanaraman Rensselaer.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
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.
Exam 2 Review Networking CS 3470, Section 1 Sarah Diesburg.
Page 19/13/2015 Chapter 8 Some conditions that must be met for host to host communication over an internetwork: a default gateway must be properly configured.
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
Internet Control Message Protocol (ICMP). Objective l IP and ICMP l Why need ICMP? l ICMP Message Format l ICMP fields l Examples: »Ping »Traceroute.
TCOM 515 IP Routing Lab Lecture 1. Class information Instructor: Wei Wu –Lecture and Lab session 2 – Instructor:
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
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.
© Introduction to Internetworking – Alex Kooijman 04/04/2000 Introduction to internetworking Part Two.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
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.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
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.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
CS 4396 Computer Networks Lab
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
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 Chapter 4 Network Layer These ppt slides are originally from the Kurose and Ross’s book. But some slides are deleted and added for my.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
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”
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.
The Network Layer in the Internet
Network Protocols IP addressing – Classes IP packet format ARP and RARP ICMP.
Net7: IP 協定 Internet Protocol 授課教師:雲林科技大學 張慶龍 老師.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
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.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
Packet Switch Network Server client IP Ether IPTCPData.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
4: Network Layer4-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.
Homework 4 Out: Fri 2/24/2017 In: Fri 3/10/2017.
© 2003, Cisco Systems, Inc. All rights reserved.
Networking CS 3470, Section 1 Sarah Diesburg
Network Layer Protocols
CIDR – Classless InterDomain Routing
IP - The Internet Protocol
The Network Layer in the Internet
استانداردهاي سري IEEE 802.X
IP - The Internet Protocol
Internetworking Outline Best Effort Service Model
Networking CS 3470 Sarah Diesburg
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Chapter 15. Internet Protocol
IP - The Internet Protocol
Introduction to Networks
Networking CS 3470 Sarah Diesburg
IP - The Internet Protocol
Presentation transcript:

IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does IP do? Addressing and fragementation (Internetworking). Routing provided by other protocols –What IP does not do: congestion control error control resource management (under extensive development recently)

–IP Service an unreliable, best-effort, connectionless packet delivery service. –Addressing ip address: 4 bytes, xxx.xxx.xxx.xxx example: ip address for diablo logically Five types (classes) A, B, C, D, E. class A 0 7 bits network number 24 bits host number class B bits network number 16 bits host number class C bits network number 8 bits host number class D bits multicast address class E reserved

IP address for a computer in a class A network: – to How many class A, B, C networks around? How many computers can a class A network have at most? Usually all machines in the same organization have the same network number obtained from NIC (Network Information Center). special addresses: – this host –network number = 0, hostnumber a host on this network – broadcast on local network –network number, hostnumber = broadcast on remote network – , loopback

Subnets –Written as or /24. –Each organization typically have one network number. –Using the subnet mask to allow the three-tie structure, sufficient for most organizations. Using the bitwise AND operation on the IP address and the subnet mask produces the subnet number. –E.g: machine subnet mask: ==> subnet number: –All hosts on the same subnet share the same subnet mask –Example: FSU xxx.yyy, subnet mask , FSU CS xxx xxx.

Question: Can a machine (router) have more than one IP address? Version IHL Type of Service Total length identification DF MF Fragment offset Time to live protocol header checksum source address destination address Options/Padding Version: Current 4, Next Generation 6, IPv6 IHL: 4 bits, header length, 16 * 32 bits Type of service: Quality of Service requirement (not used before) Total length: 16 bits, 65,535 Bytes (64K), including header

–Identification: unique for each IP (1) source increments a counter (2) gateway copies. All fragments of a datagram contain the same Identification number. –Flags: three bits (unused DF MF), DF if 1, means do not fragment, MF if 1, means more fragment (not end of packet. –Fragment Offset: offset in the original datagram in unit of 8 octets. »Why 8 octets? –Time to Live: was intended to count time. Now use to count hops. –Portocol: number of higher number protocols »ICMP : 1, TCP 6, UDP 17 –Question: is the header in an ip packet fixed throughout it journey?

–Routing: two type of routers: –border router: next hop –internal router: maintain routing table nexthop Intradomain routing in TCP/IP networks. –Routing Information Protocol (RIP, RFC 1058) »distance vector, hop count as metric »maximum hop count = 15, limited size »routing tables maintained by application level processes (daemons) (routed in unix) exchanging distance vector information using UDP port 520

–Routing: new intradomain routing: –Open Shortest Path First (OSPF, RFC 1247) »link state routing using dijkstra algorithm »use reliable broadcast for flooding LS packets »two level hierarchy: backbone/area »Link state routing within each area/backbone Interdomain routing: BGP (border gateway protocol) -- dealing more with the politics issues.

–Some control protocols used by IP ICMP: Internet Control Message Protocol –control messages »source quench, too many packets (choke packet) »time exceeded: TTL zero,(wandering for too long) »destination unreachable »fragmentation required: MTU too small. »parameter problem: header invalid –for information messages: »echo request/reply »timestamp request/reply –Two programs that use the ICMP protocol: »ping and traceroute – IP invokes ICMP to report errors, ICMP encapsulates messages in IP for transmission: protocol number 1

–Some control protocols used by IP ARP: address resolution protocol –find out the ethernet address for an IP address –a host broadcast to everyone asking “who owns IP address xxx.xxx.xxx.xxx” –The host with that IP address response with its Ethernet address. RARP: reverse address resolution protocol. –Find out a host’s IP address. –The host broadcast to everyone asking “My Ethernet address is ?????????, who knows my IP address?” –The RARP server looks up the configuration file and reply with its IP address.

CIDR - Classless InterDomain Routing Problem? We are running out of IP addresses. CIDR is the temporary solution for this problem. –Many IP address are wasted due to the two levels structure. (Half of the class B networks have less than 50 machines, nobody wants class C networks). –Allocating the remaining Class C network address space without enforcing the logical structure -- otherwise the routing table may be too big. –Routing table contains an addition mask field (network address, mask, nexthop). –In routing: if (IP address AND mask == network address) then forward it the nexthop

IPv6 –compatible with TCP, UDP, ICMP,…… –main problem: IPv4 is running out of address space –16 bytes address space –less header fields -- more efficient to process –more hierarchy levels -- reduce routing table size –QoS(Quality of Service) –multicasting –mobile IP –security