Help! Tell me about Computer Data!

Slides:



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

1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6. Major goals 1.support billions of hosts, even with inefficient address space allocation. 2.reduce the size of the routing tables. 3.simplify the.
4 IP Address (IPv4)  A unique 32-bit number  Identifies an interface (on a host, on a router, …)  Represented in dotted-quad notation
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
TCP/IP Christopher Zacky. lolwut Decimal Numbers.
ECE Department: University of Massachusetts, Amherst ECE 354 Lab 3: Transmitting and Receiving Ethernet Packets.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 1 Local Area Network (LAN) Technologies.
ECE Department: University of Massachusetts, Amherst ECE 354 Spring 2009 Lab 3: Transmitting and Receiving Ethernet Packets.
Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if.
Oct 19, 2004CS573: Network Protocols and Standards1 IP: Datagram and Addressing Network Protocols and Standards Autumn
Internet Protocol (IP)
CS-280 Dr. Mark L. Hornick 1 ASCII table. 2 Displaying Numbers as Text Problem: display numerical values as text Consider the numerical value 0x5A held.
Binary, Decimal and Hexadecimal Numbers Svetlin Nakov Telerik Corporation
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
Internet Protocol Internetworking Lab 1. Why Internet?
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 Network Layer.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Figure 3-27: Use of TCP and UDP Port Number Client From: :50047 To: :80 SMTP Server Port 25 Webserver.
1 Press Ctrl-A ©G Dear 2010 – Not to be sold/Free to use Converting Bits and Bytes Stage 6 - Year 11 Applied Mathematic (Preliminary General 1)
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.
Decoding an IP Header (1)
Springfield Technical Community College Center for Business and Technology.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
1 Bits, Bytes, Binary & Hex CIS TAG ▪ Byte Bit.
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.
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
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.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Chapter 22 Next Generation IP
Multiplexing.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP - The Internet Protocol
TCP/IP Concepts (Part 2)
Internet Protocol Formats
Seminar report on IPv4 & IPv6
7 Network Layer Part IV Computer Networks Tutun Juhana
Mr C Johnston ICT Teacher
IP - The Internet Protocol
TCP/IP Explored Jun Wu 11/11/2018.
Internet Protocol (IP)
Chapter 20 Network Layer: Internet Protocol
IP - The Internet Protocol
Network Layer: Logical Addressing
Chapter 20 Network Layer: Internet Protocol
What does this packet do?
Binary Lesson 8a IPv6 Addresses: Hexadecimal
Protocols 1 Key Revision Points.
Chapter 20. Network Layer: IP
Binary Lesson 8 IPv6 Addresses: Hexadecimal
IP - The Internet Protocol
Binary Lesson 4 Hexadecimal and Binary Practice
Internet Protocol Formats
Advanced Computer Networks
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
Internet Protocol (IP)
Lec 10 IP V6 3.1 Computer Networks Al-Mustansiryah University
IP - The Internet Protocol
NET 323D: Networks Protocols
Review of Internet Protocols Network Layer
Binary Lesson 7 Review of Binary and Hexadecimal
Presentation transcript:

Help! Tell me about Computer Data!

How to recognize data sizes 0100 1010 1011 1100 1101 1110 1111 0010 0x 4A BC DE F2 Byte Half word Word One Word = 32 bits = 8 hexadecimal characters One Halfword = 16 bits = 4 hexadecimal characters One Byte = 8 bits = 2 hexadecimal characters One Nibble = 4 bits = 1 hexadecimal character

IPv4 Packet Header showing bit layout Version (0-3) Hlenth (4-7) Service Type (8-15) Total Length (16-31) Datagram Identification (0-15) Flags (16-19) Fragment Offset (20-31) Time to Live Protocol Header Checksum Source IP Address Destination IP Address Type Code Checksum Identifier Sequence Number Data 0 4 8 16 17 18 19 20 31

IPv4 Packet Header: Interpreting data 4500 05dc 039c 2000 8001 902b c0a8 0004 c0a8 0005 0800 2859 0200 1c00 6162 6364 6566 6768 696a 6b6c 6d6e 6f70 7172 7374 Version (0-3) Hlenth (4-7) Service Type (8-15) Total Length (16-31) Datagram Identification (0-15) Flags (16-19) Fragment Offset (20-31) Time to Live Protocol Header Checksum Source IP Address Destination IP Address Type Code Checksum Identifier Sequence Number Data 0 4 8 16 17 18 19 20 31 4500 05dc 039c 2000 Notice that each table row is 32 bits = 1 word = 8 hexadecimal characters… Allocate the hex characters to their proper row, then to their proper field within row.

IPv4 Packet Header: Solution for first 2 rows 4500 05dc 039c 2000 8001 902b c0a8 0004 c0a8 0005 0800 2859 0200 1c00 6162 6364 6566 6768 696a 6b6c 6d6e 6f70 7172 7374 Version =4 Hlenth =5 Service Type =00 Total Length =05dc Datagram Identification (0-15) = 039c Flags =B0010 Fragment Offset (20-31) = 0000 Time to Live Protocol Header Checksum Source IP Address Destination IP Address Type Code Checksum Identifier Sequence Number Data 0 4 8 16 17 18 19 20 31 4500 05dc 039c 2000 Notice that each table row is 32 bits = 1 word = 8 hexadecimal characters… Allocate the hex characters to their proper row, then to their proper field within row.

Converting Special Fields IP Address Flags Example: 0x1a2b 3c4d 32 bits are separated: 8bits. 8bits . 8bits . 8bits 0x1a. 0x2b. 0x3c. 0x4d Convert to decimal: 0x1a=26 0x2b=43 0x3c=60 0x4d=77 IP address: 26.43.60.77 Example: 0x53 21 Convert to binary: 0101 0011 Bit 16: 0 (0101) Bit 15: 1 (0101) Bit 14: 0 (0101) Bit 13: 1 Bit 12: 0