CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.

Slides:



Advertisements
Similar presentations
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Advertisements

IP Forwarding Relates to Lab 3.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Network Layer Packet Forwarding IS250 Spring 2010
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Internet Control Message Protocol (ICMP)
1 TDC TDC 365 Network Interconnections Technologies Lecture #4 Notes Spring, 2009.
Internet Control Message Protocol (ICMP). Introduction The Internet Protocol (IP) is used for host-to-host datagram service in a system of interconnected.
Chapter 5 The Network Layer.
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Internet Networking Spring 2003
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
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.
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.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
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.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
TCOM 515 IP Routing Lab Lecture 1. Class information Instructor: Wei Wu –Lecture and Lab session 2 – Instructor:
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
10/8/2015CST Computer Networks1 IP Routing CST 415.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 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.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
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.
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.
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.
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”
CS 3505 the internet and the info highway IP : internet protocol.
1 Kyung Hee University Chapter 8 Internet Protocol (IP)
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.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
Net7: IP 協定 Internet Protocol 授課教師:雲林科技大學 張慶龍 老師.
Sem1 - Module 10 Routing Fundamentals and Subnets
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Packet Switch Network Server client IP Ether IPTCPData.
21-2 ICMP(Internet control message protocol)
Chapter 9 ICMP.
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Internet Control Message Protocol (ICMP)
CS 457 – Lecture 10 Internetworking and IP
IP Forwarding Relates to Lab 3.
Internet Control Message Protocol (ICMP)
Internet Protocol (IP)
Advanced Computer Networks
Internet Control Message Protocol (ICMP)
IP : Internet Protocol Surasak Sanguanpong
Internetworking Outline Best Effort Service Model
IP Forwarding Relates to Lab 3.
Chapter 15. Internet Protocol
IP Forwarding Relates to Lab 3.
Advanced Computer Networks
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
ITIS 6167/8167: Network and Information Security
Presentation transcript:

CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6

IP packet format source IP address destination IP address options, (if any) DATA total length identification protocolheader checksum TTL fragment offset vers. HLEN flags pre. TOS

IP packet - explanation  version -- currently 4; next - 6.  HLEN - header length; 20 to 60 bytes.  total length - packet length in bytes.  precedence (3 bits) - designed for priority, but no standard procedure for this; little used.  TOS - type of service  TTL - time to live (die). Standard specified seconds, but in practice - router hops.

IP packet - explanation  ID - numbers each datagram sent by a host. ( fragmentation/reassembly)  flags - 3 bits. DF, don’t fragment; MF, more fragments. (1st bit unused=0).  frag offset - ( fragmentation/reassembly)  protocol - indicates TCP, UDP, etc.  header checksum - done on header only; recomputed at each hop.

IP routing  routing mechanism - the mechanics of routing; simply, IP routs packets according to a routing table, in memory.  routing policy - how the paths in the networking are calculated- i.e., how the entries in the table are determined. Two separate procedures.  mechanism - differs slightly, depending on whether in a host or a router; simpler for hosts.

IP routing  basic IP routing mechanism: given an IP DA (destination IP address), 1. search table for complete IP DA; if found, send to next hop indicated. 2. search table for network ID; if found, send to next hop indicated. 3. search for default entry; if found, send to next hop indicated. 4. discard the packet.

IP routing : in a host  IP (in host) receives packets to send from TCP, UDP, ICMP, IGMP. upon receipt of a packet to send, IP will 1. check mask (determine net/host parts). 2. if destination directly connected (point-to-point link/ same subnet), then send packet to it. 3. otherwise, send packet to the default router (routing table).

IP routing : in a host  fundamental difference : a host never forwards a packet; IP packets received not for this host are discarded. note : if sending to a host on same subnet (e.g. ethernet), the MAC address corresponds to the IP DA; if sending to default router, the MAC/hardware DA is the router’s, while the IP DA is that of the final destination.

IP routing : in a host routing table IP (host) TCP, UDP, etc. get next hop NW interface input queue this IP DA or broadcast packet? yes no bit bucket

IP routing : in routers Same basic algorithm as stated, but :  routing tables bigger, generally ;  more overhead in maintaining routing tables, exchanging information with other routers;  more network interfaces, generally ; usually at least 2 (hosts may have only 1)  forward packets received onto other routers. (fundamental difference)

IP routing : in routers routing table IP (router) TCP, UDP, etc. get next hop NW interfaces input queue this IP DA or broadcast packet? yes no

IP routing tables  series of entries(non standard) typically(F 8.1) destination - IP address of distant location (either network or host) route mask - AND with packet destination to get matching route destination gateway(router) - IP address of router to send the packet to route metric - metric to use for shortest route calculation, often hop count interface - the outgoing interface for this route; (e.g., ethernet, a direct link, etc. ) Route Age - how many seconds since last update

ICMP : internet control message protocol  required & essential companion protocol to IP  purpose : to provide a tool for notifying routers / hosts of problems (e.g., router down, packet discarded, etc.)  ICMP messages wrapped in IP packets with protocol = 1  ICMP protocol specifies that messages “should” or “may” be sent; doesn’t require every error be reported

ICMP  sends error messages to report problems on internets, such as u destination unreachable u time exceeded...{ dead packet :-) } u parameter problem (in IP header) u source quench (router/host is congested) u redirect (host sent a packet to wrong local router)

ICMP  ICMP message NOT sent when --- u routing/delivering ICMP messages u for broadcast/multicast packets u datagram fragments except 1st u source address not unique (e.g., )

ICMP message contents “destination unreachable” example  type field (3)  code (some error information)  checksum  IP header and 1st 8 data bytes  other information according to the code field