[go: up one dir, main page]

0% found this document useful (0 votes)
14 views16 pages

3 - IPv4 Addressing II

The document provides an overview of IPv4 addressing, focusing on Classless Inter-Domain Routing (CIDR) and subnetting for Class A, B, and C addresses. It includes examples of subnet masks, binary representations, CIDR notations, and calculations for the number of subnets and valid hosts. Additionally, it addresses specific questions regarding subnet and broadcast addresses for given IP addresses.

Uploaded by

Kaung Khant Lin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views16 pages

3 - IPv4 Addressing II

The document provides an overview of IPv4 addressing, focusing on Classless Inter-Domain Routing (CIDR) and subnetting for Class A, B, and C addresses. It includes examples of subnet masks, binary representations, CIDR notations, and calculations for the number of subnets and valid hosts. Additionally, it addresses specific questions regarding subnet and broadcast addresses for given IP addresses.

Uploaded by

Kaung Khant Lin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

IPv4 Addressing II

Classless Inter-Domain Routing (CIDR)

Subnet Class C Addresses


Subnet Mask Binary CIDR Subnet
Mask
255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
255.255.255.2 11111111.11111111.11111111. /27
24 11100000
255.255.255.2 11111111.11111111.11111111. /28
40 11110000
255.255.255.2 11111111.11111111.11111111. /29
48 11111000
1

17 Dr.Thiri Thitsar Khaing 255.255.255.2 11111111.11111111.11111111. /30Faculty of Computer Systems and
IPv4 Addressing II

Q1 Which subnet and broadcast address is the IP address


192.168.10.33/27?

192.168.10.33/27 Node address 192.168.10.33

Subnet mask /27 = 255.255.255.224

There are 8 subnets and 30 hosts per No of masked = x = /27 -/24 = 3


each subnet. bits
No of subnets = 2x = 23 = 8
No of host bits = y = /32 -/27 = 5
Valid hosts per = 2y -2= 25 -2= 30
subnet
192.168.10.0 192.168.10.32 192.168.10.64 192.168.10.96 192.168.10.128 192.168.10.160 192.168.10.192 192.168.10.224

192.168.10.1

192.168.10.31

192.168.10.31 192.168.10.63 192.168.10.95 192.168.10.127 192.168.10.159 192.168.10.191 192.168.10.223 192.168.10.225


2

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II
What are the number of subnets, hosts per subnet, valid subnets,
Q2 broadcast address for each subnet, and valid host range of
214.10.4.128/25?

214.10.4.128/25

Node address 214.10.4.128 214.10.4.0 214.10.4.128

Subnet mask /25 = 255.255.255.128 214.10.4.1 214.10.4.129

No of masked = x = /25 -/24 = 1


bitsof subnets
No = 2x = 21 = 2 214.10.4.126 214.10.4.254

No of host bits = y = /32 -/25 = 7 214.10.4.127 214.10.4.255


Valid hosts per = 2y -2= 27 -2= 126
subnet
There are 2 subnets and 126 hosts per Net-1 Net-2
each subnet.

3

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

Subnet Class B Addresses

Subnet Mask Binary CIDR Subnet


Mask
255.255.128.0 11111111.11111111.10000000.0 /17
0000000
255.255.192.0 11111111.11111111.11000000.0 /18
0000000
255.255.224.0 11111111.11111111.11100000.0 /19
0000000
255.255.240.0 11111111.11111111.11110000.0 /20
0000000
255.255.248.0 11111111.11111111.11111000.0 /21
0000000
255.255.252.0 11111111.11111111.11111100.0 /22
4
0000000

17 255.255.254.0
Dr.Thiri Thitsar Khaing 11111111.11111111.11111110.0 /23 Faculty of Computer Systems and
IPv4 Addressing II

Subnet Class B Addresses


Cont’
d

Subnet Mask Binary CIDR Subnet


Mask
255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
255.255.255.2 11111111.11111111.11111111. /27
24 11100000
255.255.255.2 11111111.11111111.11111111. /28
40 11110000
255.255.255.2 11111111.11111111.11111111. /29
48 11111000
5

17 Dr.Thiri Thitsar Khaing 255.255.255.2 11111111.11111111.11111111. /30Faculty of Computer Systems and
IPv4 Addressing II

Subnet Mask Binary CIDR Subnet


Mask
CIDR Class C 255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
255.255.255.2 11111111.11111111.11111111. /27
24 11100000
255.255.255.2 11111111.11111111.11111111. /28
40
Subnet Mask 11110000 Binary CIDR Subnet
255.255.255.2 11111111.11111111.11111111. /29 Mask
CIDR Class B 48
255.255.255.1 11111000
11111111.11111111.11111111. /25
255.255.255.2 11111111.11111111.11111111.
28 10000000 /30
52
255.255.255.1 11111100
11111111.11111111.11111111. /26
92 11000000
255.255.255.2 11111111.11111111.11111111. /27
24 11100000
6
255.255.255.2 11111111.11111111.11111111. /28

17 Dr.Thiri Thitsar Khaing 40 11110000 Faculty of Computer Systems and
IPv4 Addressing II

Q3 Which subnet and broadcast address is the IP address


172.16.10.33/27?

172.16.10.33/27 Node address 172.16.10.33

Subnet mask /27 = 255.255.255.224

There are 2048 subnets and 30 hosts per No of masked = x = /27 -/16 = 11
each subnet. bits
No of subnets = 2x = 211 = 2048
No of host bits = y = /32 -/27 = 5
Valid hosts per = 2y -2= 25 -2= 30
subnet
172.16.0.0 172.16.0.32 172.16.1.0 192.168.1.32 192.168.10.128 192.168.10.160 192.168.10.192 192.168.10.224

172.16.0.1

172.16.0.30

172.16.0.31 172.16.0.63 172.16.1.31 192.168.1.63 192.168.10.159 192.168.10.191 192.168.10.223 192.168.10.225


7

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

172.16.1.0 172.16.1.32 172.16.1.192 172.16.1.224

172.16.1.1

172.16.1.30

172.16.1.31 172.16.1.63 172.16.1.223 172.16.1.255

172.16.10.0 172.16.10.32 172.16.10.192 172.16.10.224

172.16.10.1

172.16.10.30

172.16.10.31 172.16.10.63 172.16.10.223 172.16.10.255


8

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

172.16.254.0 172.16.254.32 172.16.254.192 172.16.254.224

172.16.254.1

172.16.254.30

172.16.254.31 172.16.254.63 172.16.254.223 172.16.254.255

172.16.255.0 172.16.255.32 172.16.255.192 172.16.255.224

172.16.255.1

172.16.255.30

172.16.255.31 172.16.255.63 172.16.255.223 172.16.255.255


9

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

Q4 Which subney and broadcast address is the IP ad-


dress 172.16.50.10/19?

172.16.50.10/19

Node address 172.16.50.10

Subnet mask /19 = 255.255.224.0


No of masked = x = /19 -/16 = 3
bits
No of subnets = 2x = 23 = 8
No of host bits = y = /32 -/19 = 13
Valid hosts per = 2y -2= 213 -2= 8190
subnet
There are 8 subnets and 8190 hosts per
each subnet.

10

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

172.16.0.0 172.16.32.0 172.16.64.0 172.16.96.0 172.16.128.0 172.16.160.0 172.16.192.0 172.16.224.0

172.16.0.1

172.16.31.254

172.16.31.255 172.16.63.255 172.16.95.255 172.16.127.255 172.16.159.255 172.16.191.255 172.16.223.255 172.16.255.255

11

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and
IPv4 Addressing II

Subnet Class A Addresses

Subnet Mask Binary CIDR Subnet


Mask
255.128.0.0 11111111.10000000.00000000.0 /9
0000000
255.192.0.0 11111111.11000000.00000000.0 /10
0000000
255.224.0.0 11111111.11100000.00000000.0 /11
0000000
255.240.0.0 11111111.11110000.00000000.0 /12
0000000
255.248.0.0 11111111.11111000.00000000.0 /13
0000000
255.252.0.0 11111111.11111100.00000000.0 /14
12
0000000

17 255.254.0.0
Dr.Thiri Thitsar Khaing 11111111.11111110.00000000.0 /15 Faculty of Computer Systems and
IPv4 Addressing II

Subnet Class A Addresses


Cont’
d

Subnet Mask Binary CIDR Subnet


Mask
255.255.128.0 11111111.11111111.10000000.0 /17
0000000
255.255.192.0 11111111.11111111.11000000.0 /18
0000000
255.255.224.0 11111111.11111111.11100000.0 /19
0000000
255.255.240.0 11111111.11111111.11110000.0 /20
0000000
255.255.248.0 11111111.11111111.11111000.0 /21
0000000
255.255.252.0 11111111.11111111.11111100.0 /22
13
0000000

17 255.255.254.0
Dr.Thiri Thitsar Khaing 11111111.11111111.11111110.0 /23 Faculty of Computer Systems and
IPv4 Addressing II

Subnet Class A Addresses


Cont’
d

Subnet Mask Binary CIDR Subnet


Mask
255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
255.255.255.2 11111111.11111111.11111111. /27
24 11100000
255.255.255.2 11111111.11111111.11111111. /28
40 11110000
255.255.255.2 11111111.11111111.11111111. /29
48 11111000
14

17 Dr.Thiri Thitsar Khaing 255.255.255.2 11111111.11111111.11111111. /30Faculty of Computer Systems and
IPv4 Addressing II

Subnet Mask Binary CIDR Subnet


Mask
CIDR Class C 255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
Subnet Mask
255.255.255.2 Binary
11111111.11111111.11111111. CIDR Subnet
/27
24 11100000 Mask
CIDR Class B 255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
255.255.255.2
Subnet Mask 11111111.11111111.11111111.
Binary /27
CIDR Subnet
24 11100000 Mask
CIDR Class A 255.255.255.1 11111111.11111111.11111111. /25
28 10000000
255.255.255.1 11111111.11111111.11111111. /26
92 11000000
15

17 Dr.Thiri Thitsar Khaing 255.255.255.2 11111111.11111111.11111111. /27
Faculty of Computer Systems and
IPv4 Addressing II

Your Turn

Q5 Which subnet and broadcast address is the IP address


172.16.10.33/27?

Q6 Which subnet and broadcast address is the IP address


50.4.40.10/26?

Q7 Which subnet and broadcast address is the IP address


90.1.3.65/23?

Q8 Which subnet and broadcast address is the IP address


88.10.18.9/10?

Q9 Which subnet and broadcast address is the IP address


9.10.11.12/16?
What are the number os subnets, hosts per subnet, valid
Q1 subnets, broadcast address for each subnet, and valid host
16
0 range of 10.0.0.0/20?

17 Dr.Thiri Thitsar Khaing Faculty of Computer Systems and

You might also like