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

IP Addressing and Subnetting Guide

The document discusses two problems analyzing IP addresses and their associated subnets. For the first problem, the IP address 172.30.1.33 has a subnet mask of 255.255.255.0, placing it in a subnet of 256 addresses with a range of 172.30.1.1 to 172.30.1.254 and a broadcast address of 172.30.1.255. The second problem analyzes the IP address 172.30.1.33 with a subnet mask of 255.255.255.224, identifying it as being in a subnet of 32 addresses ranging from 172.30.1.33 to 172.30.1.62 with a broadcast address of

Uploaded by

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

IP Addressing and Subnetting Guide

The document discusses two problems analyzing IP addresses and their associated subnets. For the first problem, the IP address 172.30.1.33 has a subnet mask of 255.255.255.0, placing it in a subnet of 256 addresses with a range of 172.30.1.1 to 172.30.1.254 and a broadcast address of 172.30.1.255. The second problem analyzes the IP address 172.30.1.33 with a subnet mask of 255.255.255.224, identifying it as being in a subnet of 32 addresses ranging from 172.30.1.33 to 172.30.1.62 with a broadcast address of

Uploaded by

ridhwan rizall
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

PROBLEM 1

1 HOST IP ADDRESS [Link]


2 SUBNET MASK [Link]
3 NUMBER OF SUBNET BITS 8 Bits
4 NUMBER OF SUBNET 2 n = 28
5 NUMBER OF HOST BITS PER SUBNET 8 Bits
n 8
6 NUMBER USABLE HOSTS PER SUBNET 2 = 2 = 256 2 = 254
7 SUBNET ADDRESS FOR THIS IP ADDRESS [Link]
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET [Link]
9 IP ADDRESS OF LAST HOST ON THIS SUBNET [Link]
10 BROADCAST ADDRESS FOR THIS SUBNET [Link]

CLASS A 0 127
CLASS B 128 191
CLASS C 192 223

211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1

1) HOST IP ADDRESS 172. 30. 1. 33.


172 = 128 + 32 + 8 + 4
= 172
172
7 5
2 2 23 22
128 32 8 4
172 10101100

2) SUBNET MASK 255. 255. 255. 0.


255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 +1
= 255

255
7 6 5 4
2 2 2 2 23 22 21 20
128 64 32 16 8 4 2 1
255 - 11111111
Host Octets Only = 1111111. 00000000.
3) Number of Subnet Bits
11111111. 00000000. = 8 ONES (8 Bits)

4) Number of Subnet
11111111. 00000000. = 2n = 28 = 256

5) Number of Host Bits per Subnet


11111111. 00000000. = 8 ZEROS (8 Bits)

6) Number of Usable Hosts per Subnet


11111111. 00000000. = 28 = 256 2 = 254

7) Subnet Address for this IP Address


NETWORK HOST
172 30 1 33
10101100 00011110 00000001 00100001
255 255 255 0
11111111 11111111 11111111 00000000

172
27 25 23 22
128 32 8 4
172 - 10101100
10101100 | 00011110 | 00000001 | 00100001
+ 11111111 | 11111111 | 11111111 | 00000000

10101100 | 00011110 | 00000001 | 00000000


= 172 30 1 0
8) IP Address of First Host on this Subnet
1.
20
1

172. | 30. | 1. | 0.
+ | 1.

10101100. 00011110. 00000001. 00000000.


+ 00000001.

172. 30. 1. 1.
IP Address First Host Subnet 172. 30. 1. 1.
9) IP Address of Last Host on this Subnet
254
7 6 5
2 2 2 24 23 22 21
128 64 32 16 8 4 2
254 11111110

Subnet Address IP Address + Number Usable Hosts Subnet


= IP Address Last Host Subnet

172. | 30. | 1. | 0.
+ | 254.

10101100 | 00011110. | 00000001. | 00000000.


+ | 11111110.

172. | 30. | 1. | 254.


IP Address Last Host Subnet 172. 30. 1. 254.

254 = 128 + 64 + 32 + 16 + 8 + 4 + 2
= 254
254
7 6 5
2 2 2 24 23 22 21
128 64 32 16 8 4 2
254 11111110.
10) Broadcast Address for this Subnet
1
20
1
1 00000001.
172. | 30. | 1. | 254.
+ 1.

10101100 | 00011110. | 00000001. | 11111110.


+ | 00000001.

172. 30. 1. 255.


Broadcast Address Subnet 172. 30. 1. 255.
255
7 6 5 4
2 2 2 2 23 22 21 20
128 64 32 16 8 4 2 1
255 11111111.
PROBLEM 2
1 HOST IP ADDRESS [Link]
2 SUBNET MASK [Link]
3 NUMBER OF SUBNET BITS 11 Bits
4 NUMBER OF SUBNET 2 = 211 = 2048
n

5 NUMBER OF HOST BITS PER SUBNET 5 Bits


n 5
6 NUMBER USABLE HOSTS PER SUBNET 2 = 2 = 32 2 = 30
7 SUBNET ADDRESS FOR THIS IP ADDRESS [Link]
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET [Link]
9 IP ADDRESS OF LAST HOST ON THIS SUBNET [Link]
10 BROADCAST ADDRESS FOR THIS SUBNET [Link]

CLASS A 0 127
CLASS B 128 191
CLASS C 192 223

211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1

1) HOST IP ADDRESS 172. 30. 1. 33.


172 = 128 + 32 + 8 + 4
= 172
172
7 5
2 2 23 22
128 32 8 4
172 10101100
2) SUBNET MASK 255. 255. 255. 224.
255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
= 255
255
7 6 5 4
2 2 2 2 23 22 21 20
128 64 32 16 8 4 2 1
255 - 11111111

Host Octets Only = 11111111. 11100000.


3) Number of Subnet Bits
11111111. 11100000. = 11 Ones (11 Bits)
4) Number of Subnet
11111111. 11100000. = 211 = 2048.

5) Number of Host Bits per Subnet


11111111. 11100000. = 5 Zeros (5 Bits)
6) Number of Usable Hosts per Subnet
11111111. 11100000. = 25 = 32 2 = 30.
7) Subnet Address for this IP Address
NETWORK HOST
172. 30. 1. 33.
10101100. 00011110. 00000001. 00100001.
255. 255. 255. 224.
11111111. 11111111. 11111111. 11100000.

10101100. | 00011110. | 00000001. | 00100001.


x 11111111. | 11111111. | 11111111. | 11100000.

10101100. | 00011111. | 00000001. | 00100000.

= 172. 30. 1. 32.

32
25
32
32 - 00100000
8) IP Address of First Host on this Subnet
1
20
1
1 00000001.

172. | 30. | 1. | 32.


+ | 1.

1010100. | 00011110. |00000001. | 00100000


+ | 00000001.

172. 30. 1. 33.


IP Address First Host Subnet 172. 30. 1. 33.
33
5
2 20
32 1
32 + 1 = 33
9) IP Address of Last Host on this Subnet
62
5 4
2 2 23 22 21
32 16 8 4 2
62 00111110
Subnet Address IP Address + Number Usable Hosts Subnet
= IP Address of Last Host on this Subnet
172. | 30. | 1. | 32.
+ | 30.

1010110. | 00011110. | 00000001. | 00100000.


+ | 00011110.

172. | 30. | 1. | 62.


IP Address Last Host Subnet 172. 30. 1. 62.
62
5 4
2 2 23 22 21
64 32 16 8 4
62 00111110
10) Broadcast Address for this Subnet
1
20
1
1 00000001.
172. | 30. | 1. | 62.
+ | 1.

10101100. | 00011110. | 0000001. | 00111110.


+ | 00000001.

172. | 30. | 1. | 63.


Broadcast Address Subnet 172. 30. 1. 63.
63
5 4 3
2 2 2 22 21 20
32 16 8 4 2 1
63 00111111.
PROBLEM 3
1 HOST IP ADDRESS [Link]
2 SUBNET MASK [Link]
3 NUMBER OF SUBNET BITS 1 Bits
4 NUMBER OF SUBNET 2 n = 21
5 NUMBER OF HOST BITS PER SUBNET 7 Bits
n= 7
6 NUMBER USABLE HOSTS PER SUBNET 2 2 = 128 2 = 126
7 SUBNET ADDRESS FOR THIS IP ADDRESS [Link]
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET [Link]
9 IP ADDRESS OF LAST HOST ON THIS SUBNET [Link]
10 BROADCAST ADDRESS FOR THIS SUBNET [Link]

CLASS A 0 127
CLASS B 128 191
CLASS C 192 223

211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1

1) HOST IP ADDRESS 192. 192. 10. 234.


192 = 128 + 64
= 192
192
7
2 26
128 64
192 - 11000000
2) SUBNET MASK 255. 255. 255. 128.
255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
= 255
255
7 6 5 4
2 2 2 2 23 22 21 20
128 64 32 16 8 4 2 1
255 11111111.
Host Octets Only = 10000000.
3) Number of Subnet Bits
10000000. = 1 Ones (1 Bits)

4) Number of Subnet
10000000. = 21 = 2

5) Number of Host Bits per Subnet


10000000. = 7 Ones (7 Bits)

6) Number of Usable Hosts per Subner


10000000. = 27 = 128 2 = 126

7) Subnet Address for this IP Address


NETWORK HOST
192 192 10 234
11000000 11000000 00001010 11101010
255 255 255 128
11111111 11111111 11111111 10000000

11000000. | 11000000. | 00001010. | 11101010.


x 11111111. | 11111111. | 11111111. | 10000000.

11000000. | 11000000. | 00001010. | 10000000.


= 192. 192. 10. 128.
SUBNET IP ADDRESS 192. 192. 10. 234.

128
27
128
128 10000000
8) IP Address of First Host on this Subnet
1
20
1
1 - 00000001

192. | 192. | 10. | 128.


+ | 1.

11000000. | 11000000. | 00001010. | 10000001.


+ | 00000001.

192. 192. 10. 129.


IP Address First Host Subnet 192. 192. 10. 129.

9) IP Address of Last Host on this Subnet


Subnet Address IP Address + Usable Host Subnet
= IP Address Last Host Subnet

126
6 5 4
2 2 2 23 22 21
64 32 16 8 4 2
126 11111110.
192. | 192. | 10. | 128.
+ | 126.

11000000. | 11000000. | 00001010. | 10000001.


+ | 1111110.

192. 192. 10. 254.


IP Address Last Host Subnet 192. 192. 10. 254.
10) Broadcast Address for this Subnet
1
20
1
1 00000001.
192. | 192. | 10. | 254.
+ | 1.

11000000. | 11000000. | 00001010. | 10000001.


+ | 00000001.

192. 192. 10. 255.


Broadcast Address Subnet 192. 192. 10. 255.
PROBLEM 4
1 HOST IP ADDRESS [Link]
2 SUBNET MASK [Link]
3 NUMBER OF SUBNET BITS 2 Bits
4 NUMBER OF SUBNET 2n = 22
5 NUMBER OF HOST BITS PER SUBNET 6 Bits
n 6
6 NUMBER USABLE HOSTS PER SUBNET 2 = 2 = 64 2 = 62
7 SUBNET ADDRESS FOR THIS IP ADDRESS [Link].
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET [Link]
9 IP ADDRESS OF LAST HOST ON THIS SUBNET [Link]
10 BROADCAST ADDRESS FOR THIS SUBNET [Link]

CLASS A 0 127
CLASS B 128 191
CLASS C 192 223

211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1

1) HOST IP ADDRESS 192. 168. 3. 219.


192 = 128 + 64
= 192
192
7
2 26
128 64
192 - 11000000
2) SUBNET MASK 255. 255. 255. 192.
255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
= 255
255
7 6 5 4
2 2 2 2 23 22 21 20
128 64 32 16 8 4 2 1
255 11111111.

Host Octets Only 11000000.

3) Number of Subnet Bits


11000000. = 2 Ones (2 Bits)

4) Number of Subnet
11000000. = 22 = 4

5) Number of Host Bits per Subnet


11000000. = 6 Zeros (6 Bits)

6) Number of Usable Hosts per Subnet


26 = 64 2 = 62
7) Subnet Address for this IP Address
NETWORK HOST
192. 168. 3. 219.
11000000. 10101000. 00000011. 11011011.
255. 255. 255. 192.
11111111. 11111111. 11111111. 11000000.
11000000. | 10101000. | 00000011. | 11011011.
x 11111111. | 11111111. | 11111111. | 11000000.

11000000. | 10101000. | 00000011. | 11000000.


= 192. 168. 3. 192.
Subnet IP Address 192. 168. 3. 192.

192
7
2 26
128 64
192 - 11000000

8) IP Address of First Host on this Subnet

1
20
1
1 00000001.

192 | 168 | 3 | 192


+ | 1
11000000. | 10101000. | 00000011. | 11000000.
+ | 00000001.
192. 168. 3. 193.
IP Address First Host Subnet 192. 169. 3. 193
9) IP Address of Last Host on this Subnet
Subnet Address IP Address + Number Usable Host Subnet
= IP Address Last Host Subnet

62
5 4
2 2 23 22 21
32 16 8 4 2
62 00111110.

192. | 168. | 3. | 192.


+ | 62.

11000000. | 1010100. | 00000011. | 11000000.


+ | 00111110.

192. 168. 3. 254.


IP Address Last Host Subnet = 192. 168. 3. 254.

254
7 6 5
2 2 2 24 23 22 21
128 64 32 16 8 4 2
254 11111110.
10) Broadcast Address for this Subnet
1
20
1
1 00000001.

192. | 168. | 3. | 254.


+ | 1.

11000000. | 10101000. | 00000011. | 1111110.


+ | 00000001.

192. 168. 3. 255.


Broadcast Address Subnet 192. 168. 3 . 255.
PROBLEM 5
1 HOST IP ADDRESS [Link]
2 SUBNET MASK [Link]
3 NUMBER OF SUBNET BITS 6 Bits
4 NUMBER OF SUBNET 2 = 26 = 64
n

5 NUMBER OF HOST BITS PER SUBNET 2 Bits


n 2
6 NUMBER USABLE HOSTS PER SUBNET 2 =2 =42=2
7 SUBNET ADDRESS FOR THIS IP ADDRESS [Link]
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET [Link]
9 IP ADDRESS OF LAST HOST ON THIS SUBNET [Link]
10 BROADCAST ADDRESS FOR THIS SUBNET [Link]

CLASS A 0 127
CLASS B 128 191
CLASS C 192 223

211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1

1) HOST IP ADDRESS 192. 168. 3. 219.


192 = 128 + 64
= 192
192
7
2 26
128 64
192 11000000
2) SUBNET MASK 255. 255. 255. 252.
255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
= 255
255
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
255 11111111

Host Octets Only 11111100.


3) Number of Subnet Bits
11111100. = 6 Ones (6 Bits)
4) Number f Subnets
11111100. = 26 = 64
5) Number of Host Bits per Subnet
11111100. = 2 Zeros (2 Bits)
6) Number of Usable Hosts per Subnet
11111100. = 22 = 4 2 = 2

7) Subnet Address for this IP Address


NETWORK HOST
192 168 3 219
11000000 10101000 00000011 11011011
255 255 255 252
11111111 11111111 11111111 11111100

11000000. | 1010100. | 00000011. | 11011011.


x 11111111. | 11111111. | 11111111. | 11111100.
11000000. | 1010100. | 00000011. | 11011011.
= 192. 168. 3. 216.

Subnet IP Address 192. 168. 3. 219.

216
7
2 26 24
128 64 16
216 11011000
8) IP Address of First Host on this Subnet
1
20
1
1 00000001.

192 | 168 | |3 216


+ | 1
11000000 | 10101000 | 00000011 | 11011000
+ | 00000001
192 168 3 217

9) IP Address of Last Host on this Subnet


Subnet Address IP Address + Number Usable Host Subnet
= IP Address First Host Subnet
2
21
2
2 - 00000010
192. | 168. | 3. | 216.
+ | 2.

11000000. | 1010100. | 00000011. | 11011000.


+ | 00000010.

192. 168. 3. 218.


IP Address First Host Subnet 192. 168. 3. 218.
10) Broadcast Address for this Subnet
1
20
1
1 00000001.
192. | 168. | 3. | 218.
+ | 1.

11000000. | 10101000. | 00000011. | 11011010.


+ | 00000001.

192. 168. 3. 219.


Broadcast Address Subnet 192. 168. 3. 219.

You might also like