1 Figure 3-5: IP Packet Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP,

Slides:



Advertisements
Similar presentations
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Advertisements

Introduction1-1 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Module A.  This is a module that some teachers will cover while others will not  This module is a refresher on networking concepts, which are important.
Network Layer Packet Forwarding IS250 Spring 2010
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if.
Chapter 3 Review of Protocols And Packet Formats
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
1 Internet Control Message Protocol (ICMP) RIZWAN REHMAN CCS, DU.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
1 Standards Chapter 2 Copyright 2003 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 4 th edition.
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
Internet Control Message Protocol ICMP. ICMP has two major purposes: –To report erroneous conditions –To diagnose network problems ICMP has two major.
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.
Internet Protocol (IP)
Layered Communication Layers work together Encapsulation and Deencapsulation.
1 Standards Chapter 2 (Revised August 2002) Copyright 2003 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 4 th edition.
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
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.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Internet 1) Internet basic concepts 2) The IP protocol stack 3) The IP datagram header (IPv4 and IPv6) 4) Addressing and routing 5) Example: downloading.
Internet Protocol Formats. IP (V4) Packet byte 0 byte1 byte 2 byte 3 data... – up to 65 K including heading info Version IHL Serv. Type Total Length Identifcation.
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”
TCP/IP Networking (2:1) Joy Kuri, Haresh Dagale, T.V.Prabhakar.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
1 Figure 3-13: Internet Protocol (IP) IP Addresses and Security  IP address spoofing: Sending a message with a false IP address (Figure 3-17)  Gives.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Point-to-Point Protocol
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Multiplexing.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Internet Control Message Protocol (ICMP)
Review of TCP/IP Internetworking
TCP/IP Internetworking
Standards Basics.
TCP/IP Internetworking
Network Layer 3 Network OSI Model Application Presentation Session
Review of TCP/IP Internetworking
Encapsulation/Decapsulation
Net431:advanced net services
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Protocol (IP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
What does this packet do?
Net 323 D: Networks Protocols
CSE 313 Data Communication
Layered Standards Architectures
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
Network Architecture Models: Layered Communications
ITIS 6167/8167: Network and Information Security
NET 323D: Networks Protocols
32 bit destination IP address
Presentation transcript:

1 Figure 3-5: IP Packet Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP, 6=TCP, 17=TCP Bit 0Bit 31 IP Version 4 Packet Source IP Address (32 bits) Fragment Offset (13 bits) Diff-Serv (8 bits) Header Length (4 bits) Version (4 bits) Destination IP Address (32 bits) Options (if any)Padding Data Field 0100

2 Figure 3-5: IP Packet Version  Has value of four (0100) Time to Live (TTL)  Prevents the endless circulation of mis-addressed packets  Value is set by sender  Decremented by one by each router along the way  If reaches zero, router throws packet away

3 Figure 3-5: IP Packet Protocol Field  Identifies contents of data field  1 = ICMP  6 = TCP  17 =UDP IP Header Protocol=1 IP Data Field ICMP Message IP Header Protocol=6 IP Data Field TCP Segment IP Header Protocol=17 IP Data Field UDP Datagram

4 Figure 3-5: IP Packet Header checksum to check for errors in the header only  Faster than checking the whole packet  Stops bad headers from causing problems  IP Version 6 drops eve this checking Address Fields  32 bits long, of course Options field(s) give optional parameters Data field contains the payload of the packet.

5 Figure 3-9: Layer Cooperation Through Encapsulation on the Source Host Application Process HTTP Message Transport Process HTTP Message TCP Hdr Internet Process HTTP Message TCP Hdr IP Hdr Encapsulation of HTTP message in data field of a TCP segment Encapsulation of TCP segment in data field of an IP packet

6 Figure 3-9: Layer Cooperation Through Encapsulation on the Source Host Internet Process Data Link Process Physical Process Encapsulation of IP packet in data field of a frame HTTP Message TCP Hdr IP Hdr HTTP Message TCP Hdr IP Hdr DL Hdr DL Trlr Converts Bits of Frame into Signals

7 Figure 3-9: Layer Cooperation Through Encapsulation on the Source Host DL Trlr Note: The following is the final frame for supervisory TCP segments: TCP Hdr IP Hdr DL Hdr

8 Figure 3-10: Layer Cooperation Through Decapsulation on the Destination Host Application Process HTTP Message Transport Process HTTP Message TCP Hdr Internet Process HTTP Message TCP Hdr IP Hdr Decapsulation of HTTP message from data field of a TCP segment Decapsulation of TCP segment from data field of an IP packet

9 Figure 3-10: Layer Cooperation Through Decapsulation on the Destination Host Internet Process Data Link Process Data Link Process Decapsulation of IP packet from data field of a frame HTTP Message TCP Hdr IP Hdr HTTP Message TCP Hdr IP Hdr DL Hdr DL Hdr Converts Signals into the Bits of the Frame

10 Figure 3-11: Vertical Communication on Router R1 Port 1 DL Port 2 DL Port 3 DL Port 4 DL PHY Internet Layer Process Packet Frame Router R1 Switch X2 A Decapsulation Notes: A.Router R1 receives frame from Switch X2 in Port 1. Port 1 DL process decapsulates packet. Port 1 DL process passes packet to internet process.

11 Figure 3-11: Vertical Communication on Router R1 Port 1 DL Port 2 DL Port 3 DL Port 4 DL PHY Internet Layer Process Packet Frame Router R1 Router 2 B Encapsulation B.Internet process sends packet out on Port 4. DL Process on Port 4 encapsulates packet in a PPP frame. DL process passes frame to Port 4 PHY.

12 Packet Figure 3-12: Site Connection to an ISP 2. Packet Carried in ISP Carrier Frame 4. Data Link Between Site and ISP (Difficult to Attack) Border Firewall 3. Packet Carried in Site Frame Packet 1. Frame for This Data Link Site Network 5. Normally, Only the Arriving Packet is Dangerous—Not the Frame Fields ISP Packet ISP Router Internet Backbone