Network Addressing Issues in 1994 94/err_con/crc.htm.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Advertisements

© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Chapter 18. IP: Internet Protocol Addresses
Based Computer Networks and Internets (Comer)
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
IP Address. History Internet Protocol (IP) technology was developed in the 1970s to support some of the first research computer networks. Today, IP has.
Data Communication and Networking
IP Addressing Internet Protocol (IP) A unique identifier for host, on an IP network 32-bit binary number, usually expressed as 4 “dotted decimal” values.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
IP Addressing. Each TCP/IP host is identified by a logical IP address. –The IP address is a network layer address –No dependence on the Data-Link layer.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
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.
Types of Addresses in IPv4 Network Range
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
4: Addressing Working At A Small-to-Medium Business or ISP.
1 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair ( NETID, HOSTID ) Addresses.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
IP Addressing Introductory material. An entire module devoted to IP addresses.
Internet Addressing. When your computer is on the Internet, anything you do requires data to be transmitted and received. For example, when you visit.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
By Dana Matcham Caruso SED 695G May 8, 2001
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
Chapter 6 VLSM and CIDR.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
Addressing the Network - IPV4 Part II
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 5 IPv4 Address.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
Network layer (Part III)
CS470 Computer Networking Protocols
IP ADDRESS An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network. An IP address is a 32 bit binary number.
Chapter 8: IP Addressing
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
Network Layer IP Address.
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Planning the Addressing Structure
IP Addresses: Classful Addressing
Binary Concepts By: Nathan Miller.
Created by : Asst. Prof. Ashish Shah, J. M
LESSON Networking Fundamentals Understand IPv4.
4.3 Network Layer Logical Addressing
Chapter-5 TCP/IP Suite.
4 Network Layer Part I Computer Networks Tutun Juhana
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
IP Addresses: Classful Addressing
Week 6: Network Protocols Part 2
Dr. John P. Abraham Professor UTPA
Data Communications and Networking
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
Planning the Addressing Structure
Planning the Addressing Structure
Dr. John P. Abraham Professor UTRGV
Layering and the TCP/IP protocol Suite
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Lecture#3-IPV4 Addressing
Presentation transcript:

Network Addressing Issues in /err_con/crc.htm

What was going on TCP/IP had pretty much become THE protocol. –TCP/IP made it easy to go global. Organizations were encouraged to get unique global addresses. –(+) Don’t have to worry about reassigning addresses when connecting outside the LAN. –(-) Addresses were handed out willy-nilly.

TCP/IP Address Classes There are 5 different address classes. –You can determine which class any IP address is in by examining the first 4 bits of the IP address. Class A addresses begin with 0xxx (1 to 126) Class B addresses begin with 10xx (128 to 190) Class C addresses begin with 110x (192 to 223) Class D addresses begin with 1110 (224 to 239) Class E addresses begin with 1111 (240 to 254)

TCP/IP Address Classes Addresses beginning with , or 127 decimal, are reserved for loopback and for internal testing on a local machine. – [You can test this: you should always be able to ping , which points to yourself] Class D addresses are reserved for multicasting. Class E addresses are reserved for future use. They should not be used for host addresses.

The Problem Class B address space was (still is) in danger of exhaustion. –More than half the Class B address space was gone. Lack of appropriate-size network numbers for mid-size organizations. –Class B gives you 65,535 hosts –Class C gives you 254 hosts A lot of Class B networks were not fully utilized.

State of the TCP/IP Addresses (1994) Over 50% of the Class B addresses gone 6% of the Class C networks assigned. Exhaustion was expected around 2008 Max number of computers: ~4.3 billion

Adding to the Problem For Internet routers to move packets across the Internet they needed to know where the networks were. The explosion of networks had created problems for routers that must keep track of all of these networks. The number of networks to keep track of was doubling roughly every months.

How Routers Functioned IP addresses are 32 bits wide and normally we see them written as four decimal numbers separated by dots. (i.e ) This address is split into a host part and a network part. –The network is normally the LAN the host lives on. Thus routers can do their job just by dealing with the network part of the address.

State of the Routers (1994) With the existing network routers were in danger of being overwhelmed. Because of design all Internet routers had to have a list of all networks, all were faced with the same problem. –The NSFnet routers were able to handle 25,000 network entries….they had 19,400 listed networks with 7,400 additional networks unlisted.

Problem Specifics The problem is this: –There are 126 usable Class A networks –There are around 32,000 usable Class B networks –There are over 2 million Class C networks

Solving the Routing Problem

Solutions – Short Term Development of new routing protocols for interdomain routing. –Basically a special set of protocols for routing between the Internet network service providers. Assign IP network numbers based on the Internet topology. –Instead of handing out IP addresses willy-nilly we now group them together.

Network Topology Instead of looking at the whole network address, a router will only look at one part. Example: We send a message to –Before we would see that it is a Class C network and the router would route it to the network. –Now the first router sends it to the 232 network router. The 232 network router sends it to the 134 network router and so on.

Solving the Address Space Problem (Short Term)

Conserving the address space A short term solution is to increase utilization of the existing network classes. –All Class B networks allow for some 65,000 hosts. –However a lot of those networks have a large number of unused hosts. By creating subnets within the existing networks can better utilize the existing system.

Creating Subnets (General Version) Since the IP address is divided into a network and host part, to subdivide a network we need to extend the network part into the host part. –This extension is called the subnet. First any subnet or hosts numbered “0” or “-1” are considered special. –Broadcast and designation of “this” host. So if we had 4 usable addresses in a subnet, 2 would automatically be lost.

Creating Subnets (Details) Remember which part of the IP address belongs to the network (N) and which part belongs to the node (n). A: NNNNNNNN.nnnnnnnn.nnnnnnn.nnnnnnn B: NNNNNNNN.NNNNNNNN.nnnnnnnn.nnnnnnnn C: NNNNNNNN.NNNNNNNN.NNNNNNNN.nnnnnnnn Example: is a Class B address so by default the Network part of the address is defined by the first two octets ( x.x) and the node (or host) part is defined by the last 2 octets (x.x ).

Creating Subnets In order to specify the network address for a given IP address, the node section is set to all "0"s. –Example: specifies the network address for When the node section is set to all "1"s, it specifies a broadcast that is sent to all hosts on the network. – specifies the example broadcast address. Note that this is true regardless of the length of the node section.

Subnet Masking To identify the network and node parts of the address you apply a subnet mask to an IP address. –The network bits are represented by the 1s in the mask, and the node bits are represented by the 0s. –Performing a bitwise logical AND operation between the IP address and the subnet mask results in the Network Address. Example using our test IP address/default Class B subnet mask: ( ) ( ) ( )

Default Subnet Masks Class A – Class B – Class C –

Creating Our Own Masks Additional bits can be added to the default subnet mask for a given Class to further subnet, or break down, a network. When a bitwise logical AND operation is performed between the subnet mask and IP address, the result defines the Subnet Address –Also called the Network Address or Network Number.

Restrictions There are some restrictions on the subnet address. –Node addresses of all "0"s and all "1"s are reserved for specifying the local network (when a host does not know it's network address) and all hosts on the network (broadcast address), respectively. –A subnet address cannot be all "0"s or all "1"s. This also implies that a 1 bit subnet mask is not allowed. –This restriction is required because older standards enforced this restriction. Recent standards that allow use of these subnets have superseded these standards, but many "legacy" devices do not support the newer standards. If you are operating in a controlled environment, such as a lab, you can safely use these restricted subnets.

Example ( ) ( ) ( ) Broadcast Address – ( ) In this example a 3 bit subnet mask was used. –There are 6 (23-2) subnets available with this size mask (remember that subnets with all 0's and all 1's are not allowed). Each subnet has 8190 (213-2) nodes. Each subnet can have nodes assigned to any address between the Subnet address and the Broadcast address. This gives a total of 49,140 nodes for the entire class B address subnetted this way. Notice that this is less than the 65,534 nodes an unsubnetted class B address would have.

Summary You can calculate the Subnet Address by performing a bitwise logical AND operation between the IP address and the subnet mask, then setting all the host bits to 0s. Similarly, you can calculate the Broadcast Address for a subnet by performing the same logical AND between the IP address and the subnet mask, then setting all the host bits to 1s. That is how these numbers are derived in the example above.

Detailed Example Say you are assigned a Class C network number of You want to utilize this network across multiple small groups within an organization. You can do this by subnetting that network with a subnet address. We will break this network into 14 subnets of 14 nodes each. This will limit us to 196 nodes on the network instead of the 254 we would have without subnetting, but gives us the advantages of traffic isolation and security. To accomplish this, we need to use a subnet mask 4 bits long. –Recall that the default Class C subnet mask is –Extending this by 4 bits yields a mask of

Detailed Example This gives us 16 possible network numbers, 2 of which cannot be used:

Combing Routing and Subnetting CIDR -- Classless InterDomain Routing. –CIDR was invented several years ago to keep the internet from running out of IP addresses. The "classful" system of allocating IP addresses can be very wasteful; anyone who could reasonably show a need for more that 254 host addresses was given a Class B address block of host addresses. Only a tiny percentage of the allocated Class A and Class B address space has ever been actually assigned to a host computer on the Internet.

Combing Routing and Subnetting People realized that addresses could be conserved if the class system was eliminated. By accurately allocating only the amount of address space that was actually needed, the address space crisis could be avoided for many years. This was first proposed in 1992 as a scheme called Supernetting. Under supernetting, the classful subnet masks are extended so that a network address and subnet mask could, for example, specify multiple Class C subnets with one address.

Example ( ) ( ) ( ) ( ) Supernetted Subnet address – ( ) Broadcast address – ( ) In this example, the subnet includes all the addresses from to

Notation Notes Under CIDR, the subnet mask notation is reduced to a simplified shorthand. Instead of spelling out the bits of the subnet mask, it is simply listed as the number of 1s bits that start the mask. Example: Instead of writing the address ( and subnet mask ( ) the network address would be written simply as: /22. –which indicates starting address of the network, and number of 1s bits (22) in the network portion of the address. If you look at the subnet mask in binary ( ), you can easily see how this notation works. –The use of a CIDR notated address is the same as for a Classful address. Classful addresses can easily be written in CIDR notation (Class A = /8, Class B = /16, and Class C = /24)

Private Subnets There are three IP network addresses reserved for private networks. The addresses are /8, /12, and /16. They can be used by anyone setting up internal IP networks, such as a lab or home LAN behind a NAT or proxy server or a router. It is always safe to use these because routers on the Internet will never forward packets coming from these addresses. These addresses are defined in RFC 1918.RFC 1918

Assigning IP Addresses It is currently almost impossible for an individual or company to be allocated their own IP address blocks. You will simply be told to get them from your ISP. The reason for this is the ever-growing size of the internet routing table. –Just 10 years ago, there were less than 5000 network routes in the entire Internet. –Today, there are over 100,000. Using CIDR, the biggest ISPs are allocated large chunks of address space (usually with a subnet mask of /19 or even smaller); the ISP's customers (often other, smaller ISPs) are then allocated networks from the big ISP's pool. –That way, all the big ISP's customers (and their customers, and so on) are accessible via 1 network route on the Internet.

Long Term Changes It is expected that CIDR will keep the Internet happily in IP addresses for the next few years at least. After that, IPv6, with 128 bit addresses, will be needed. Under IPv6, address allocation would comfortably allow a billion unique IP addresses for every person on earth! The complete and gory details of CIDR (released in September 1993) are documented in: