Sunteți pe pagina 1din 19

PROBLEM 1

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.30.1.33
255.255.0.0

Find :Network Address, Network Broadcast Address,Total Number Of Host


Bits,Number of Host
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
Convert the host Ip address and network mask to binary :
1. Number Bits
1
1
1
1
1
1
1
1

=
=
=
=
=
=
=
=

128
64
32
16
8
4
2
1

Example : 128 + 32 + 8 + 4 =
172

2. Use and Gate operation


1 AND 0 = 0
1 = 128

1 AND 1 = 1

0 = 64
1 = 32
0
1
1
0
0

=
=
=
=
=

16
8
4
2
1

Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 + 0
= 10101100

IP Address
Subnet
Counting
Range

Decima
l
Binary

172

1010110
0
Host Range

25

114

250

0001100
1

0111001

11111010

NETWORK MASK=255.255.0.0
255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

Network
Mask

1
1
1
1
1
1
1
1

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

Decima
l

225

255

Binary

1111111
1

111111
11

000000
0

0000000

Step 2: Determine the Network address


Find the Network Address , need to adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
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

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary

172
1010110
0
225
1111111
1
172
1010110
0

25
0001100
1
255
1111111
1
25
0001100
1

114
011100
1
0
000000
0
0
000000
0

250
1111101
0
0
0000000
0
0000000

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1

IP Address
Network
Mask
Network
Address
Broadcst
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary
Decimal
Binary

172
1010110
0
225
1111111
1
172
1111111
1
172
1010110
0

25
0001100
1
255
1111111
1
25
0001100
01
25
0001100
1

114
011100
1
0
000000
0
00
000000
0
255
111111
11

250
1111101
0
0
0000000
00
0000000
255
1111111
1

16 Bits
Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.30.1.33
255.255.0.0
172.30.0.0
172.30.255.255.
16
65,534

Problem 2

Host IP Address
172.30.1.33
Network Mask
255.255.255.0
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Find :Network Address, Network Broadcast Address,Total Number Of Host
Bits,Number of Host

Network Address

Step 1: Translate Host IP Address and Network Mask into binary notation
Convert the host Ip address and network mask to binary :
1. Number Bits
1 =128
1 = 64
1 = 32
1 = 16
1
1
1
1

=
=
=
=

8
4
2
1

Example : 128 + 32 + 8 + 4 =
172

2. Use and Gate operation


1 AND 1 = 1
1 AND 0 = 0
1 = 128
0 = 64
1 = 32
0 = 16
1=8
1=4
Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 + 0
0=2
= 10101100
0=1
IP
Address
Subnet
Counting
Range

Decimal
Binary

172
1010110
0
Host Range

30
0001111
0

1
0000001

33
00100001

NETWORK MASK=255.255.0.0
255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111
Network
Mask

1
1
1
1
1
1
1
1

Decimal
Binary

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

225
255
1111111 111111
1
11

255
111111
11

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000
0
0000000

Step 2: Determine the Network address


Looking for Network Address , by adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
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

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary

172
1010110
0
225
1111111
1
172
1010110
0

30
0001111
0
255
1111111
1
25
0001111
0

1
000000
01
255
111111
11
1
000000
01

33
0010000
1
0
0000000
0
0000000

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1

IP Address
Network
Mask
Network
Address
Broadcst
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary
Decimal
Binary

172
1010110
0
225
1111111
1
172
1111111
1
172
1010110
0

30
0001111
0
255
1111111
1
25
0001111
0
25
0001111
0

1
000000
01
0
111111
11
1
000000
01
1
000000
01

33
0010000
1
0
0000000
00
0000000
255
1111111
1

8 Bits

Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of usable
hosts.

28 2 = 256 2
= 254 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.30.1.33
255.255.255.0
172.30.1.0
172.30.1.255.
8
254

Problem 3
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.10.234
255.255.255.0

Find :Network Address, Network Broadcast Address,Total Number Of Host


Bits,Number of Host
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
Convert the host Ip address and network mask to binary :
1. Number Bits
1
1
1
1
1
1
1
1

=
=
=
=
=
=
=
=

128
64
32
16
8
4
2
1

Example : 128 + 32 = 192


2. Use and Gate operation
1 AND 0 = 0
1=
128
1 = 64
0 = 32
0 = 16
0=8
0=4

1 AND 1 = 1

Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 +
0 = 11000000

0=2
0=1

Decima
l
Binary

IP Address

192

1100000
0
Host Range

Subnet
Counting
Range

168

10

234

1010100
0

00001010

11101010

NETWORK MASK 255.255.255.0


255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

Network
Mask

1
1
1
1
1
1
1
1

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

Decima
l

225

255

255

Binary

1111111
1

111111
11

111111
11

0000000

Step 2: Determine the Network address


Looking for Network Address , by adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
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

IP Address

Decimal
Binary

Network

Decimal

192
1100000
0
225

168
1010100
0
255

10
000010
10
255

234
1110101
0
0

Mask
Network
Address

Binary
Decimal
Binary

1111111
1
192
1100000
0

1111111
1
168
1010100
0

111111
11
10
000010
10

0000000
0
0000000

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary
Decima
l
Binary

192
1100000
0
225
1111111
1
192
1100000
0
196

168
1010100
0
255
1111111
1
168
1010100
0
168

110000
00

101010
00

10
0000101
0
255
1111111
1
10
0000101
0
10
0000101
0

234
1110101
0
0
0000000
0
0000000
255
111111
11

8 Bits
Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
28 2 = 256 2
= 254 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.10.234
255.255.255.0
192.168.10.0
192.168.10.255
8
254

PROBLEM 4
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.17.99.71
255.255.0.0

Find :Network Address, Network Broadcast Address,Total Number Of


Host Bits,Number of Host

Network Address

Step 1: Translate Host IP Address and Network Mask into binary notation
Convert the host Ip address and network mask to binary :
1. Number Bits
1 = 128
1 = 64
1
1
1
1
1
1

=
=
=
=
=
=

32
16
8
4
2
1

Example : 128 + 32 + 8 +
4 = 179

2. Use and Gate operation


1 AND 1 = 1
1 AND 0 = 0

1=
128
0 = 64
1 = 32
0 = 16
1=8
1=4
0=2
0=1

Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 +
0 = 10101100

Decimal
172
Binary
10101100
Host Range

IP Address
Subnet
Counting
Range

17
00010001

99
01100011

71
01000111

NETWORK MASK=255.255.0.0
255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

Network
Mask

1
1
1
1
1
1
1
1

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

Decima
l

225

255

255

Binary

1111111
1

111111
11

111111
11

0000000

Step 2: Determine the Network address


Looking for Network Address , by adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
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

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary

172
1010110
0
225
1111111
1
192
1010110
0

17
0001000
1
255
1111111
1
168
1010100
0

99
011000
11
255
111111
11
10
000010
10

71
0100011
1
0
0000000
0
0000000

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1

IP Address
Network
Mask
Network
Address

Broadcash

Decimal
Binary
Decimal
Binary
Decimal
Binary
Decima
l
Binary

192
1100000
0
225
1111111
1
192
1010110
0
172

168
1010100
0
255
1111111
1
17
0001000
1
17

110000
00

101010
00

10
0000101
0
255
1111111
1
0
0000000
0
255

234
1110101
0
0
0000000
0
0000000
255

1111111
1

111111
11

16 Bits
Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.17.99.71
255.255.0.0
192.17.0.0
192.168.255.255
16
65,534

PROBLEM 5
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.0.0

Find :Network Address, Network Broadcast Address,Total Number Of


Host Bits,Number of Host

Network Address

Step 1: Translate Host IP Address and Network Mask into binary notation
Convert the host Ip address and network mask to binary :
1. Number Bits
1
1
1
1
1

=
=
=
=
=

128
64
32
16
8

Example : 128 + 68 = 192

1=4
1=2
1=1

2. Use and Gate operation


1 AND 1 = 1
1 AND 0 = 0
1 = 128
1 = 64
0 = 32
0 = 16
0=8
0=4
Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 +
0=2
0 = 11000000
0=1
Decimal
192
Binary
11000000
Host Range

IP Address
Subnet
Counting
Range

168
10101000

3
00000011

219
11011011

NETWORK MASK=255.255.0.0
255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

Network
Mask

1
1
1
1
1
1
1
1

255/2=127.5
127/2=63.5
63/2=31.5
31/2=15.5
15/2=7.5
7/2=3.5
3/2=1.5
1/2=0.5
=11111111

1
-1
-1
-1
-1
-1
-1
-1

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=00000000

Decima
l

225

255

Binary

1111111
1

111111
11

000000
00

0000000

Step 2: Determine the Network address


Looking for Network Address , by adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :

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

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary

192
1100000
0
225
1111111
1
192
1010110
0

168
1010100
0
255
1111111
1
168
1010100
0

3
000000
11
255
000000
00
255
111111
11

219
1101101
1
0
0000000
0
1111111
1

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1
Decimal
IP Address
Network
Mask
Network
Address
Broadcast
Address

Binary
Decimal
Binary
Decimal
Binary
Decimal
Binary

192
1100000
0
225
1111111
1
192
1010110
0
192
1100000
0

168
1010100
0
255
1111111
1
168
1010100
0
168
1010100
0

3
000000
11
255
000000
00
255
111111
11
255
111111
1

219
1101101
1
0
0000000
0
1111111
1
255
1111111
1

Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask

Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
16
65,534

PROBLEM 6
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.255.224

Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation

Convert the host Ip address and network mask to binary :


1. Number Bits
1 = 128

1
1
1
1
1
1
1

=
=
=
=
=
=
=

64
32
27
8
4
2
1

Example : 128 + 68 = 192


2. Use and Gate operation
1 AND 1 = 1
1 AND 0 = 0
1=
128
1 = 64
0 = 32
0 = 16
0=8
0=4
Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0
0=2
= 11000000
0=1
Decimal
192
Binary
11000000
Host Range

IP Address
Subnet
Counting
Range

168
10101000

3
00000011

219
11011011

NETWORK MASK=255.255.255.224
192/2=96 96/2=48 48/2=24 24/2=12 12/2=6
6/2=3
3/2=1.5
1/2=0.5
=11000000

0
0
0
0
0
0
1
1

168/2=84 84/2=42 42/2=21 21/2=10.5 10/2=5


5/2=2.5
2/2=1
1/2=0.5
=10101000

0
0
0
1
0
1
0
1

3/2=15 1/2=0.5 0/2=0


0/2=0
0/2=0
0/2=0
0/2=0
0/2=0
=0000011

1
1
0
0
0
0
0
0

219/2=109.5
109/2=54.5
54/2=27
27/2=13.5
13/2=6.5
6/2=3
3/2=1.5
1/2=0.5
=11011011

Step 2: Determine the Network address


Looking for Network Address , by adding binary numbers of IP Address and
Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :

1
1
0
1
1
0
1
1

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

IP Address
Network
Mask
Network
Address

Decimal
Binary
Decimal
Binary
Decimal
Binary

192
1100000
0
225
1111111
1
192
1010110
0

168
1010100
0
255
1111111
1
168
1010100
0

3
000000
11
255
111111
11
3
000010
10

219
1101101
1
0
1110000
0
192
1100000
0

Step 3: Address Broadcast find a way to replace all the numbers from 0
on the number of hosts to be number 1
Decimal
IP Address
Network
Mask
Network
Address
Broadcast
Address

Binary
Decimal
Binary
Decimal
Binary
Decimal
Binary

192
1100000
0
225
1111111
1
192
1010110
0
192
1100000
0

168
1010100
0
255
1111111
1
168
1010100
0
168
1010100
0

3
000000
11
255
000000
00
255
000010
10
255
000010
10

219
1101101
1
0
0000000
0
1100000
0
255
1101111
1

Step 4 : Use Possible Host formula to get the number of possible host
for this subnetmask
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
25 2 = 32 2
= 30 (Maximum number of Hosts).

Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.225.224
192.168.3.192
192.168.3.223
5
30

S-ar putea să vă placă și