IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification

Similar documents

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

IP Addressing A Simplified Tutorial

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Subnetting Study Guide

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

TCP/IP Cheat Sheet. A Free Study Guide by Boson Software, LLC

Lab#2: IP Addressing and Subnetting

- IPv4 Addressing and Subnetting -

Lab IP Addressing Overview

Internet Addresses (You should read Chapter 4 in Forouzan)

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

TCP/IP Basis. OSI Model

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

CCNA Tutorial Series SUBNETTING

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

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

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

ICS 351: Today's plan

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

The Subnet Training Guide

Subnetting Examples. There are three types of subnetting examples I will show in this document:

Networking Test 4 Study Guide

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

IP Addressing. IP Addresses. Introductory material.

Advanced IP Addressing

Internet Protocol Address

Question Question Question EdTech 552: Lab 3 Answer Sheet

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

PART IV. Network Layer

Lab a Basic Subnetting

TCP/IP Network Essentials. Linux System Administration and IP Services

CONFIGURING TCP/IP ADDRESSING AND SECURITY

IP Addressing Introductory material.

IP Networking Primer. Presented by: Michael Leary

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

Source net: Destination net: Subnet mask: Subnet mask: Router Hub

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

IP Subnetting. Subnetting

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Introduction to IP v6

IP Subnetting and Addressing

Chapter 19 Network Layer: Logical Addressing 19.1

VLSM and CIDR Malin Bornhager Halmstad University

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management

Table of Contents. Cisco IP Addressing and Subnetting for New Users

Classful IP Addressing (cont.)

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19

Subnetting IPv4 and IPv6

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address.

Internet Protocol version 4 Part I

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

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks).

IP Subnetting for the Masses Or How a 12 year old kid can subnet the most complex network.

Table of Contents 1 IP Addressing Configuration 1-1

Lecture Computer Networks

Chapter 3: IP Addressing and VLSM

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

IP Addressing and Subnetting for New Users

Interconnecting Cisco Network Devices 1 Course, Class Outline

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

Pre-lab Preparation: 1. Read thoroughly and prepare the experiment sheet. 2. You must bring a printed copy of this experiment with you to the lab.

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

8.2 The Internet Protocol

Internetworking and IP Address

How To Make A Network Address Prefix Smaller

CCT vs. CCENT Skill Set Comparison

Seven Steps to Subnetting

We Are HERE! Subne\ng

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Interconnecting Cisco Networking Devices Part 2

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

1. How many unique network IDs are there in class A addresses? # of unique hosts?

Variable length subnetting

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

SUBNETTING SCENARIO S

2. IP Networks, IP Hosts and IP Ports

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

Type of addressing in IPv4

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

IP address format: Dotted decimal notation:

Network layer. Assignment 3

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

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

Expert Reference Series of White Papers. Basics of IP Address Subnetting

SNMP/HTTP Access Control User Manual

Classful Subnetting Explained

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Future Internet Technologies

Classless Subnetting Explained

Transcription:

IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification Wayne M. Pecena, CPBE, CBNE Texas A&M Information Technology Educational Broadcast Services

IP Networking, Part 3 - IP Address Management A webinar to help you prepare for the CBNE Certification Advertised Presentation Scope: IP Networking Fundamentals for Broadcast Engineers is an intensive instructorlead workshop focused on major IP networking topics. The goal is to equip the broadcast engineer with the knowledge and understanding of IP networking fundamentals and the ability to apply conceptual theory in a practical manner. The workshop will focus upon the principals of IP Addressing and application of best practices in the design of an IP network address plan. My Goals & Deliverables for This Afternoon: - Provide an Awareness of Major IP Networking Topics (broadcast application focused) - Provide an Understanding of IP Addressing Fundamentals - Provide a Foundation for SBE CBNT & CBNE Certification Exams - Provide Reference Material & Resources to Obtain Further Knowledge 2

A Poll? My Familiarity & Conformability with IP Addressing is: Not at All Somewhat Familiar, But I Struggle At Times Very Comfortable, I Am Here for the Free Lunch 3

IP Networking, Part 3 - IP Address Management A webinar to help you prepare for the CBNE Certification IP Address Basics (IPv4) IP Addressing Rules IP Address Classes IP Subnetting Fundamentals The IPv6 Address Practical Exercises: Reverse Engineering an IP Address Plan Developing an IP Addressing Plan 4

REVIEW - Physical & Virtual Addressing Each Host on an Ethernet Based IP Network Has: An Unique MAC Address Layer 2 Physical Address (local network segment) An Unique IP Address Layer 3 Logical Address (global routed) Simplified Representation FF:FF:FF:FF:FF:FF 00:12:3F:8D:4D:A7 172.15.1.1 172.15.2.2 DATA Trailer Destination MAC Source MAC Source IP Destination IP IP Packet Ethernet Frame 5

The IP Address: Is a Logical Address OSI Model Layer 3 Function Allows Hierarchical Network Addressing Structure Creates Boundaries Between Networks Allows Routing Packets Between Networks Must Have a Subnet Mask: Implied Explicit Address & Mask Defines: Unique Network ID Unique Host ID 6

The IP Address (IPv4) 32 Bit Address Yields 4,294,967,296 IPv4 Addresses Expressed in Decimal as (4) 8-bit Octets using Doted Decimal Notation 192.168.10.1 11000000.10101000.00001010.00000001 128 64 32 16 8 4 2 1 1 1 0 0 0 0 0 0 128 64 32 16 8 4 2 1 0 0 0 0 0 0 0 1 7

The IP Address Subnet Mask Each IP Address Must Have a Subnet Mask 32 Bit Subnet Mask Expressed in Decimal as (4) 8-bit Octets using Doted Decimal Notation 255.255.255.192 11111111.11111111.11111111.11000000 128 64 32 16 8 4 2 1 1 1 1 1 1 1 1 1 128 64 32 16 8 4 2 1 1 1 0 0 0 0 0 0 8

Purpose of the Subnet Mask Identifies the Network Portion and the Host Portion of the IP Address Classful Addressing Mask is Implied Based Upon Class Classless Addressing Mask Must Be Specified Octet 1 Octet 2 Octet 3 Octet 4 Class A NET ID HOST ID 8 Bits 24 Bits Class B NET ID 16 Bits HOST ID 16 Bits Class C NET ID 24 Bits HOST ID 8 Bits 9

Rules: The Subnet Mask: If Mask Bit =1 Identifies the Network If Mask Bit=0 Identifies the Host 192.168.10.1 255.255.255.192 11000000.10101000.00001010.00000001 Address 11111111.11111111.11111111.11000000 Mask Network Host Class Octet 1 Octet 2 Octet 3 Octet 4 A Network Host Host Host B Network Network Host Host C Network Network Network Host 10

IP Address Classes Used to Set Different Network Sizes The 1 st Octet of an IP Address Determines It s Class: Class First Octet Subnet Mask (implied) CIDR Maximum # of Networks # Host Bits # of Hosts / Network A 1-127 255.0.0.0 /8 127 24 16,777,214 B 128-191 255.255.0.0 /16 16,384 16 65,534 C 192-223 255.255.255.0 /24 2,097,152 8 254 The 1 st Octet of an IP Address Dictates the Class 11

The 1 st Octet of an IP Address Determines It s Class: If First Bit = 0 Class A If First 2 Bits = 10 Class B If First 3 Bits 110 Class C If First 4 Bits = 1110 Class D If First 4 Bits = 1111 Class E Recognize Class D & E Are Special : Class D Reserved for Multicast Class E Reserved for Experimental 12

A Quiz! What Class Are the Following IP Addresses? 169.254.0.100 Class A Class B Class C Class D 223.127.169.254 Class A Class B Class C Class E 127.10.0.10 Class A Class B Class C Class D 13

The Network & Broadcast Addresses These Addresses Cannot Be Assigned to a Host! Network (subnet) Address ALL HOST BITS = 0 Broadcast Address ALL HOST BITS = 1 0 0 0 0 0 0 0 0 Network Example: 192.168.1.0 /24 Broadcast Example: 192.168.1.255 /24 1 1 1 1 1 1 1 1 14

Private vs Public IP Addresses RFC 1918 Established Private Address Space Class A: 10.0.0.0 to 10.255.255.255 /8 Class B: 172.16.0.0 to 172.31.255.255 /16 Class C: 192.168.0.0 to 192.168.255.255 /24 Key Points: Private IP Addresses Are NOT Routable Outside the Local Network or to the Internet Widely Used in Home & Industry Networks May Be Translated With NAT At An Edge Router Map Private Address Space to Public Address Space 15

CIDR RFC 1517, 1518, 1519, 1520 Classless Inter-Domain Routing (CIDR) Simplified Approach to Stating the Subnet Mask / Notation (slanted notation) Utilized = # Bits That Are 1 Mask: 255.255.255.240 Expressed in Binary: 11111111.11111111.11111111.11110000 24 Bits Mask (CIDR): /28 16

IP Address & Subnet Mask Formats Classful Addressing: 165.95.240.136 (Implied Mask 255.255.0.0) VLSM Addressing: 165.95.240.136 255.255.255.192 CIDR Notation : 165.95.240.136 /26 Implied Mask Of a Class B Network Explicit Mask Must Be Stated Mask Stated as Number of Subnet Bits 17

Special Use IP Addresses RFC 5735 0.0.0.0/8 Network Address Wire Address 10.0.0.0/8 Private IP Address Space (RFC 1918) 127.0.0.0/8 Loopback Address 169.254.0.0/16 IETF Zero Configuration Address Space (RFC 3927) 172.16.0.0/16 Private IP Address Space (RFC 1918) 192.168.0.0/16 Private IP Address Space (RFC 1918) 224.0.0.0/4 Multicast Address Space 255.255.255.255/32 Broadcast Address And more special use cases..yields a little over 3.7m Useable IPv4 Addresses (3,706,650,624 out of 4,294,967,296 possible IPv4 addresses or 86%) 18

What is Special About 127.0.0.1? IP Address Trivia Actually Any 127.0.0.0/8 Address Works OR the Range of 127.0.0.1 to 127.255.255.255 Known as a Loop-Back Address Useful For: Test Local IP Stack and Network Adapter Test 19

IP Address Subnetting What is a Subnet? Logical Subdivision of a Larger Network Creates New Networks From A Larger Network Bits Are Stolen From the Host Portion Each Newer Network Created Has Less Hosts 2 n -2 New Networks Created where n=number of host bits stolen Why Do We Subnet? Efficient Use of IP Address Space ( Right Size the Network) Increase Performance (smaller Broadcast domain) Enhance Routing Efficiency (reduce Routing Table size) Network Management Policy and Segmentation (function, ownership, geo location) Job Security for Network Engineers! 20

Subnetting Simply Moves the Boundary between the Network and Host Moves Boundary to the Right Boundary Position Determined by the Subnet Netmask Provided IP Address Space: 200.25.0.0/16 Represents 4,096 IP Addresses Or 256 /24 Class C Blocks Provided IP Address Space: 200.25.0.0/16 Represents 4,096 IP Addresses 200.25.31.0/24 200.25.30.0/24 15 200.25.29.0/24 14 13 16 1 200.25.16.0/24 200.25.17.0/24 2 200.25.18.0/24 3 4 200.25.28.0/23 200.25.30.0/23 C D 12 5 A 200.25.16.0/21 11 10 9 8 7 6 200.25.24.0/22 B 200.25.24.0/24 200.25.23.0/24 21

Subnetting Basics Identifies the Boundary Between Network and Hosts Subnetting Simply Moves the Boundary! Moves Boundary to the Right IP Address Subnetting Applies to All Classes Boundary Position Determined by the Subnet Netmask Expressed in Several Forms: Doted Decimal Notation (same as IP address) Slash Notation (also known as CIDR notation) IP Address 165.95.240.100 with Netmask of 255.255.255.0 OR 165.95.240.100 /24 22

Required Host IP Configuration Information IP Address Address Mask Gateway Address DNS Server Address(s) Where Do We Get This Information? 23

24

Network Questions to Answer How Many Subnets Are Available? How May Hosts per Subnet Are Available? What Are the Subnets? What is the Broadcast Address of Each Subnet? What Are the Valid Hosts in Each Subnet? 25

What Must Be Known About a Network? IP Address and Mask Provides: First Network Address First Network Address Assignable to a Host Last Network Address Assignable to a Host Broadcast Address 192.168.1.0 /24 Provides: 254 useable IP addresses Mask: 255.255.255.0 Network Address (Wire Address) 192.168.1.0 First Network Address Assignable to a Host 192.168.1.1 Last Network Address Assignable to a Host 192.168.1.254 Broadcast Address 192.168.1.255 26

Subnet Calculation Examples 192.168.1.0 /20 Provides: 4094 useable IP addresses Mask: 255.255.240.0 Network Address (Wire Address) 192.168.0.0 First Network Address Assignable to a Host 192.168.0.1 Last Network Address Assignable to a Host 192.168.15.254 Broadcast Address 192.168.15.255 192.168.1.0 /28 Provides: 14 useable IP addresses Mask: 255.255.255.240 Network Address (Wire Address) 192.168.1.0 First Network Address Assignable to a Host 192.168.1.1 Last Network Address Assignable to a Host 192.168.1.14 Broadcast Address 192.168.1.15 27

An Exercise? Is 204.56.198.31 mask 255.255.255.224 a Valid Host IP Address? Yes No It Depends 28

Lets See! 204.56.198.31 mask 255.255.255.224 1. Convert Mask to Binary 255.255.255.224: 11111111.11111111.11111111.11100000 2. Convert Mask to Inverse Mask: 11111111.11111111.11111111.11111111 subtract from all 1's 11111111.11111111.11111111.11100000 00000000.00000000.00000000.00011111 3. AND IP Address & Mask: 204.56.198.31 00100100.00111000.11000110.00001111 255.255.255.224 11111111.11111111.11111111.11100000 00100100.00111000.11000110.00000000 Yields the Network Address: 204.56.198.0 4. OR Inverse Mask to Network Address: 00100100.00111000.11000110.00000000 00000000.00000000.00000000.00011111 00100100.00111000.11000110.00011111 Yields the Broadcast Address: 204.56.198.31 5. Thus: Network: 204.56.198.0 1 st Host: 204.56.198.1 Last Host: 204.56.198.30 Broadcast: 204.56.198.31 The Answer Is NO 204.56.198.31 is Not a Valid Host Address (It s the Broadcast Address) 29

IPv6 Address Space IETF - RFC 2460 IPv6 Provides Expanded IP Address Space 2 128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 (three hundred forty UNDECILLION addresses) 3.4 x 10 38 But, IPv6 is More Than Expanded Address Space: An Opportunity to Re-Engineer IPv4 Improved Support for Multicasting, Security, & Mobile Aps Multiple Addresses per Interface Host Auto-Configuration Capability Security Incorporated MTU Discovery Incorporated Traffic Engineering Provisions Incorporate

The IPv6 Address 128-Bit Address Binary Format: 001001100000011110111000000000001111101010100000000000110010000110010101100110001000011110111100010010000010100011110001 Subdivide Into Eight (8) 16-bit Groups: 0010011000000111 1011100000000000 0000111110101010 0000000000000011 0010000110010101 1001100010000111 1011110001001000 0010100011110001 Convert Each 16-bit Group to Hexadecimal: (separate with a colon) 2607:b800:0faa:0003:2195:9887:bc48:28f1 2607:b800:faa:3:2195:9887:bc48:28f1

Address Summarization 128-Bit Address Represented as a 32 Hexadecimal Digits Subdivided Into Eight Groups (Chunks, Quads, Quartets) of Four Hexadecimal Digits (separated by colon) 2001:0000:0000:0000:0DB8:8000:200C:417A or 2001:0:0:0:DB8:8000:200C:417A or 2001::DB8:8000:200C:417A

Address Summarization 128-Bit Address Represented as a 32 Hexadecimal Digits Subdivided Into Eight Groups (Chunks, Quads, Quartets) of Four Hexadecimal Digits (separated by colon) 2001:0000:0000:0000:0DB8:8000:200C:417A or 2001:0:0:0:DB8:8000:200C:417A or 2001::DB8:8000:200C:417A 33 33

An Ipv6 Address You Can Remember The IPv6 Loopback Address ::1 Summarized from: 0:0:0:0:0:0:0:1

IP Addressing Reverse Engineering A Useful Troubleshooting Tool Verifying Proper Subnet Configuration When Given an IP Address and Subnet Mask Determine Subnet Address Range Determine Assignable IP Addresses Determine Broadcast Address Subnetting When Given A Network Requirement Subnetting When Given A Host Requirement You Are Provided: IP Address / IP Mask 35

IP Address Subnetting Charts 36

Subnet Calculation Tools 37

Hints for Subnetting VLSM Mask 128 192 224 240 248 252 254 255 128 64 32 16 8 4 2 1 Block Size /25 /27 /28 /29 /30 /31 /32 CIDR /26 4 th Octect Remember George Boole AND 0 0 0 0 1 0 1 0 0 1 1 1 OR 0 0 0 0 1 1 1 0 1 1 1 1 38

Practical Exercise Reverse Engineering an IP Address Plan Refer to Exercise Handout 39

40

Practical Exercise #2 Developing an IP Addressing Plan Refer to Exercise Handout 41

64 32 32 42

Subnet Number: Subnet Mask: First IP Address: Broadcast IP Address: Last IP Address: 192.168.100.0 255.255.255.192 192.168.100.1 192.168.100.63 192.168.100.62 Subnet Number: Subnet Mask: First IP Address: Broadcast IP Address: Last IP Address: 192.168.100.64 255.255.255.224 192.168.100.65 192.168.100.95 192.168.100.94 Subnet Number: Subnet Mask: First IP Address: Broadcast IP Address: Last IP Address: 192.168.100.96 255.255.255.224 192.168.100.97 192.168.100.127 192.168.100.126 What additional IP configuration information is required to configure hosts on this network? Default Gateway 43

The Calculator Approach! 44

45

Web Reference Sources: Subnet Calculation Tools: www.subnet-calculator.com www.solarwinds.com/products/freetools/free_subnet_calculator.aspx http://www.pkostov.com/wordpress/?p=66 ios App $: https://itunes.apple.com/us/app/mask-ipv4-ipv6- calculator/id329508400?mt=8 RFC Documents: www.rfc-editor.org IP Address Subnet Block Size Chart: http://img.docstoccdn.com/thumb/orig/14990233.png 46

Web Reference Sources continued. IP Subnetting Cisco Networkers Magic Box Tutorial: https://learningnetwork.cisco.com/docs/doc-5893 Cisco IP Subnetting Game: https://learningnetwork.cisco.com/docs/doc-1802 47

CBNE Recommended Study: 48

My Favorites: 49

? Questions? Thank You for Attending! Wayne M. Pecena Texas A&M University w-pecena@tamu.edu 979.845.5662 50