CCENT 5 S01 E18 – Adv TCP: Working with Binary

  CCENT, Networking, Subnets, TCP/IP

Reviewing the basics of IP

IPv4 Addresses:

  • 4 Octet Address, each octet = 1 byte.
  • 32 Total Bits
  • Can be one of 3 classes, A, B or C
    • A: 001 – 126, 16,777,214 Hosts (256^3 – 2)
    • B: 128 – 191, 65,534 Hosts (256^2 – 2)
    • C: 192 – 223, 254 Hosts (256 – 2)
  • When combined with a Subnet Mask, defines the Network and Host portions
  • Operates at Layer 3 of the OSI Model (Network)

A Preview of what is to come

IPv4: 127.5.2.13

IPv6: 12AB:215C:39AA:54B6:FF6D:7890:77AA:AABC

  • Each sq. inch of Earth’s surface can be assigned 3.7 Million addresses!
  • Every 3 sq. feet of Milky Way Galaxy can have an IP.

Converting Decimal to Binary and Back

255 = 11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1

210 = 11010010 = 128 + 64 + 16 + 2

120 = 01111000 = 64 + 32 + 16 + 8

15 = 00001111 = 8 + 4 + 2 + 1

180 = 128 + 32 + 16 + 4 = 10110100

41 = 32 + 8 + 1 = 00101001

00110110 = 32 + 16 + 4 + 2 = 54

10010110 = 128 + 16 + 4 + 2 = 150

 

LEAVE A COMMENT