Download presentation
Presentation is loading. Please wait.
1
Chapter 2 Easy Subnetting
Instructor: Mr. Malik Zaib Alam
2
Chapter 3 Objectives The CCENT Topics Covered in this chapter include:
IP addressing (IPv4 / IPv6) Describe the operation and necessity of using private and public IP addresses for IPv4 addressing 2
3
Subnetting To break up a giant network into a bunch of smaller ones is called subnetting. Creating subnetworks is essentially the act of taking bits from the host portion of the address and reserving them to define the subnet address instead. It will result in fewer bits being available for defining your hosts. To create a subnet, fulfil these three steps: 1. Determine the number of required network IDs: - One for each LAN subnet -One for each wide area network connection 2. Determine the number of required host IDs per subnet: -One for each TCP/IP host -One for each router interface 3. Based on the above requirements, create the following: - A unique subnet mask for your entire network -A unique subnet ID for each physical segment -A range of host IDs for each subnet
4
Subnet Masks A subnet mask is a 32-bit value that allows the device that’s receiving IP packets to distinguish the network ID portion from the host ID portion of the IP address. This 32-bit subnet mask is composed of 1s and 0s, where the 1s represent the positions that refer to the network subnet addresses.
5
Power of 2
6
Decimal values in a mask and their binary equivalents
128 192 224 240 248 252 254 255
7
Classless Inter-Domain Routing (CIDR)
It’s basically the method that Internet service providers (ISPs) use to allocate a number of addresses to a companies. It uses the slash notation that represents the number of 1s in the subnet mask. /28. This is telling you what your subnet mask is. The slash notation (/) means how many bits are turned on (1s). Subnet Mask CIDR representation /8 /16 /17 /18 /19 /20 /21 /22 /23 /24
8
Subnetting Class C Addresses
In a Class C address, only 8 bits are available for defining the hosts. Remember that subnet bits start at the left and move to the right, without skipping bits. This means that the only Class C subnet masks can be the following: Binary Decimal CIDR = /24 = /25 = /26 = /27 = /28 = /29 = /30
9
Subnetting Formulas How many subnets? 2x = number of subnets. x is the number of masked bits. How many hosts per subnet? 2y – 2 = number of hosts per subnet. y is the number of unmasked bits, or the 0s. What are the valid subnets? 256 – subnet mask = block size, or increment number.
10
Subnetting class C address
1. Address: /25 Subnet Mask: No. Of subnets= , Here n is bits for subnetting which is 1, = 2 No of hosts= -2= 128-2= 126 Block Size= = 128, Subnets: 0,128 No. Network Address First IP Last IP Broadcast 1. 2.
11
Subnetting class C address
Address: /28 Subnet Mask: No. Of subnets= =16 , Bits taken for subnetting = 4 No of hosts= -2= 16-2= 14, Host bits=4 Block Size= =16 Subnets: 0, 16, 32, 48, 64, 80, 96, … No. Network Address First IP Last IP Broadcast 1. 2. 3.
12
Subnetting class C address
Address: /29 Subnet Mask: No. Of subnets= =32 , Bits taken for subnetting = 5 No of hosts= -2= 8-2= 6, Host bits=3 Block Size= =8 Subnets: 0, 8,16,24, 32, 40, 48, … No. Network Address First IP Last IP Broadcast 1. 2. 3.
13
Subnetting class C address
Address: /30 Subnet Mask: No. Of subnets= =64 , Bits taken for subnetting = 6 No of hosts= -2= 4-2= 2, Host bits=2 Block Size= =4 Subnets: 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40,…..… No. Network Address First IP Last IP Broadcast 1. 2. 3.
14
Subnetting Practice class B
Address: /17 Subnet Mask: No. Of subnets= =2 , Here n=1 , No of hosts= -2= 32,766 (7+8bits) Block Size= = 128 Subnets: 0.0, 128.0 No. Network Address First IP Last IP Broadcast 1. 2. 3.
15
Subnetting Practice class B
Address: /19 Subnet Mask: No. Of subnets= =8 , Here n=3 , No of hosts= -2= = 8,190 (5+8bits) Block Size= =32 Subnets: 0.0, 32.0,64.0,96.0, 128.0, 160.0,192.0,224.0 No. Network Address First IP Last IP Broadcast 1. 2. 3.
16
Subnetting Practice class B
Address: /24 Subnet Mask: No. Of subnets= =256 , Here n=8 , No of hosts= -2= 256-2= 254 (8bits) Block Size= =1 Subnets: 0.0, 1.0,2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, ………… No. Network Address First IP Last IP Broadcast 1. 2. 3.
17
Subnetting Practice class B
Address: /28 Subnet Mask: No. Of subnets= =4096 , Here n=12 , No of hosts= -2= 16-2= 14 (4bits) Block Size= =16 Subnets: 0.0, 0.16,0.32,0.48,0.64,0.80,0.96 ………… No. Network Address First IP Last IP Broadcast 1. 2. 3.
18
Subnetting Practice class B
Address: /30 Subnet Mask: No. Of subnets= =16384 , Here n=14 , No of hosts= -2= 4-2= 2 (2bits) Block Size= =4 Subnets: 0.0, 0.4, 0.8, 0.12, 0.16, 0.20, 0.24, ………… No. Network Address First IP Last IP Broadcast 1. 2. 3.
19
Subnetting Practice class A
Address: /10 Subnet Mask: No. Of subnets= =4 , Here n=2 , No of hosts= -2= 4,194,304 (6+8+8bits) Block Size= = 64 Subnets: 0.0.0, , , ,……… No. Network Address First IP Last IP Broadcast 1. 2. 3.
20
Subnetting Practice class A
Address: /16 Subnet Mask: No. Of subnets= =256 , Here n=8 , No of hosts= -2= = 65,534(8+8bits) Block Size= = 1 (2nd Octet) Subnets: 0.0.0, 1.0.0,2.0.0, 3.0.0, 4.0.0, ……… No. Network Address First IP Last IP Broadcast 1. 2. 3.
21
Subnetting Practice class A
Address: /24 Subnet Mask: No. Of subnets= =65,536, Here n=16 , No of hosts= -2= 256-2=254 (8bits) Block Size= = 1 (3rd Octet) Subnets: 0.0.0, 0.1.0, 0.2.0, 0.3.0, 0.4.0,…… No. Network Address First IP Last IP Broadcast 1. 2. 3.
22
Subnetting Practice class A
Address: /30 Subnet Mask: No. Of subnets= = 4,194,304 Here n=22, No of hosts= -2= 4-2=2 (2 bits) Block Size= = 4 (4th Octet) Subnets: 0.0.0, 0.0.4, 0.0.8, , ,…… No. Network Address First IP Last IP Broadcast 1. 2. 3.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.