Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Host IP
Address
Subnet Mask
172.30.1.33
255.255.25
5.0
8 bits
2^8 = 256
8bits
(2^8) 2 = 254 -2 = 252 Host per
subnet
172.30.1.0
172.30.1.1
172.30.1.127
172.30.1.255
BINARY NUMBER :Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network masj to binary :
I.
Number Bits
1
1
1
1
1
1
1
1
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
0
1
0
1
1
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
Subnet
Counting
Range
Host
Rang
e
Decimal
Binary
IP Address
172
10101100
30
00011100
1
00000001
33
00100001
Decimal
Binary
SUBNET ADDRESS:-
255
11111111
255
11111111
255
11111111
0
0000000
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Looking for Network Address , by adding binary numbers of IP Address and
Network Mask
using the AND operator . Note ; 1 AND 1 =
1 , while if there are 0 on the right AND the resul
Example : Formula AND GATE
1 0 1 0 1 1 0 0
1 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
Decimal
IP Address
Subnet
Mask
172.30.133
255.255.25
5.0
10101100
Binary
00011100
00000001
00100001
11111111
11111111
11111111
00000000
Subnet
addresss
172.30.1.0
10101100
00011100
00000001
00000000
numbers from 0 to
00000001
00100001
11111111
00000000
00000001
00000000
00000001
11111111
8bits
(2^8) 2 = 254 -2 = 252 Host per
subnet
Task 2 : Problem 2
Host IP
Address
Subnet Mask
172.30.1.33
255.255.255
.254
14
16384
4
2
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35
BINARY NUMBER:Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network masj to binary :
III.
Number Bits
1
1
1
1
1
1
1
1
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
IV.
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
0
1
0
1
1
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
Subnet
Counting
Range
Decimal
Binary
IP Address
172
10101100
30
00011100
1
00000001
Host
Rang
e
33
00100001
255
11111111
255
11111111
255
11111111
252
11111100
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Looking for Network Address , by adding binary numbers of IP Address and
Network Mask
using the AND operator . Note ; 1 AND 1 =
1 , while if there are 0 on the right AND the resul
Example : Formula AND GATE
1 0 1 0 1 1 0 0
1 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
Decimal
IP Address
Subnet
Mask
Subnet
addresss
172.30.133
255.255.25
5.0
10101100
Binary
00011100
11111111
11111111
11111111
00000000
172.30.1.0
10101100
00011100
00000001
00100000
00000001
00100001
numbers from 0 to
00000001
00100001
11111111
00000000
00000001
00000000
address
Broadcast
2
172.30.1.3
5
10101100
000111100
00000001
11111111
14 bits
2^14 = 16384
subnets
Number Of Host Bits Per Subnet:Step 7 : Determine the number usable host per subnet
The number of host [er subnet is determined by the number og hist bits
2bits
(2^2) 2 = 4 -2 = 2 Host per subnet
Task 2 : Problem 3
Host IP
Address
Subnet Mask
192.192.10.
234
255.255.25
5.0
8
256
256
254
192.192.10.0
192.192.10.1
192.192.10.254
192.198.10.255
BINARY NUMBER:Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network masj to binary :
V.
Number Bits
1 = 128
1
1
1
1
1
1
1
=
=
=
=
=
=
=
64
32
16
8
4
2
1
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
0
1
0
1
1
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
Subnet
Counting
Range
Decimal
Binary
IP Address
192
11000000
192
11000000
10
00001010
Host
Rang
e
234
11101010
Decimal
Binary
255
11111111
255
11111111
255
11111111
0
00000000
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Decimal
IP Address
Subnet
Mask
Subnet
addresss
172.30.133
255.255.25
5.0
10101100
Binary
00011100
00000001
00100001
11111111
11111111
11111111
00000000
172.30.1.0
11000000
11000000
00001010
00000000
address
Last
Address
0
192.192.10.
254
10101100
000111100
00001010
11111110
numbers from 0 to
00001010
00100001
11111111
00000000
00001010
00000000
00001010
11111111
8bits
2^8 = 256 subnets
Number Of Host Bits Per Subnet :Step 7 : Determine the number usable host per subnet
The number of host [er subnet is determined by the number og hist bits
8bits
(2^8) 2 = 256 -2 = 254 Host per
subnet
Task 2 : Problem 4
Host IP
Address
Subnet Mask
172.17.99.1
7
255.255.0.0
0
1
65536
65534
172.17.0.0
172.17.0.1
172.17.255.255
Subnet
Broadcast Address For This
subnet
172.17.255.255
BINARY NUMBER
Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network masj to binary :
VII.
Number Bits
1
1
1
1
1
1
1
1
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
0
1
0
1
1
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
IP Address
Subnet
Counting
Range
Decimal
Binary
172
10101100
17
00010001
99
01100011
Host
Rang
e
71
01000111
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
h. counting to three and four blocks
Example :
0+0+0+0+0+0+0+0=0
Binary
Decimal
Binary
SUBNET ADDRESS:-
255
11111111
255
11111111
0
00000000
0
00000000
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Looking for Network Address , by adding binary numbers of IP Address and
Network Mask
using the AND operator . Note ; 1 AND 1 =
1 , while if there are 0 on the right AND the resul
Example : Formula AND GATE
1 0 1 0 1 1 0 0
1 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
Decimal
IP Address
Subnet
Mask
Subnet
addresss
172.17.99.
71
255.255.0.
0
10101100
Binary
00010001
11111111
11111111
00000000
00000000
172.17.0.0
10101100
00010001
00000001
00100000
01100011
01000111
Subnet
address
Fisrt
Address
192.192.10.
0
172.30.10.1
11100000
11000000
00001010
00000000
11000000
11000000
00001010
00000001
LAST ADDRESS:Step 4 : Last specify Host by replacing a number from 0 to 1 on the host
add subnet range except at the very last bit remains 0 .
IP Address
172.17.99.7
10101100
01100001
01100011
00100111
1
Subnet
255.255.0.0
11111111
11111111
11111111
00000000
Mask
Subnet
172.17.0.0
10101100
00010001
00000000
00000000
address
Last
172.17.255.
10100100
00010001
11111111
11111110
Address
254
BROADCAST ADDRESS:Step 4 : Determine Broadcast by replacing all the
host subnet range add to the number 1.
IP Address
192.192.10.
10101100
00010001
294
Subnet
255.255.25
11111111
11111111
Mask
5.0
Subnet
172.192.10.
10101100
00011100
address
0
Broadcast
172.17.255.
10101100
000010001
255
numbers from 0 to
01100011
00100001
00000000
00000000
00000000
00000000
11111111
11111111
0bits
2^0 = 1 subnets
Number Of Host Bits Per Subnet:Step 7 : Determine the number usable host per subnet
The number of host [er subnet is determined by the number og hist bits
Task 2 : Problem 5
16bits
(2^16) 2 = 15536 -2 =65534 Host
per subnet
Host IP
Address
Subnet Mask
192.168.3.2
19
255.255.25
5.0
8
256
256
254
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255
BINARY NUMBER:Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network masj to binary :
IX.
Number Bits
1
1
1
1
1
1
1
1
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
1
0
0
0
0
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
Subnet
Counting
Range
Host
Rang
e
Decimal
Binary
IP Address
i.
192
11100000
168
10101000
3
00000011
219
11011011
Example :
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
j. counting to three and four blocks
Example :
0+0+0+0+0+0+0+0=0
Binary
Decimal
Binary
DUBNET ADDRESS:-
255
11111111
255
11111111
255
11111111
0
00000000
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Looking for Network Address , by adding binary numbers of IP Address and
Network Mask
using the AND operator . Note ; 1 AND 1 =
1 , while if there are 0 on the right AND the resul
Example : Formula AND GATE
1 0 1 0 1 1 0 0
1 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
Decimal
IP Address
Subnet
Mask
Subnet
addresss
192.168.3.
216
255.255.25
5.0
192.168.3.
0
1100000
Binary
10101000
00000011
11011011
11111111
11111111
11111111
00000000
11000000
10101000
00000011
00000000
numbers from 0 to
00000011
11011011
11111111
00000000
00000001
00000000
00000001
11111111
8bits
2^8 = 256 subnets
Number Of Host Bits Per Subnet:Step 7 : Determine the number usable host per subnet
The number of host [er subnet is determined by the number og hist bits
8bits
(2^8) 2 = 256 -2 =254 Host per
subnet
Task 2 : Problem 6
Host IP
Address
Subnet Mask
192.168.3.2
19
255.255.255
.252
14
16384
4
2
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.21
BINARY NUMBER:Step 1: Translate Host IP address and network mask into binary notation
Convert the host Ip address and network mask to binary :
XI.
Number Bits
1
1
1
1
1
1
1
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1=1
Example : 128 + 64 = 192
XII.
1 AND 1 = 1 (on)
1 AND 0 = 0 (off)
1
1
1
0
1
1
0
0
=
=
=
=
=
=
=
=
128
64
32
16
8
4
2
1
Subnet
Counting
Range
Decimal
Binary
IP Address
192
11100000
168
10101000
3
00000011
Host
Rang
e
219
11011011
Decimal
Binary
SUBNET ADDRESS:-
255
11111111
255
11111111
255
11111111
252
11111100
Step 2 : Determine The Network (or Subnet) where this Host Address
belong.
Looking for Network Address , by adding binary numbers of IP Address and
Network Mask
using the AND operator . Note ; 1 AND 1 =
1 , while if there are 0 on the right AND the resul
Example : Formula AND GATE
1 0 1 0 1 1 0 0
1 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
Decimal
IP Address
Subnet
Mask
Subnet
addresss
192.168.3.21
6
255.255.255.
252
192.168.3.21
6
1100000
Binary
10101000
00000011
11010111
11111111
11111111
11111111
11111100
11000000
10101000
00000011
11011000
the host
11010011
11111100
11011000
11011001
LAST ADDRESS:Step 4 : Last specify Host by replacing a number from 0 to 1 on the host
add subnet range except at the very last bit remains 0 .
IP Address
192.168.3.21 1110000 1010100 0000001 1101101
9
0
0
1
1
Subnet Mask 255.255.255. 1111111 1111111 1111111 1111110
252
1
1
1
0
Subnet
192.168.3.21 1100000 1010100 0000001 1101100
address
6
0
0
1
0
Last Address
192.168.3.21 1100000 1010100 0000001 1101101
9
0
1
0
0 to
11011011
11111000
11011000
11011011
14bits
2^14 =16384
subnets
Number Of Host Bits Per Subnet:Step 7 : Determine the number usable host per subnet
The number of host [er subnet is determined by the number og hist bits
2bits
(2^2) 2 = 4 -2 =2 Host per subnet