Advanced IP Addressing



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

VLSM and CIDR Malin Bornhager Halmstad University

IP Addressing A Simplified Tutorial

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

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

Classful IP Addressing (cont.)

Chapter 19 Network Layer: Logical Addressing 19.1

Internet Protocol Address

IP Subnetting and Addressing

TCP/IP Basis. OSI Model

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. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

Subnetting IPv4 and IPv6

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

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

We Are HERE! Subne\ng

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

Internet Addresses (You should read Chapter 4 in Forouzan)

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

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

ICS 351: Today's plan

IP Addressing and Subnetting, Including IPv6

8.2 The Internet Protocol

Tutorial (03) IP addresses & Sub netting

How To Make A Network Address Prefix Smaller

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

Internetworking and IP Address

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

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

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

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

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

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

IP Addressing Introductory material.

CCNA Tutorial Series SUBNETTING

Interconnecting Cisco Network Devices 1 Course, Class Outline

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

Chapter 3: IP Addressing and VLSM

CIDR: Classless Interdomain Routing

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

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

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

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

PART IV. Network Layer

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.

The Subnet Training Guide

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

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

OSPF Configuring Multi-Area OSPF

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

ISOM3380 Advanced Network Management. Spring Course Description

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

Subnetting/Supernetting and Classless Addressing

Savera Tanwir. Internet Protocol

CONFIGURING TCP/IP ADDRESSING AND SECURITY

Future Internet Technologies

Number of bits needed to address hosts 8

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

IP Addressing. IP Addresses. Introductory material.

Router and Routing Basics

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

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

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

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

Address Scheme Planning for an ISP backbone Network

Internetworking and Internet-1. Global Addresses

How To Learn Cisco Cisco Ios And Cisco Vlan

Type of addressing in IPv4

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

Internet Protocol version 4 Part I

"Charting the Course...

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

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

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

(Refer Slide Time: 02:17)

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

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting

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

Packet Tracer 3 Lab VLSM 2 Solution

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

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

Lecture Computer Networks

Introduction to IP v6

Lab#2: IP Addressing and Subnetting

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Network layer: Overview. Network layer functions IP Routing and forwarding

AS/400e. TCP/IP routing and workload balancing

Understanding IP Addressing: Everything You Ever Wanted To Know

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

Variable length subnetting

Advanced Internetworking

Lab a Basic Subnetting

iseries TCP/IP routing and workload balancing

Interconnecting Cisco Networking Devices Part 2

Networking TCP/IP routing and workload balancing

IP Subnetting. Subnetting

CLASSLESS INTER DOMAIN ROUTING - CIDR

Transcription:

Advanced IP Addressing CS-765 A Aspects Of Systems Administration Spring-2005 Instructure: Jan Schauman Stevens Institute Of Technology, NJ. Prepared By: Modh, Jay A. M.S. NIS SID: 999-14-0352 Date: 05/02/2005 1

Objective Advanced IP Address Management: Subnetting Fixed-length subnet masking(flsm) Variable-length subnet masking (VLSM) Classless interdomain routing (CIDR) Route summarization (Supernatting) IP Unnumbered 2

IP Addresses IP Address consists of 4 binary octets. Total length of IPv4 Address is 32-bits. There are Five classes of IP Addresses: Class A First bit of first octet Starts with 0 0000 0000-0111 1111 0-127 (decimal) Class B First 2 bits of first octet starts with 10 1000 0000-1011 1111 128-191(decimal) Class C First 3 bits of first octet starts with 110 1100 0000-1101 1111 192-223(decimal) Class D First 4 bits of first octet starts with 1110 1110 0000-1110 1111 224-239(decimal) Class E First 4 bits of first octet starts with 1111 1111 0000 1111 1111 239-255(decimal) 3

Network ID/Host ID Class A IP Address: First Octet Network ID : Max. possible networks : 2 8-1 = 127 Exception: 127.0.0.0 is loopback address Three Octets Host ID : Max. possible hosts : 2 24 = 16,777,214 Class B IP Address: First 2 Octet Network ID : Max. possible networks : 2 16 =16384. Two Octets Host ID : Max. possible hosts : 2 16 = 65,334. Class C IP Address: First 3 Octet Net. ID: Max. possible networks :2 24 = 16,777,214. Two Octets Host ID : Max. possible hosts : 2 8 = 128. Class D IP Address: Multicast groups. Class E IP Address: Research purposes. 4

Subnet Mask Breaking one large groups into Smaller Subnetworks. Better Logical organization of IP addresses. A subnet mask is a 32-bit number. Itacts as a counterpart to the IP address. Each bit in the mask corresponds to its counterpart bit in the IP address. Logical ANDing is applied to the address and mask. If a bit in the IP address corresponds to a 1 bit in the subnet mask, the IP address bit represents a network number. If a bit in the IP address corresponds to a 0 bit in the subnet mask, the IP address bit represents a host number. Class A: 255.0.0.0 Class B: 255.255.0.0 Class C: 255.255.255.0 Class D: - - - - - - - - - - Class E: - - - - - - - - - - 5

6 subnets : Subnet bits=2 n 2 =no. of subnets, n=3. Max. possible hosts = 2 5-2 =30 Core ISP 192.168.1.0/24 Note: 192.168.1.0/27 & 192.168.1.224/27 Can not be used n/w ID or host ID with all 0 s & 1 s can t be used on WAN FLSM 192.168.1.32/27 192.168.1.96/27 192.168.1.96/27 192.168.1.64/27 192.168.1.128/27 192.168.1.192/27 SM: 255.255.255.224(111 0 0000) 192.168.1.64/29 192.168.1.72/29 192.168.1.80/29 192.168.1.88/29 VLSM SM: 255.255.255.248(111 1 1000) 192.168.1.72/24 192.168.1.76/24 VLSM SM: 255.255.255.252(1111 1100) 6

Classless/Classful Routing Protocols Routers in a variably subnetted network to properly update each other, they must send masks in their routing updates. Without subnet information in the routing updates, routers would nothing but the address class and their own subnet mask to go on. Only routing protocols that ignore the rules of address class and use have classless prefixes work properly with VLSM. Classful routing protocols : RIPv1, IGRP, EGP, BGP3 They don t send subnet info. in updates, but only the address class. Classless routing protocols: RIPv2, EIGRP, OSPF, BGP4,IS-IS They send subnet information in updates. Supports VLSM CIDR, Supernatting etc.. 7

IP Address crisis IETF re-tooled IPv4 using following techniques: CIDR Route Aggregation Supernatting Summarization Replacement of classful addressing with a more flexible and less wasteful classless scheme. Enhanced route aggregation, also known as supernetting or summarization Supernetting, which is the combination of contiguous network addresses into a new address defined by the subnet mask 8

Route Summarization More efficient routing Reduced number of CPU cycles when recalculating a routing table or when sorting through the routing table entries to find a match Reduced router memory requirements 9

Private Addressing TCP/IP is the dominant routed protocol in the world, most network applications and operating systems offer extensive support for it. Many private networks exist alongwith public networks, so using any random IP address would result in wastage of IP address. RFC 1918 sets aside three blocks of IP addresses for private or internal use: A Class A range 10.0.0.0 to 10.255.255.255 A Class B range 172.16.0.0 to 172.31.255.255 A Class C range 192.168.0.0 to 192.168.255.255 10

NAT Network Address Translation A NAT-enabled device, such as a UNIX computer or a Cisco router, operates at the border of a stub domain. A host inside the stub domain wants to transmit to a host on the outside, it forwards the packet to the NAT-enabled device. The NAT process then looks inside the IP header and, if appropriate, replaces the inside IP address with a globally unique IP address. NAT does the following: Receives IP request. Checks the current table of network address translations. Replaces the destination address with the original inside source. 11

IP Unnumbered (For Classful Routing protocols) If the network runs Classful Routing Protocol than IPunnumbered might be the only solution to maximize the addresses. When a serial interface is configured for IPunnumbered, it does not need its own address. This is because it borrows the IP address of another interface, usually a LAN interface or loopback interface. Configuring IP unnumbered on an interface has two ground rules: The interface is both serial and connected by way of a point-to-point link. The same major network with the same mask is used to address the LAN interfaces that lend their IP address on both sides of the WAN link. 12

IPv6 IPv6 is an alternative and a solution to the IPv4 address crisis. It will not be easy for organizations deeply invested in the IPv4 scheme to migrate to a totally new architecture IPv6 covers issues such as the following (RFC1752): Address depletion Quality of service Address autoconfiguration Authentication Security Growth in Routing tables so as IP addresses 13

References http://www.cisco.com/univercd/home/home.htm http://www.cisco.com/warp/public/701/3.html CCIE Routing & Switching by Jeff Doyle. TCP/IP Networking guide, by Comer. 14