Professional Documents
Culture Documents
Ip Address Calculating PDF
Ip Address Calculating PDF
TASK 1
(PROBLEM 1)
GIVEN :
Host IP Address 172.30.1.33
Subnet Mask 255.255.255.0
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.0 8 bit
11111111.11111111.11111111.00000000
- Calculate the number 0 at the last range
- Number of subnet bits is = 8 bits
b) Number of subnet
255.255.255.0
11111111.11111111.11111111.00000000
8 bit
- eg : 2n (number bit)
- Number of subnet is = 28
28 = 256 subnet
Number of host bit per subnet is = 256 subnet
= 28 2
= 256 2
= Number of usable host
Per subnet is = 254 subnet
e) Subnet address for this IP address
IP address - 172 . 30 . 1 . 33
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
172 . 30 . 1 . 0
To get the first host you need to added 1 to the last bit of value ip address
IP address-> 172 . 30 . 1 . 0
+ 1
172 . 30 . 1 . 1
- To get the last host you need to take and added the number of usable
host per subnet
172 . 30 . 1 . 0
+ 254
172 . 30 . 1 . 254
For broadcast address, you must added 1 at the last bit in the last host of ip address
172 . 30 . 1 . 254
+ 1
172 . 30 . 1 . 255
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.252 2 bit
11111111.11111111.11111111.11111100
- Calculate the number 0 at the last range
- Number of subnet bits is = 2 bits
b) Number of subnet
255.255.255.252
11111111.11111111.11111111.11111100
2 bit
- eg : 2n (number bit)
- Number of subnet is = 22
22 = 4 subnet
Number of host bit per subnet is = 4 subnet
= 22 2
=42
= Number of usable host
Per subnet is = 2 subnet
e) Subnet address for this IP address
IP address - 172 . 30 . 1 . 33
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
172 . 30 . 1 . 32
To get the first host you need to added 1 to the last bit of value ip address
IP address-> 172 . 30 . 1 . 32
+ 1
172 . 30 . 1 . 33
- To get the last host you need to take and added the number of usable
host per subnet
172 . 30 . 1 . 32
+ 2
172 . 30 . 1 . 34
For broadcast address, you must added 1 at the last bit in the last host of ip address
172 . 30 . 1 . 34
+ 1
172 . 30 . 1 . 35
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.0 8 bit
11111111.11111111.11111111.00000000
- Calculate the number 0 at the last range
- Number of subnet bits is = 8 bits
b) Number of subnet
255.255.255.0
11111111.11111111.11111111.00000000
8 bit
- eg : 2n (number bit)
- Number of subnet is = 28
28 = 256 subnet
Number of host bit per subnet is = 256 subnet
= 28 2
= 256 2
= Number of usable host
Per subnet is = 254 subnet
e) Subnet address for this IP address
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
192 . 192 . 10 . 0
To get the first host you need to added 1 to the last bit of value ip address
- To get the last host you need to take and added the number of usable
host per subnet
192 . 192 . 10 . 0
+ 254
192 . 192 . 10 . 254
For broadcast address, you must added 1 at the last bit in the last host of ip address
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.0 8 bit
11111111.11111111.11111111.00000000
- Calculate the number 0 at the last range
- Number of subnet bits is = 8 bits
b) Number of subnet
255.255.255.0
11111111.11111111.11111111.00000000
8 bit
- eg : 2n (number bit)
- Number of subnet is = 28
28 = 256 subnet
Number of host bit per subnet is = 256 subnet
= 28 2
= 256 2
= Number of usable host
Per subnet is = 254 subnet
e) Subnet address for this IP address
IP address - 172 . 17 . 99 . 71
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
172 . 17 . 99 . 0
To get the first host you need to added 1 to the last bit of value ip address
IP address-> 172 . 17 . 99 . 0
+ 1
172 . 17 . 99 . 1
- To get the last host you need to take and added the number of usable
host per subnet
172 . 17 . 99 . 0
+ 254
172 . 17 . 99 . 254
For broadcast address, you must added 1 at the last bit in the last host of ip address
172 . 17 . 99 . 254
+ 1
172 . 17 . 99 . 255
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.0 8 bit
11111111.11111111.11111111.00000000
- Calculate the number 0 at the last range
- Number of subnet bits is = 8 bits
b) Number of subnet
255.255.255.0
11111111.11111111.11111111.00000000
8 bit
- eg : 2n (number bit)
- Number of subnet is = 28
28 = 256 subnet
Number of host bit per subnet is = 256 subnet
= 28 2
= 256 2
= Number of usable host
Per subnet is = 254 subnet
e) Subnet address for this IP address
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
192 . 168 . 3 . 0
To get the first host you need to added 1 to the last bit of value ip address
- To get the last host you need to take and added the number of usable
host per subnet
192 . 168 . 3 . 0
+ 254
192 . 168 . 3 . 254
For broadcast address, you must added 1 at the last bit in the last host of ip address
FIND :
a) Number of subnet bits
b) Number of subnet
c) Number of host bit per subnet
d) Number of usable host per subnet
e) Subnet address for this IP address
f) IP address of first host
g) IP address of last host
h) Broadcast address for this subnet
ANSWERS
a) Number of subnet bits
255.255.255.252 2 bit
11111111.11111111.11111111.11111100
- Calculate the number 0 at the last range
- Number of subnet bits is = 2 bits
b) Number of subnet
255.255.255.252
11111111.11111111.11111111.11111100
2 bit
- eg : 2n (number bit)
- Number of subnet is = 22
22 = 4 subnet
Number of host bit per subnet is = 4 subnet
= 22 2
=42
= Number of usable host
Per subnet is = 2 subnet
e) Subnet address for this IP address
Multiply operations (ip address and subnet mask) to get subnet address for this IP
address
To get the first host you need to added 1 to the last bit of value ip address
- To get the last host you need to take and added the number of usable
host per subnet
For broadcast address, you must added 1 at the last bit in the last host of ip address
1) 192.17.99.11/26
- 192.17.99.11/26 which means IP address with subnet mask
=255.255.255.192
- Where I did the 192 in last range in subnet mask?
- Using magic number below and using calculator :-
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /26 means 26-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /25 means 25-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator
-
= 11111111 . 11111111 . 11111111 . 10000000
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /28 means 28-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /26 means 26-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /26 means 26-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator
27 128
26 64
25 32
24 16
23 8
22 4
21 2
20 1
- /26 means 26-bit subnet mask. In other words, the subnet mask
is :
- Convert binary numbers to decimal using calculator