Objectives. Explain the different classes of IP addresses Configure IP addresses Subdivide an IP network

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

Internet Addresses (You should read Chapter 4 in Forouzan)

VLSM and CIDR Malin Bornhager Halmstad University

IP Addressing A Simplified Tutorial

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.

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

Advanced IP Addressing

Classful IP Addressing (cont.)


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

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

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

We Are HERE! Subne\ng

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

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

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

Lab#2: IP Addressing and Subnetting

Internet Protocol version 4 Part I

Chapter 19 Network Layer: Logical Addressing 19.1

Lab IP Addressing Overview

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

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

CCNA Tutorial Series SUBNETTING

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

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

Objectives. Upon completing this chapter, you will be able to

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

The Subnet Training Guide

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

Introduction to IP v6

Variable length subnetting

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

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

TCP/IP Basis. OSI Model

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

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

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

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.

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

8.2 The Internet Protocol

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.

Subnetting IPv4 and IPv6

Lab a Basic Subnetting

IP Addressing and Subnetting for New Users

- IPv4 Addressing and Subnetting -

IT:101 Cisco Networking Academy I Subnetting

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

IP Addressing Introductory material.

How To Make A Network Address Prefix Smaller

Chapter 3: IP Addressing and VLSM

IP Addressing. and Subnetting. Workbook Version 1.5. Student Name:

This chapter discusses the following advanced IP addressing topics: IP Address Planning Hierarchical Addressing Using Variable-Length Subnet Masks

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

Understanding IP Addressing: Everything You Ever Wanted To Know

IP Addressing. IP Addresses. Introductory material.

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

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

IP Subnetting and Addressing

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

Future Internet Technologies

Internet Protocol Address

ICS 351: Today's plan

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

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

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

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

PART IV. Network Layer

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

Type of addressing in IPv4

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37

2.3 IPv4 Address Subnetting Part 2

Activity 6.7.4: IPv4 Address Subnetting Part 2

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

Classless Subnetting Explained

IP address format: Dotted decimal notation:

Networking Test 4 Study Guide

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

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

Network layer. Assignment 3

Tutorial (03) IP addresses & Sub netting

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

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

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Internetworking and IP Address

Chapter 2 TCP/IP Networking Basics

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

Internetworking and Internet-1. Global Addresses

IP Addressing and Subnetting, Including IPv6

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

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

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

ISOM3380 Advanced Network Management. Spring Course Description

Subnetting Study Guide

3201 Computer Networks 2014/2015 Handout: Subnetting Question

Transcription:

IP Addressing

Objectives Explain the different classes of IP addresses Configure IP addresses Subdivide an IP network CCNA Guide to Cisco Networking Fundamentals, Fourth Edition 2

Objectives (continued) Discuss advanced routing concepts such as CIDR, summarization, and VLSM Convert between decimal, binary, and hexadecimal numbering systems Explain the differences between IPv4 and IPv6 CCNA Guide to Cisco Networking Fundamentals, Fourth Edition 3

IP Addressing An IP address has 32 bits divided into four octets To make the address easier to read, people use decimal numbers to represent the binary digits Example: 192.168.1.1 Dotted decimal notation When binary IP addresses are written in decimal format 4

IP Addressing (continued) 5

MAC to IP Address Comparison MAC address Identifies a specific NIC in a computer on a network Each MAC address is unique TCP/IP networks can use MAC addresses in communication Network devices cannot efficiently route traffic using MAC addresses because they: Are not grouped logically Cannot be modified Do not give information about physical or logical network configuration 6

MAC to IP Address Comparison IP addressing (continued) Devised for use on large networks IP addresses have a hierarchical structure and do provide logical groupings IP address identifies both a network and a host 7

IP Classes Internet Assigned Numbers Authority (IANA) Devised the hierarchical IP addressing structure American Registry of Internet Numbers (ARIN) Manages IP addresses in the United States Internet Corporation for Assigned Names and Numbers (ICANN) A global, government-independent entity with overall responsibility for the Internet ICANN has effectively replaced IANA 8

Class A IP Classes (continued) Reserved for governments and large corporations throughout the world Each Class A address supports 16,777,214 hosts Class B Addresses are assigned to large- and medium-sized companies Each Class B address supports 65,534 hosts 9

IP Classes (continued) 10

Class C IP Classes (continued) Addresses are assigned to groups that do not meet the qualifications to obtain Class A or B addresses Each Class C address supports 254 hosts Class D Addresses (also known as multicast addresses) are reserved for multicasting Multicasting is the sending of a stream of data (usually audio and video) to multiple computers simultaneously 11

IP Classes (continued) 12

IP Classes (continued) Class E Addresses are reserved for research, testing, and experimentation The Class E range starts where Class D leaves off Private IP ranges Many companies use private IP addresses for their internal networks Will not be routable on the Internet Gateway devices have network interface connections to the internal network and the Internet Route packets between them 13

IP Classes (Class E) 14

Network Addressing IP addresses identify both the network and the host The division between the two is not specific to a certain number of octets Subnet mask Indicates how much of the IP address represents the network or subnet Standard (default) subnet masks: Class A subnet mask is 255.0.0.0 Class B subnet mask is 255.255.0.0 Class C subnet mask is 255.255.255.0 15

Network Addressing (continued) TCP/IP hosts use the combination of the IP address and the subnet mask To determine if other addresses are local or remote The binary AND operation is used to perform the calculation Subnetting Manipulation of the subnet mask to get more network numbers 16

17

Network Addressing (continued) Subnet address Network is identified by the first, or first few, octets A TCP/IP host must have a nonzero host identifier Broadcast address When the entire host portion of an IP address is all binary ones Examples: 190.55.255.255 and 199.192.65.63 18

Network Addressing (continued) 19

Broadcast Types Flooded broadcasts Broadcasts for any subnet Use use the IP address 255.255.255.255 A router does not propagate flooded broadcasts because they are considered local Directed broadcasts are for a specific subnet Routers can forward directed broadcasts For example, a packet sent to the Class B address 129.30.255.255 would be a broadcast for network 129.30.0.0 20

Subdividing IP Classes Reasons for subnetting To match the physical layout of the organization To match the administrative structure of the organization To plan for future growth To reduce network traffic 21

Subdividing IP Classes (continued) 22

Subnet Masking When network administrators create subnets They borrow bits from the original host field to make a set of subnetworks The number of borrowed bits determines how many subnetworks and hosts will be available Class C addresses also can be subdivided Not as many options or available masks exist because only the last octet can be manipulated with this class 23

24

Subnet Masking (continued) 25

Subnet Masking (continued) 26

Learning to Subnet Suppose you had a network with: Five different segments Somewhere between 15 and 20 TCP/IP hosts on each network segment You just received your Class C address from ARIN (199.1.10.0) Only one subnet mask can handle your network configuration: 255.255.255.224 This subnet mask will allow you to create eight subnetworks and to place up to 30 hosts per network 27

Learning to Subnet (continued) Determine the subnet identifiers (IP addresses) Write the last masking octet as a binary number Determine the binary place of the last masking digit Calculate the subnets Begin with the major network number (subnet zero) and increment by 32 Stop counting when you reach the value of the mask Determine the valid ranges for your hosts on each subnet Take the ranges between each subnet identifier Remove the broadcast address for each subnet 28

Learning to Subnet (continued) 29

Learning to Subnet (continued) 30

Learning to Subnet (continued) 31

Subnetting Formulas Consider memorizing the following two formulas: 2 y = # of usable subnets (where y is the number of bits borrowed) 2 x 2 = # of usable hosts per subnet (where x is the number of bits remaining in the host field after borrowing) 32

Subnetting Formulas (continued) 33

Subnetting Formulas (continued) 34

CIDR Classless Inter-Domain Routing (CIDR) Developed to slow the exhaustion of IP addresses Based on assigning IP addresses on criteria other than octet boundaries CIDR addressing method allows the use of a prefix to designate the number of network bits in the mask Example: 200.16.1.48 /25 (CIDR notation) The first 25 bits in the mask are network bits (1s) The prefix can be longer than the default subnet mask (subnetting) or it can be shorter than the default mask (supernetting) 35

Summarization Summarization Also know as route aggregation or supernetting Allows many IP subnets to be advertised as one Reduces the number of entries in the router s routing table Summarize a group of subnets Count the number of bits that are common to all of the networks you want to advertise Then use the prefix that identifies the number of common bits 36

Summarization (continued) 37

Variable Length Subnet Masks Variable length subnet masking (VLSM) Allows different masks on the subnets Essentially done by subnetting the subnets Basic routing protocols such as RIP version 1 and IGRP Do not support VLSM because they do not carry subnet mask information in their routing table updates Are classful routing protocols RIP version 2, OSPF, or EIGRP are classless protocols 38

39

Variable Length Subnet Masks (continued) 40

Variable Length Subnet Masks (continued) 41

IPv4 versus IPv6 IP version 4 (IPv4) The version of IP currently deployed on most systems today IP version 6 (IPv6) Originally designed to address the eventual depletion of IPv4 addresses CIDR has slowed the exhaustion of IPv4 address space and made the move to IPv6 less urgent However, CIDR is destined to become obsolete because it is based on IPv4 42

IPv4 versus IPv6 (continued) Network address translation (NAT) Another technique developed in part to slow the depletion of IPv4 addresses Allows a single IP address to provide connectivity for many hosts NAT is CPU intensive and expensive Some protocols do not work well with NAT, such as the IP Security Protocol (IPSec) IPv4 does not provide security in itself Has led to security issues with DNS and ARP 43

IPv4 versus IPv6 (continued) Security concerns were factored into the design of IPv6 IPv4 networks rely on broadcasting Inefficient because many hosts unnecessarily see and partially process traffic not ultimately destined for them IPv6 does away completely with broadcasting and replaces it with multicasting IPv6 addresses are 128 bits compared with IPv4 s 32-bit structure 44

IPv4 versus IPv6 (continued) IPv6 addresses are expressed as hexadecimal numbers Example: 3FFE:0501:0008:0000:0260:97FF:FE40:EFAB IPv6 can be subnetted CIDR notation is also used with IPv6 Example: 2001:702:21:: /48 Organizations requesting an IPv6 address may be assigned a /64 prefix Minimum subnet with space for over a billion hosts 45

Transitioning to IPv6 Dual stack Involves enabling IPv6 on all routers, switches, and end nodes but not disabling IPv4 Both version 4 and version 6 stacks run at the same time Tunneling Encapsulates IPv6 traffic inside IPv4 packets Done when portions of a network are running IPv6 and other network areas have not been upgraded yet Greatest concern: security 46