Binary Lesson 5 Counting. Powers of 2 One bit has 2 possible values (2^1) One bit has 2 possible values (2^1) 0 or 1 0 or 1 Two bits have 4 possible values.

Slides:



Advertisements
Similar presentations
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 26 IPv6 Addressing.
IPv6. Key Aspects Increased address space SLAAC Security Simplified router processing.
Classifying Network Addressing
Chapter 2 The Internet Address Architecture. Table 2-1. Example IPv4 addresses written in dotted-quad and binary notation Dotted-Quad RepresentationBinary.
Logical addressing Engr.Jawad Ali.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
IP addressSubnet mask AND
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
CCENT Study Guide Chapter 4 Easy Subnetting. Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) – Describe.
How to ? Subnetting. Scenario How Many Networks? 2 How Many Network addresses are required? 2 Addresses Used: subnet mask
Why create a subnet mask? Tells device which part of an address is the network # including the subnet and which part is the host Filters the node IP address.
Paging Examples Assume a page size of 1K and a 15-bit logical address space. How many pages are in the system?
Binary Lesson 5 Usable Addresses Class A, B, and C.
Binary Lesson 5.5 Usable Addresses Class A, B, and C.
Binary Lesson 6.1 Classful Subnetting 2
Lesson 2 – IP Addressing IP Address (IPv4 – Version 4) Private and Public Address Brief Introduction to IPv6 – Version 6.
Binary Lesson 10 Powers of 2. Base Ten The number 147 means The number 147 means 1 x x x x
Binary Lesson 9 Supernetting
Teaching Subnetting Sam Bowne City College San Francisco Web: samsclass.info
Easy Subnetting. Chapter 4 Objectives Topics Covered in this chapter include: Interpret network diagrams Describe the operation and benefits of using.
Binary Lesson 1 Nybbles. Base Ten Normal Numbers Normal Numbers Each place has one of these values: Each place has one of these values:
Computer Network Architecture Lecture 9: IP Addressing 13/1/
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
After 6.1. What is 69 in binary? A B C D E of 6.
Objective 1.Understand Network 2.Understand IP Addressing (IPv4 and IPv6) 3.Understand Subnetting 4.Examples 5.IP addressing and Vlan’s in TIFR 6.TIFR.
Binary Lesson 4 Hexadecimal and Binary Practice Modified for IPv6.
Boot Camp IP Addressing These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Binary Lesson 4a Hexadecimal and Binary Practice2.
Instructor & Todd Lammle
IP ADDRESSING.
Instructor & Todd Lammle
Hexadecimal Sweet Sixteen!.
Unit 18: Computational Thinking
Internet technologies
IPV4.
Chapter 26 IPv6 Addressing
Binary Lesson 1 Nybbles.
Subnetting.
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Chapter 2 Easy Subnetting
Paging Examples Assume a page size of 1K and a 15-bit logical address space. How many pages are in the system?
Lecture#5 IPV6 Addressing
Binary Lesson 5 Classful IP Addresses
Binary Lesson 1 Nybbles.
Binary Lesson 1 Nybbles.
Data Communications and Networking
Creating Subnets – Network Requirements
Binary Lesson 3 Hexadecimal
Binary Lesson 2 Bytes.
Chapter 26 IPv6 Addressing
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Binary Lesson 8a IPv6 Addresses: Hexadecimal
Binary Lesson 6 Classful Subnetting
Binary Lesson 2 Bytes.
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 2 Bytes.
Binary Lesson 6 Classful Subnetting
Binary Lesson 8 IPv6 Addresses: Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 4 Hexadecimal and Binary Practice
Chapter 2 Easy Subnetting
IPv6 Part 1.
Binary Lesson 4 Hexadecimal and Binary Practice
IP ADDRESSING.
Binary Lesson 1 Nybbles.
Binary Lesson 7 Review of Binary and Hexadecimal
Subnetting Subnetting is a method for getting the most out of the limited 32-bit IP addressing space. With any address class, subnetting provides a means.
Binary Lesson 1 Nybbles.
Presentation transcript:

Binary Lesson 5 Counting

Powers of 2 One bit has 2 possible values (2^1) One bit has 2 possible values (2^1) 0 or 1 0 or 1 Two bits have 4 possible values (2^2) Two bits have 4 possible values (2^2) Three bits have 8 values (2^3) Three bits have 8 values (2^3) Four bits have 16 values (2^4) Four bits have 16 values (2^4)

A Byte 8 bits, from to bits, from to ^8 combinations 2^8 combinations 2x2x2x2x2x2x2x2 = 256 2x2x2x2x2x2x2x2 = 256 In Hex, 00 to FF In Hex, 00 to FF 16 x 16 = x 16 = 256 2^8 = 2^4 x 2^4 2^8 = 2^4 x 2^4

A Word – 16 Bits 0000 to FFFF 0000 to FFFF 2^16 values = 65,536 2^16 values = 65,536 2^16 = 2^8 x 2^8 = 256 x 256 2^16 = 2^8 x 2^8 = 256 x 256 2^16 = 2^4 x 2^4 x 2^4 x 2^4 2^16 = 2^4 x 2^4 x 2^4 x 2^4 = 16 x 16 x 16 x 16 = 16 x 16 x 16 x 16

The Easy Way 2^10 = 1,024, written as 1 K 2^10 = 1,024, written as 1 K So 16 bits have 2^16 values So 16 bits have 2^16 values 2^16 = 2^6 x 2^10 = 2^6 K = 64 K 2^16 = 2^6 x 2^10 = 2^6 K = 64 K Approximately 64,000 Approximately 64,000

32 Bits Range of values from Range of values from 0000:0000 to FFFF:FFFF 0000:0000 to FFFF:FFFF 2^32 values 2^32 values 2^2 x 2^10 x 2^10 x 2^10 2^2 x 2^10 x 2^10 x 2^10 4 K K K = 4 K M = 4 G 4 K K K = 4 K M = 4 G Approximately 4,000,000,000 Approximately 4,000,000,000

64 Bits 0000:0000:0000:0000 to 1111:1111:1111: :0000:0000:0000 to 1111:1111:1111:1111 2^64 2^64 2^4 x 2^10 x 2^10 x 2^10 x 2^10 x 2^10 x 2^10 2^4 x 2^10 x 2^10 x 2^10 x 2^10 x 2^10 x 2^10 16 K K K K K K = 16 G G 16 K K K K K K = 16 G G Approximately Approximately 16,000,000,000,000,000,000 16,000,000,000,000,000,000

128 Bits The entire IPv6 address space, from The entire IPv6 address space, from 0000:0000:0000:0000:0000:0000:0000: :0000:0000:0000:0000:0000:0000:0000 to to ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2^128 = 2^8 x 2^120 2^128 = 2^8 x 2^120 2^8 x 2^30 x 2^30 x 2^30 x 2^30 2^8 x 2^30 x 2^30 x 2^30 x 2^ G G G G 256 G G G G Approximately Approximately 256,000,000,000,000,000,000,000,000,000,000,000, ,000,000,000,000,000,000,000,000,000,000,000,000

Slash Notation fe80::/64 means 64 bits are fixed, so 64 bits vary fe80::/64 means 64 bits are fixed, so 64 bits vary 2^64 addresses 2^64 addresses fe80::/16 means 16 bits are fixed, so 112 bits vary fe80::/16 means 16 bits are fixed, so 112 bits vary 2^112 addresses 2^112 addresses 2620:1:b::/48 means 48 bits are fixed, so 80 bits vary 2620:1:b::/48 means 48 bits are fixed, so 80 bits vary 2^80 addresses 2^80 addresses

Binary iClicker Questions

How many different nybbles are there? 1 nybble has 4 bits  2  4  16  256  65536

How many different bytes are there? 1 byte has 8 bits  16  256  65,536  16,000,000  4,000,000,000

How many different words are there? 1 word has 16 bits An approximate value is OK  256  64,000  16,000,000  4,000,000,000  1,000,000,000,000

How many addresses are in this range? ff02::/112 (An approximate answer is OK)  1  256  64,000  16,000,000  4,000,000,000

How many addresses are in this range? ff02::/96 (An approximate answer is OK)  64,000  4,000,000,000  256,000,000,000,000  16,000,000,000,000,000,000  64,000,000,000,000,000,000,000,000,000

How many addresses are in this range? 2610:1:b::/64 (An approximate answer is OK)  64,000  4,000,000,000  256,000,000,000,000  16,000,000,000,000,000,000  64,000,000,000,000,000,000,000,000,000

How many addresses are in this range? 2610:1:b::/48 (An approximate answer is OK)  64,000  4,000,000,000  256,000,000,000,000  16,000,000,000,000,000,000  64,000,000,000,000,000,000,000,000,000

How many /64 subnets are in a /48 address allocation? (An approximate answer is OK)  16  256  64,000  4,000,000,000  256,000,000,000,000