Vous êtes sur la page 1sur 32

Assisgment Sheet 2

Code / Course :KFC 2144 / Network Fundamental


Lecture :MOHD SHUKRI BIN MUHAMMAD HUSIN

Problem 1
Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet
Subnet Address for this IP address
IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet

172.30.1.33
255.255.255.0
8 Bits
2^8= 256 Subnet
254
2^8-2 = 256-2 = 254 Host Per Subnet
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255

Step 1 : Translate host IP Address and subnet mask into Binary natation
172

30

33

IP ADDRESS
00100001

10101100

00011110

00000001

Subnet Mask
00000000

11111111

11111111

11111111

255

255

255

First , List down these Value of Numbers.


Take the Host IP Address 172.30.1.30 and Start ith the First Octet ( 172 )
IP Address

Answers

Binary

172 / 2
86
0
86 / 2
43
0
43 / 2
21.5
1
21 / 2
10.5
1
10 / 2
5
0
5/2
2.5
1
2/2
1
0
1/2
0.5
1
So now we know that a Decimal Number 172 is 10101100 converted to Binary
from.

2 Octet ( 30 )
IP Address
Answers
30 / 2
15
15 / 2
7.5
7/2
3.5
3/2
1.5
1/2
0.5
Binary Natation for the number 30 is 00011110
3 Octet

Binary
0
1
1
1
1

(1)

IP Address
Answers
1/2
1
Binary Natation For the number 1 is 00000001

Binary
1

4 Octet ( 33 )
IP Address
Answers
33
16.5
16 / 2
8
8/2
4
4/2
2
2/2
1
1/2
0.5
Binary Natation for the number 33 is 00100001

Binary
1
0
0
0
0
1

So the IP Addressof 172.30.1.33 has its binary form equivalent of :

10101100.00011110.00000001.00100001
Subnet Mask
Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
255 / 2
127 / 2
63 / 2

Answers
127.5
63.5
31.5

Binary
1
1
1

31 / 2
15 / 2
7/2
3/2
1/2
Binary Notation for the number 255

15.5
7.5
3.5
1.5
0.5
is 11111111.

1
1
1
1
1

2 Octet ( 255 ).
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

3 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

4 Octet ( 0 )
IP Address
Answers
Binary
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
Binary notation for the number 0 is 00000000 ( since there is no number to
subtract for 0 so , automatically the answer is 00000000 ) .
So the IP Addressof 255.255.255.0 has its binary form equivalent of :

11111111.11111111.11111111.00000000

Number of Subnet Bits :255.255.255.0>>8

11111111.11111111.11111111.11111100
Number of Host :28

Number of Host Bits per subnet :28>>256

Number of usable Hosts per Subnet :28 2 = 256 2 = 254

IP Address of first host on this subnet :172.30.1.33 10101100

00011110

00000001

00100001

172.30.1.1

00011110

00000001

00000001

10101100

IP Addressof Last Host on this subnet :172.30.1.1

10101100

172.30.1.254
11111110

10101100

00011110

00000001

00011110

00000001

00000001

Broadcast Addressfor this subnet :Use 8 Number of Last Host

172.30.1.0

10101100

172.30.1.255
11111111

10101100

00011110
00011110

00000001
00000001

00000000

Problem 2
Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet
Subnet Address for this IP address
IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet
172

172.30.1.33
255.255.255.252
14 Bits
22= 4 Subnet
4
22-2 = 4-2 = 4Host Per Subnet
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35
30

33

IP ADDRESS
00100001

10101100

00011110

00000001

Subnet Mask
11111100

11111111

11111111

11111111

255

255

255

252

First , List down these Value of Numbers.


Take the Host IP Address 172.30.1.30 and Start ith the First Octet ( 172 )
IP Address
172 / 2

Answers
86

Binary
0

86 / 2
43
0
43 / 2
21.5
1
21 / 2
10.5
1
10 / 2
5
0
5/2
2.5
1
2/2
1
0
1/2
0.5
1
So now we know that a Decimal Number 172 is 10101100 converted to Binary
from.

2 Octet ( 30 )
IP Address
Answers
30 / 2
15
15 / 2
7.5
7/2
3.5
3/2
1.5
1/2
0.5
Binary Natation for the number 30 is 00011110
3 Octet

Binary
0
1
1
1
1

(1)

IP Address
Answers
1/2
1
Binary Natation For the number 1 is 00000001

Binary
1

4 Octet ( 33 )
IP Address
Answers
33
16.5
16 / 2
8
8/2
4
4/2
2
2/2
1
1/2
0.5
Binary Natation for the number 33 is 00100001

Binary
1
0
0
0
0
1

So the IP Addressof 172.30.1.33 has its binary form equivalent of :

10101100.00011110.00000001.00100001

Subnet Mask
Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

2 Octet ( 255 ).
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

3 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

4 Octet ( 252 )
IP Address
Answers
Binary
252 / 2
126
0
126 / 2
63
0
63 / 2
31.5
1
31 / 2
15.5
1
15 / 2
7.5
1
7/2
3.5
1
3/2
1.5
1
1/2
0.5
1
Binary notation for the number 252 is 11111100 ( since there is no number to
subtract for 0 so , automatically the answer is 11111100) .

So the IP Addressof 255.255.255.252has its binary form equivalent of :

11111111.11111111.11111111.11111100
Number of Subnet Bits :255.255.255.0>>8

11111111.11111111.11111111.11111100
Number of Host :214

Number of Host Bits per subnet :214>>16

384

Number of usable Hosts per Subnet :22 2 = 4 2 = 2 Host subnet

IP Address of first host on this subnet :172.30.1.33 10101100

00011110

00000001

00100001

172.30.1.32 10101100

00011110

00000001

00000001

IP Addressof Last Host on this subnet :172.30.1.32 10101100

00011110

00000001

00100000

172.30.1.34 10101100

00011110

00000001

00100010

Broadcast Addressfor this subnet :Use 8 Number of Last Host

172.30.1.32 10101100

00011110

00000001

00100000

172.30.1.35 10101100

00011110

00000001

00100011

Subnet Address
Perform a bit-wise AND ( logical AND gate ) operation on the host IP Address and
subnet Mask ( 1 AND 1 results in1;0 AND anything results in a 0 )

IP ADDRESS
00100001

10101100

00011110

00000001

Subnet Mask
11111100

11111111

11111111

11111111

Subnet Address
00000001
00100000

10101100

00011110

Use the Method in converthing the host IP address and subnet mask to convert
the Network address into decimals ( Reversed ; Addingthe number instead of
subtracting ) .
128
1
0
0
0

64
0
0
0
0

32
1
0
0
1

For the 1st Octet


128 + 32 + 8 + 4 = 172
2nd Octet

16
0
1
0
0

8
1
1
0
0

4
1
1
0
0

2
0
1
0
0

1
0
0
1
0

16 + 8 + 4 + 2 = 30
3rd Octet
1
4th Octet
32
Therefore ,the subnet Address is 172.30.1.32.
Determine which bits contain network information and host information

Major Divide ( M.D)


( S.D )
Host IP
Address
Subnet
Mask
Subnet
Address

Subnet Divide

10101100

00011110

00000001

00100001

11111111

11111111

11111111

11111110

10101100

00011110

00000001

00100000

Draw themajor Divide ( M.D ) Asa wacy line where the 1s in the major
network mask ( the 16 left-most Bits ) End and the subnet divide ( S.D )as
a Straight line where the 1s in thegiven subnet mask end.From here , we
can get the number of subnet bits from the subnet mask by simply
counting the number of bits ( 0 and 1 ) in the Last 16 bits in the subnet
Mask.

Subnet Bits and Hosts bits Per Subnet


Using this formula 2x where X = the number of 1s in the last 16 bits
of the subnet mask , we can get the total number of subnets . For
the number of usable hosts per subnet , use 2y 2 Where y = the
number of 0s in the last 16 bits of the subnet mask.
Number of 1S and 0s in the last 16 bits of the subnet mask.
1

10

1
1
1

1
2
1

1
3
1

1
4
1

Using the data from the number of 0s and 1s in last 16 bits of the
subnet Mask.
214 = 16,384 Subnets ( Total )
22 = 4 2 = 2 Hosts ( Total )
Converting the first Host , Last Host and Broadcast and subnet mask
to convert the network address into decimals ( Reversed : Adding
the number instead of subtracting ) .

First Host

128
1
0
0
0

10101100.00011110.00000001.00100001

64
0
0
0
0

32
1
0
0
1

16
0
1
0
0

8
1
1
0
0

4
1
1
0
0

2
0
1
0
0

For the 1st Octet

IP Address
172 / 2
86 / 2
43 / 2
21 / 2
10 / 2
5/2
2/2
1/2

Answers
86
43
21.5
10.5
5
2.5
1
0.5

Binary
0
0
1
1
0
1
0
1

Answers
15
7.5
3.5
1.5
0.5

Binary
0
1
1
1
1

2 Octet ( 30 )
IP Address
30 / 2
15 / 2
7/2
3/2
1/2
3 Octet

(1)

IP Address
Answers
1/2
1
Binary Natation For the number 1 is 00000001

Binary
1

1
0
0
1
1

4 Octet ( 33 )
IP Address
Answers
33
16.5
16 / 2
8
8/2
4
4/2
2
2/2
1
1/2
0.5
Therefore, the First Host Address is 172.30.1.33.

Binary
1
0
0
0
0
1

Last Host 10101100.00011110.00000001.00100010


128
1
0
0
0

64
0
0
0
0

32
1
0
0
1

16
0
1
0
0

8
1
1
0
0

4
1
1
0
0

2
0
1
0
1

For the 1st Octet

IP Address
172 / 2
86 / 2
43 / 2
21 / 2
10 / 2
5/2
2/2
1/2

Answers
86
43
21.5
10.5
5
2.5
1
0.5

Binary
0
0
1
1
0
1
0
1

Answers
15
7.5
3.5
1.5
0.5

Binary
0
1
1
1
1

2 Octet ( 30 )
IP Address
30 / 2
15 / 2
7/2
3/2
1/2
3 Octet

(1)

IP Address
Answers
1/2
1
Binary Natation For the number 1 is 00000001

Binary
1

4 Octet ( 34 )
IP Address

Answers

Binary

1
0
0
1
0

34 / 2
17
17 / 2
8.5
8/2
4
4/2
2
2/2
1
1/2
0.5
Therefore, the last Host Address is 172.30.1.34

0
1
0
0
0
1

Broadcast Address 10101100.00011110.00000001.00100011

For the 1st Octet

IP Address
172 / 2
86 / 2
43 / 2
21 / 2
10 / 2
5/2
2/2
1/2

Answers
86
43
21.5
10.5
5
2.5
1
0.5

Binary
0
0
1
1
0
1
0
1

Answers
15
7.5
3.5
1.5
0.5

Binary
0
1
1
1
1

2 Octet ( 30 )
IP Address
30 / 2
15 / 2
7/2
3/2
1/2
3 Octet

(1)

IP Address
Answers
1/2
1
Binary Natation For the number 1 is 00000001
4 Octet ( 35 )

Binary
1

IP Address
Answers
35 / 2
17.5
17 / 2
8.5
8/2
4
4/2
2
2/2
1
1/2
0.5
Therefore , the Broadcast Address is 172.30.1.35

Binary
1
1
0
0
0
1

Problem 3
Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet
Subnet Address for this IP address
IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet

192.192.10.234
255.255.255.0
8 Bits
28= 256 Subnet
254
28 - 2 = 256 - 2 = 254 Host Per Subnet
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

Step 1 : Translate host IP Address and subnet mask into Binary natation
192

192

10

IP ADDRESS
00100001

11000000

11000000

Subnet Mask
00000000

11111111

11111111

255

255

255

234
00001010
11111111
0

First , List down these Value of Numbers.


Take the Host IP Address 192.192.10.23
and Start ith the First Octet ( 192 )
IP Address
192 / 2
96 / 2
48 / 2

Answers
96
48
24

Binary
0
0
0

24 / 2
12
0
12 / 2
6
0
6/2
3
0
3/2
1.5
1
1/2
0.5
1
So now we know that a Decimal Number 192 is 11000000 converted to Binary
from.

2 Octet ( 192 )
IP Address
Answers
Binary
192 / 2
96
0
96 / 2
48
0
48 / 2
24
0
24 / 2
12
0
12 / 2
6
0
6/2
3
0
3/2
1.5
1
1/2
0.5
1
So now we know that a Decimal Number 192 is 11000000 converted to Binary
from.
3 Octet

( 10 )

IP Address
Answers
10 / 2
5
5/2
2.5
2/2
1
1/2
1
Binary Natation For the number 10 is 00001010

Binary
0
1
0
1

4 Octet ( 234 )
IP Address
234 / 2
117 / 2
58 / 2
29 / 2
14 / 2
7/2
3/2
1/2

Answers
117
58.5
29
14.5
7
3.5
1.5
1

Binary
0
1
0
1
0
1
1
1

Binary Natation for the number 234 is 11101010


So the IP Address of 192.192.10.234 has its binary form equivalent of :

11000000.11000000.00001010.11101010

Subnet Mask
Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

2 Octet ( 255 ).
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.
3 Octet ( 255 )

Binary
1
1
1
1
1
1
1
1

IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

4 Octet ( 0 )
IP Address
Answers
Binary
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
Binary notation for the number 0 is 00000000 ( since there is no number to
subtract for 0 so , automatically the answer is 00000000 ) .
So the IP Address of 255.255.255.0 has its binary form equivalent of :

11111111.11111111.11111111.00000000
Number of Subnet Bits :255.255.255.0>>8

11111111.11111111.11111111.00000000
Number of Host :28

Number of Host Bits per subnet :28>>256

Number of usable Hosts per Subnet :-

28 2 = 256 2 = 254

IP Address of first host on this subnet :192.192.10.234


11101010

11000000

11000000

00001010

192.192.10.1
00000001

11000000

11000000

00001010

IP Addressof Last Host on this subnet :192.192.10.1


00000001

11000000

11000000

00001010

192.192.10.254
11111110

11000000

11000000

00001010

Broadcast Addressfor this subnet :Use 8 Number of Last Host

192.192.10.0
00000000

11000000

11000000

00001010

192.192.10.255
11111111

11000000

11000000

00001010

Problem 4
Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet

172.17.99.71
255.255.0.0
16 Bits
216 = 65536
65536
216 = 65536 2 = 65534 Hosts Per
Subnets
172.17.99.0
172.17.99.1
172.17.99.65534
172.17.99.255

Subnet Address for this IP address


IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet

Step 1 : Translate host IP Address and subnet mask into Binary natation
172

17

99

71

IP ADDRESS
01001101

10101100

00010001

01100011

Subnet Mask
00000000

11111111

11111111

00000000

255

255

First , List down these Value of Numbers.


Take the Host IP Address 172.30.1.30 and Start ith the First Octet ( 172 )
IP Address

Answers

Binary

172 / 2
86
0
86 / 2
43
0
43 / 2
21.5
1
21 / 2
10.5
1
10 / 2
5
0
5/2
2.5
1
2/2
1
0
1/2
0.5
1
So now we know that a Decimal Number 172 is 10101100 converted to Binary
from.

2 Octet ( 17 )
IP Address
Answers
17 / 2
8.5
8/2
4
4/2
2
2/2
1
1/2
0.5
Binary Natation for the number 17 is 00010001

3 Octet

Binary
1
0
0
0
1

( 99 )

IP Address
Answers
99 / 2
49.5
49 / 2
24.5
24 / 2
12
12 / 2
6
6/2
3
3/2
1.5
1/2
1
Binary Natation For the number 1 is 01100011

Binary
1
1
0
0
0
1
1

4 Octet ( 71 )
IP Address
Answers
71 / 2
35.5
35 / 2
17.5
17 / 2
8.5
8/2
4
4/2
2
2/2
1
1/2
1
Binary Natation for the number 71 is 01000111

Binary
1
1
1
0
0
0
1

So the IP Addressof 1 has its binary form equivalent of :

10101100.00010001.01100011.01001101
Subnet Mask

Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

2 Octet ( 255 ).
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

3 Octet ( 0 )
IP Address
Answers
Binary
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
Binary notation for the number 0 is 00000000 ( since there is no number to
subtract for 0 so , automatically the answer is 00000000 ) .
4 Octet ( 0 )
IP Address

Answers

Binary

0/2
0
0/2
0
0/2
0
0/2
0
0/2
0
0/2
0
0/2
0
0/2
0
Binary notation for the number 0 is 00000000 ( since there is no
subtract for 0 so , automatically the answer is 00000000 ) .

0
0
0
0
0
0
0
0
number to

So the IP Addressof 255.255.255.0 has its binary form equivalent of :

11111111.11111111.11111111.00000000

Number of Subnet Bits :255.255.255.0>>8

11111111.11111111.11111111.00000000
Number of Host :216

Number of Host Bits per subnet :216>>65536

Number of usable Hosts per Subnet :219 2 = 65536 2 = 65536

IP Address of first host on this subnet :172.17.99.71


00100001
172.17.99.1
00000001

11000000
11000000

11000000
11000000

00001010
00001010

IP Addressof Last Host on this subnet :172.17.99.1 11000000


172.17.99.254
11111110

11000000

11000000
11000000

00001010
00001010

00000001

Broadcast Addressfor this subnet :Use 8 Number of Last Host

172.17.99.0 11000000
172.17.99.255

11000000

11000000

00001010

11000000

00000000

00001010

10101100.00010001.01100011.01001101

Problem 5
Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet
Subnet Address for this IP address
IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet

192.168.3.219
255.255.255.0
8 Bits
28= 256 Subnet
254
28 - 2 = 256 - 2 = 254 Host Per Subnet
192.168.3.0
192.168.3.1
192.168.3.254
192.192.10.255

Step 1 : Translate host IP Address and subnet mask into Binary natation
192

168

IP ADDRESS
11011011

11000000

10101000

Subnet Mask
00000000

11111111

11111111

255

255

First , List down these Value of Numbers.


Take the Host IP Address 192.168.3.219

255

219
00000011
11111111
0

and Start ith the First Octet ( 192 )


IP Address
Answers
Binary
192 / 2
96
0
96 / 2
48
0
48 / 2
24
0
24 / 2
12
0
12 / 2
6
0
6/2
3
0
3/2
1.5
1
1/2
0.5
1
So now we know that a Decimal Number 192 is 11000000 converted to Binary
from.

2 Octet ( 168 )
IP Address
Answers
Binary
168 / 2
84
0
84 / 2
42
0
42 / 2
21
0
21 / 2
10.5
1
10 / 2
5
0
5/2
2.5
1
2/2
1
0
1/2
0.5
1
So now we know that a Decimal Number 168 is 10101000 converted to Binary
from.
3 Octet

(3)

IP Address
Answers
3/2
1.5
1/2
1
Binary Natation For the number 3 is 00000011

Binary
1
1

4 Octet ( 219 )
IP Address
219 / 2
109 / 2
54 / 2
27 / 2
13 / 2

Answers
109.5
54.5
27
13.5
6.5

Binary
1
1
0
1
1

6/2
3
3/2
1.5
1/2
1
Binary Natation for the number 219 is 11011011

0
1
1

So the IP Address of 192.168.3.219 has its binary form equivalent of :

11000000. 10101000. 00000011. 11011011

Subnet Mask
Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

2 Octet ( 255 ).
IP Address
255 / 2
127 / 2
63 / 2
31 / 2
15 / 2
7/2
3/2
1/2

Answers
127.5
63.5
31.5
15.5
7.5
3.5
1.5
0.5

Binary
1
1
1
1
1
1
1
1

Binary Notation for the number 255 is 11111111.


3 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 0 is 00000000.

Binary
1
1
1
1
1
1
1
1

4 Octet ( 0 )
IP Address
Answers
Binary
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
0/2
0
0
Binary notation for the number 0 is 00000000 ( since there is no number to
subtract for 0 so , automatically the answer is 00000000 ) .
So the IP Address of 255.255.0.0 has its binary form equivalent of :

11111111.11111111.00000000.00000000
Number of Subnet Bits :255.255.0.0>>16

11111111.11111111.00000000.00000000
Number of Host :28

Number of Host Bits per subnet :-

216>>256

Number of usable Hosts per Subnet :216 2 = 65536 2 = 65534

IP Address of first host on this subnet :192.168.3.0


00000000

11000000

10101000

00000011

192.168.3.1
00000001

11000000

10101000

00000011

IP Addressof Last Host on this subnet :192.168.3.1


00000001
192.168.3.254
11111110

11000000

10101000

11000000

00000011

10101000

00000011

Broadcast Addressfor this subnet :Use 16 Number of Last Host

192.168.3.0
192.168.3.255
11111111

11000000

10101000

11000000

00000011

10101000

Problem 6

00000000
00000011

Host IP Address
Subnet Mask
Number of subnet bits
Number of subnets
Number of Host bits Per Subnet
Number of usable Hosts per Subnet
Subnet Address for this IP address
IP address of First host on this subnet
IP Address of Last Host on this subnet
Broadcast Address for this subnet

192.168.3.219
255.255.255.224
5 Bits
25= 32 Subnet
32
25 - 2 = 32 - 2 = 30 Host Per Subnet
192.168.3.0
192.168.3.1
192.168.3.254
192.192.10.255

Step 1 : Translate host IP Address and subnet mask into Binary natation
192

168

IP ADDRESS
11011011

11000000

10101000

Subnet Mask
11100000

11111111

11111111

255

255

255

219
00000011
11111111
224

First , List down these Value of Numbers.


Take the Host IP Address 192.168.3.219
and Start ith the First Octet ( 192 )
IP Address
Answers
Binary
192 / 2
96
0
96 / 2
48
0
48 / 2
24
0
24 / 2
12
0
12 / 2
6
0
6/2
3
0
3/2
1.5
1
1/2
0.5
1
So now we know that a Decimal Number 192 is 11000000 converted to Binary
from.

2 Octet ( 168 )
IP Address
Answers
Binary
168 / 2
84
0
84 / 2
42
0
42 / 2
21
0
21 / 2
10.5
1
10 / 2
5
0
5/2
2.5
1
2/2
1
0
1/2
0.5
1
So now we know that a Decimal Number 168 is 10101000 converted to Binary
from.
3 Octet

(3)

IP Address
Answers
3/2
1.5
1/2
1
Binary Natation For the number 3 is 00000011

Binary
1
1

4 Octet ( 219 )
IP Address
Answers
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
1
Binary Natation for the number 219 is 11011011

Binary
1
1
0
1
1
0
1
1

So the IP Address of 192.168.3.219 has its binary form equivalent of :

11000000. 10101000. 00000011. 11011011

Subnet Mask
Repeat the same procedure used for the IP Address to convert the subnet Mask
into Binary notation.
1 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

2 Octet ( 255 ).
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

3 Octet ( 255 )
IP Address
Answers
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
Binary Notation for the number 255 is 11111111.

Binary
1
1
1
1
1
1
1
1

4 Octet ( 0 )
IP Address
Answers
Binary
224 / 2
112
0
112 / 2
56
0
56 / 2
28
0
28 / 2
14
0
14 / 2
7
0
7/2
3.5
1
3/2
1.5
1
1/2
1
1
Binary notation for the number 0 is 00000000 ( since there is no number to
subtract for 0 so , automatically the answer is 00000000 ) .
So the IP Address of 255.255.255.224 has its binary form equivalent
of :

11111111.11111111. 11111111.11100000
Number of Subnet Bits :255.255.255.224>>5

11111111.11111111.11111111.11100000
Number of Host :25

Number of Host Bits per subnet :25>>32

Number of usable Hosts per Subnet :25 2 = 32 2 = 30

IP Address of first host on this subnet :192.168.3.2


11101010

11000000

11000000

00000011

192.168.3.1
00000001

11000000

11000000

00000011

IP Addressof Last Host on this subnet :192.168.3.1


00000001
192.168.3.255
11111111

11000000
11000000

11000000
11000000

00000011
00000011

Broadcast Addressfor this subnet :Use 8 Number of Last Host

192.168.3.0
00000000
192.168.3.255
11111111

11000000
11000000

11000000
11000000

00000011
00000011

Vous aimerez peut-être aussi