'Subnetting
'Subnetting
Session Type: Seminar Language: Urdu & English Session Duration: 2 Hours BSC (Hons) Computer Sciences MCSE, RHCT, CCNA, CCNP, MPLS
http://www.raeeskhan.info [email protected]
AGENDA
Defining Subnetting
Subnetting Process
Subnetting Pre-requisite
IP Addressing Basics
What is Internet Protocol (IP). IP usage and it characteristics. IP Address Format: Dotted Decimal Notation. IP Address Classes: Identification of class of an IP address. IP Address Ranges for Class A, B , and C. Private Addresses and Public Addresses. Finding the Network address, Broadcast address, valid range of IPs. Understanding masks and how to use them.
IP Addressing Table
AGENDA
What is Subnetting and why do we do it. Getting acquainted with CIDR notation. Writing Subnet Mask.
Learn Subnetting
Finding Network Addresses Finding Broadcast Addresses Finding Valid ranges of IPs .
Defining Subnetting
Subnetting is the concept of dividing the network into smaller portions called subnets.
This is done by borrowing bits from the host portion of the IP address, enabling more efficient use of the network address.
Why Subnetting ?
Subnetting lets you by taking one large and breaking it up manageable broadcast
Efficient use of Network addresses by dividing a network into sub-networks. Restrict Broadcast traffic (Vlans)
Simplified Administration
CIDR Notation
The method that ISPs (Internet Service Providers) use to allocate an amount of addresses to a company, a home. Example : 192.168.10.32/28
The slash notation (/) means how many bits are turned on (1s) The value after slash represents network bits.
CIDR Notation
In CIDR notation, the block granted is defined by the first address and the prefix length.
Also known as Prefix Notation OR Slash Notation
32
0 0 0
16
0 0 0 0
8
0 0 0 0 0
4
0 0 0 0 0 0
2
0 0 0 0 0 0 0
1
0 0 0 0 0 0 0
SUM
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1
1 1 1 1
1 1 1
1 1
VALUE
0
OCTET
2nd
3rd
4th
16
24
17
25
18
26
19
27
20
28
21
29
22
30
23
31
255.248.0.0 255.252.0.0
255.254.0.0 255.255.0.0 255.255.128.0 255.255.192.0 255.255.224.0 255.255.240.0 255.255.248.0
/13 /14
/15 /16 /17 /18 /19 /20 /21
255.255.255.224 255.255.255.240
255.255.255.248 255.255.255.252 255.255.255.254 255.255.255.255
/27 /28
/29 /30 /31 /32
A Default/Subnet mask defines which portion of the address is used to identify the network and which denotes the hosts.
Subnetting Example
Subnetting Example
Draw a line after 24 bits because they cant be changed. Make the combinations with subnetting bits.
192 11000000 . . 168 . 1 . 0 1 0 0000000
10101000 .
00000001 .
. 10101000 . . 10101000 .
00000001 . 0 00000001 . 1
Subnetting Example
Converting binary into decimal and writing custom subnet mask.
The two subnets are
192
192
.
.
168
168
.
.
1
1
.
.
0
128
/25
/25
For the first subnet 192.168.1.0/25 The Net ID is 192.168.1.0 The Valid range of IPs is 192.168.1.1 192.168.1.126 The Broadcast ID is 192.168.1.127 For the Second subnet 192.168.1.128/25 The Net ID is 192.168.1.128 The Valid range of IPs is 192.168.1.129 192.168.1.254 The Broadcast ID is 192.168.1.255
Question 1
Subnet Mask or Custom subnet mask tells us that how many bits are used for Subnet ID portion and how many for host ID portion. Identify how many bits are used for subnetting in the following IP address using its subnet mask:
1.IP 2.IP 3.IP 4.IP 5.IP Address: Address: Address: Address: Address: 139.65.225.4 139.65.225.4 201.35.20.18 201.35.20.18 190.47.115.6 Subnet Subnet Subnet Subnet Subnet Mask: Mask: Mask: Mask: Mask: 255.255.224.0 255.255.248.0 255.255.255.128 255.255.255.240 255.255.128.0
Question 2
Network bits Host bits Subnet bits Subnets Hosts per Subnet
For
8.1.4.5/16
130.2.140.100/24 198.190.100.61/26
Question 3
Suppose you have a class B Network 172.121.0.0. Your task is to design a subnet scheme so that we can create 64 Network segments (subnets) within this Network.
1. 2. 3. 4. How many bits would you use for the subnet ID? How many bits would you use for the Host ID? How many maximum possible subnets will be there? How many maximum possible hosts will be there in each subnet? 5. Write down the Subnet Mask of your scheme. 6. Write down the first valid IP address, last valid IP address and the broadcast address of the Third subnet of your scheme.
Any Question ?