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

Similar documents
8.2 The Internet Protocol

Lecture Computer Networks

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

IP - The Internet Protocol

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Network Layer: Network Layer and IP Protocol

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Internet Protocols Fall Lectures 7-8 Andreas Terzis

1000 CCNA Certification Exam Preparation Questions and Answers:

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

RARP: Reverse Address Resolution Protocol

IP addressing and forwarding Network layer

04 Internet Protocol (IP)

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Chapter 4 Network Layer

Transport and Network Layer

NETWORK LAYER/INTERNET PROTOCOLS

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

Internet Control Protocols Reading: Chapter 3

The Internet. Internet Technologies and Applications

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

- IPv4 Addressing and Subnetting -

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Configuring Channel Access. Jeff Hill

Technical Support Information Belkin internal use only

Subnetting,Supernetting, VLSM & CIDR

Assignment 6: Internetworking Due October 17/18, 2012

Chapter 9. IP Secure

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Network Layer: and Multicasting Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

DG Forwarding Algorithm

Ethernet. Ethernet. Network Devices

Application Protocols for TCP/IP Administration

Datacommunication. Internet Infrastructure IPv4 & IPv6

Chapter 13 Internet Protocol (IP)

IP Filter/Firewall Setup

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Overview of TCP/IP. TCP/IP and Internet

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Chapter 11. User Datagram Protocol (UDP)

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

PPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)

Themen der Praktikumsnachmittage. PPS Internet-Praktikum. Zielsetzung. Infrastruktur im ETF B5

Cisco Configuring Commonly Used IP ACLs

Configure a Microsoft Windows Workstation Internal IP Stateful Firewall

Internet Architecture and Philosophy

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Overview Computer Networking. IP Address Classes (Some are Obsolete) Outline. Lecture 9 IP Packets. CIDR IP addressing. Forwarding examples

Network Layer: Address Mapping, Error Reporting, and Multicasting

Introduction to Analyzer and the ARP protocol

Troubleshooting Tools

Introduction to TCP/IP

DHCP, ICMP, IPv6. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley DHCP. DHCP UDP IP Eth Phy

Internetworking and IP Address

Future Internet Technologies

Internetworking and Internet-1. Global Addresses

2. IP Networks, IP Hosts and IP Ports

Internet Protocols. Background CHAPTER

CHAPTER 3 STATIC ROUTING

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

- Basic Router Security -

Introduction to IP v6

IP Addressing Introductory material.

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

TCP/IP Networking Terms you ll need to understand: Techniques you ll need to master:

TCP/IP, Addressing and Services

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

Lecture 8. IP Fundamentals

Introduction to LAN/WAN. Network Layer (part II)

TCP/IP and the Internet

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

IP Routing Features. Contents

How do I get to

Troubleshooting IP Routing

Network Models OSI vs. TCP/IP

Savera Tanwir. Internet Protocol

IP and OSI Network Layer 3. Security Problems. Agenda. IP Related Protocols. L91B - Security Problems in TCP/IP. L91B - Security Problems in TCP/IP

101 Application Delivery Fundamentals

ACHILLES CERTIFICATION. SIS Module SLS 1508

Internet Protocol Version 6 (IPv6)

HOST AUTO CONFIGURATION (BOOTP, DHCP)

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Internet Addresses (You should read Chapter 4 in Forouzan)

ccna question and answers

Transcription:

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

IP topics IP topics brief history (1) basic function (1) names and addresses (1) packet format (2) packet routing, routing tables (2) lnternet Control Message Protocol (2) routing (calculation) : RIP, OSPF (2) IPv6 : the IP of the future (2)

TCP/IP IP TCP/IP internet TCP/IP internet IP WAN WAN IP TCP/IP IP... TCP/IP

TCP/IP protocol suite TCP/IP protocol suite telnet, FTP, SMTP,etc. other apps TFTP, BOOTP, DNS, etc. TCP UDP ICMP IP IGMP ARP LAN/WAN RARP media

IP packet format IP packet format 0 34 78 10 15 16 31 vers. HLEN pre. TOS total length identification flags fragment offset TTL protocol header checksum source IP address destination IP address options, (if any) DATA

IP packet - explanation 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 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 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 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 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 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.

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

IP routing : in routers 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)

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

IP routing tables IP routing tables series of entries which contain destination - IP address of distant location (either network or host) gateway(router) - IP address of router to send the packet to flags - 5 of these which give additional info refcnt - number of active uses use - number of packets sent this route interface - the outgoing interface for this route; (e.g., ethernet, a direct link, etc. )

IP routing tables IP routing tables IP routing table flags (5) U route is up G route is to a gateway H route is to a host D created by a redirect (see ICMP) M modified by a redirect

ICMP : internet control message ICMP : internet control message protocol required & essential companion protocol to IP sends error messages to report problems on internets, such as destination unreachable time exceeded parameter problem source quench redirect