0% found this document useful (0 votes)
8 views

Computer Networks

Uploaded by

wajeeha4804
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)
8 views

Computer Networks

Uploaded by

wajeeha4804
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
You are on page 1/ 2

A. Subnet the Class C IP Address 195.1.1.

0 So that you have 10 subnets each with a

maximum 12 hosts on each subnet. List the Address on host 1 on subnet 0,1,2,3,10. Marks: 3.5

For at least 10 subnet mask we reserve the first 4 bits of host addresss

Subnet Network Address Host 1 Address


0 195.1.1.0 195.1.1.1
1 195.1.1.16 195.1.1.17
2 195.1.1.32 195.1.1.33
3 195.1.1.48 195.1.1.49
10 195.1.1.160 195.1.1.161

B. Given the subnet Mask 255.255.255.192. What is the host address and subnet of the

following IP address 197.1.2.67? Marks: 3

255.255.255.192 = 11111111.11111111.11111111.11000000

Thus, we have class C with 4 subnets of range

197.1.2.0 - 197.1.2.63

197.1.2.64 - 197.1.2.127

197.1.2.128 - 197.1.2.191

197.1.2.192- 197.1.2.255

As, we have 197.1.2.67 and it lies in range of 197.1.2.64 - 197.1.2.127 then 67-64 = 3

So, it is 3rd host in the range.

C. Subnet the Class C IP Address 195.1.1.0 So that you have at least 2 subnets each subnet

must have room for 48 hosts. What are the two possible subnet masks?

For creating 48 hosts for the we reserved 6 bits for the hosts.

A Class C IP address has 24 bits for the network part. To leave 6 bits for hosts, the remaining bits (32 -
24 - 6 = 2) will be used for subnetting.

This gives ( 2^2 = 4 ) subnets, which is sufficient since you only need 2 subnets.

Subnet Mask 1:

Network bits: 24 + 2 = 26 bits

Subnet mask: ( 255.255.255.11000000) in binary, which is 255.255.255.192 in decimal.

(providing 4 subnets, each with up to 62 hosts)

Subnet Mask 2:
If you needed more subnets and fewer hosts, you could use 7 bits for hosts and 1 bit for subnets,
resulting in a subnet mask of ( 255.255.255.128).

(providing 2 subnets, each with up to 126 hosts)

You might also like