The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+1 vote

For a class C network if IP address of a computer is 200.99.39.112 and subnet mask is 255.255.255.224 the decimal value of last octet of last host of sixth subnet is __________

According to me, the answer should be 101 11110 = 190. Because first subnet will have 000, so sixth subnet should have 101.

But the answer given is: 110 11110

According to me, the answer should be 101 11110 = 190. Because first subnet will have 000, so sixth subnet should have 101.

But the answer given is: 110 11110

+2

they calculate for subnet - 6. but we need to find subnet-5

May be thay confused in sixes subnet and subnet- 6

you are correct.

+1

yes 1st subnet is start with 0 .

example:

Network address = 193.168.1.0 = 11000000.10101000.00000001.00000000

Default subnet for class C = 255.255.255.0 = 11111111.11111111.11111111.00000000

Adding 8 subnets = 11111111.11111111.11111111.11100000

Subnet 0 will be 11000001.10101000.00000001.00000000 = 193.168.1.0

Subnet 1 will be 11000001.10101000.00000001.00100000 = 193.168.1.32

Subnet 2 will be 11000001.10101000.00000001.01000000 = 193.168.1.64

Subnet 3 will be 11000001.10101000.00000001.01100000 = 193.168.1.96

Subnet 4 will be 11000001.10101000.00000001.10000000 = 193.168.1.128

Subnet 5 will be 11000001.10101000.00000001.10100000 = 193.168.1.160

Subnet 6 will be 11000001.10101000.00000001.11000000 = 193.168.1.192

- All categories
- General Aptitude 1.5k
- Engineering Mathematics 7.1k
- Digital Logic 2.7k
- Programming & DS 4.9k
- Algorithms 4.2k
- Theory of Computation 5.3k
- Compiler Design 2.1k
- Databases 4k
- CO & Architecture 3.5k
- Computer Networks 4k
- Non GATE 1.4k
- Others 1.5k
- Admissions 559
- Exam Queries 553
- Tier 1 Placement Questions 23
- Job Queries 69
- Projects 18

47,913 questions

52,293 answers

182,250 comments

67,739 users