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.

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

Chapter 19 Network Layer: Logical Addressing Stephen Kim.
IP Subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Semester 1, Chapter 10 (Supplement) Creating Subnets or How to Have Fun Without Knowing It!
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
IP Addressing – Dotted-Decimal Notation –An IP address is 32 bits in size –Every IP address is grouped into four 8-bit octets –Octets are separated by.
Internet Architecture Two computers, anywhere in the world, following certain hardware, software, protocol specifications, can communicate, reliably even.
Data Communication and Networking
IP Addressing and Subnetting
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
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.
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.
NETWORK LAYER IP Addressing 1. ANNOUNCEMENT: Rescheduled  NO PRACTICAL SESSIONS ON TUESDAY 22, November 2010  Rescheduled sessions: MONDAY: November.
How to ? Subnetting. Scenario How Many Networks? 2 How Many Network addresses are required? 2 Addresses Used: subnet mask
Page 1 - © Richard L. Goldman IP Address ©Richard L. Goldman January 10, 2002.
IP Addressing & Classes
IPv4 Addresssing An IP address is four bytes (octets). Each contains eight bits (total of 32 bits in length). IP addresses are given as dotted decimal.
IP Addressing INTW What is an IP address? An unique identifier for a computer or device (host) on a TCP/IP network A 32-bit binary number usually.
Types of Addresses in IPv4 Network Range
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
30/11/ Q & A on Networking. Question No. 1 What is Networking? Two or more computers that are linked in order to share – Resources (such as printers.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
IP Addressing & Subnetting
Network Addressing. Internet Protocol Address An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
Internet Protocol CLASS E
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
IP Addressing.
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
Lecture#7: Subnetting IP Networks
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
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.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
Planning the Addressing Structure
Internet Architecture
Binary Concepts By: Nathan Miller.
Classful Subnetting IPv4
Binary Lesson 4 Classful IP Addresses
Lecture#7: Subnetting IP Networks
Chapter-5 TCP/IP Suite.
IPV4.
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Chapter 2 Easy Subnetting
Ravindra Kumar Verma Mohammad Rashid Dr. Neeraj phogat RC-1237
The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.
Lec1: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Binary Lesson 5 Classful IP Addresses
IP Address.
Chapter 9: Subnetting IP Networks
IPv4 Addresses A Quick Guide.
Chapter 9: Subnetting IP Networks
כתובות IP.
IPv4 Addresses A Quick Guide.
Data Communications and Networking
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Planning the Addressing Structure
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
IP Addressing & Subnetting
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Presentation transcript:

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 to determine which subnet it belongs to NETWORK/SUBNET/HOST

How to Create Subnets

The class determines which part of the address belongs to the network and which part belongs to the host Class A NNNNNNNN.hhhhhhhh.hhhhhhhh.hhhhhhhh Class B NNNNNNNN.NNNNNNNN.hhhhhhhh.hhhhhhhh Class C NNNNNNNN.NNNNNNNN.NNNNNNNN.hhhhhhhh

IP Subnet addressing default subnet masks In Binary Form Class A Class B Class C Class A Class B Class C

Restrictions on subnets Network addresses of all 0’s in the host portion are reserved for specifying the network Network addresses of all 1’s in the host portions are reserved for the broadcast address

How an IP address Is Composed Part of the 32 Bits represents A network ID The remainder is Used to represent A host with the network

Network & Host IDs Network ID – Each network has a unique network number –Each Network connected to the Internet has to have a globally unique ID – no other Internet- connected network in the world can have the same Network ID Host ID – –Within a given network – Host IDs are used to identify hosts Hosts – any device that needs to be addressed by an IP address - computers, printers, routers, etc. –Host IDs must be unique within a given network.

How Bits Are Set Up for Each IP Address Class Note – This shows the binary values in the first 3 bits of the 3 classes: 0?? For class A 10? For class B 110 for class C

How Address Classes Affect a Network Ranges of 1st octet network ID’s A B C

“private” address – cannot be routed on the internet

IP Address Guidelines First Octet Network ID Rules –Network ID cannot be 127. –ID bits cannot be all “1”s. –ID bits cannot be all “0”s. For class B or C Network IDs –Second octet (and the third octet for class C networks) can be any number from , or to Class B: x.x or x.x are OK Class C: x or x or are all OK

IP Address Guidelines First Octet Network ID Rules –Network ID cannot be 127. –ID bits cannot be all “1”s. –ID bits cannot be all “0”s. For class B or C Network IDs –Second octet (and the third octet for class C networks) can be any number from , or to Class B: x.x or x.x are OK Class C: x or x or are all OK

Problems with default masks They only provide for a single network segment –Class C – allows for a maximum of 254 hosts on the segment –Class B – allows for a maximum of 65,534 hosts on the segment –Class C – allows for a maximum of 16,777,214 hosts on the segment –Beyond class C networks, current LAN technologies will not support anywhere near the maximum number of hosts/segment Since there is only 1 network segment: –Difficult to use different topologies in the LAN (Ethernet, FDDI, Token Ring) –Difficult to have a geographically dispersed LAN connected using a WAN technology.

Common masks Masks – / hosts – / hosts – / hosts – / hosts – /26 64 hosts – /27 32 hosts – /28 16 hosts – /29 8 hosts /30 4 hosts – /31 not usable – /32 single host –Learn or memorize them. –Or, use the addition trick in column 2

Subnetting IP Addresses Variable length subnet masks –Could subnet a class B into several chunks Network Host Network HostSubnet Subnet Mask

Problem #1: Lifetime of Address Space Example: an organization needs 500 addresses. A single class C address not enough (256 hosts). Instead a class B address is allocated. (~64K hosts) That’s overkill -a huge waste.

IPv4 Addressing Dotted Decimal Notation Dotted Decimal Notation –Four bytes (8 bits = 1 byte) per address –Each byte separated by a dot –Each byte expressed in decimal notation Example: –Dotted Decimal Notation: –Binary Notation?: –What is the minimum decimal value any byte can be assigned? –What is the maximum decimal value any byte can be assigned?