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.4k
- Engineering Mathematics 5.9k
- Digital Logic 2.3k
- Programming & DS 4.3k
- Algorithms 3.7k
- Theory of Computation 4.6k
- Compiler Design 1.7k
- Databases 3.4k
- CO & Architecture 2.9k
- Computer Networks 3.4k
- Non GATE 1.2k
- Others 1.3k
- Admissions 506
- Exam Queries 482
- Tier 1 Placement Questions 22
- Job Queries 64
- Projects 16

40,927 questions

47,580 answers

146,431 comments

62,311 users