Networking - Subnetting - Discussion

Discussion Forum : Subnetting - Subnetting (Q.No. 3)
3.
A network administrator is connecting hosts A and B directly through their Ethernet interfaces, as shown in the illustration. Ping attempts between the hosts are unsuccessful. What can be done to provide connectivity between the hosts?
  1. A crossover cable should be used in place of the straight-through cable.
  2. A rollover cable should be used in place of the straight-through cable.
  3. The subnet masks should be set to 255.255.255.192.
  4. A default gateway needs to be set on each host.
  5. The subnet masks should be set to 255.255.255.0.
1 only
2 only
3 and 4 only
1 and 5 only
2 and 5 only
Answer: Option
Explanation:
First, if you have two hosts directly connected, as shown in the graphic, then you need a crossover cable. A straight-through cable won't work. Second, the hosts have different masks, which puts them in different subnets. The easy solution is just to set both masks to 255.255.255.0 (/24).
Discussion:
26 comments Page 2 of 3.

Manjumudhuval said:   8 years ago
2^4=16 subnets to be divided of each 16 valid IPs.

The only range starts 0-15, 16-31........176-191,192-207, 208-223,224-239, 240-255 valid IPs because The 207 comes under the same network.

If it's wrong any one make me understand.
(2)

Darth vader said:   8 years ago
They are in different networks, always make bitwise AND operation to find if the computers in the same network. One of them belong to 192.168.1.16 and the other one in 192.168.1.192.

Never forget computers think in binary.

Saravanan said:   9 years ago
Ip address 192.168.1.20 it is class C network.

Class C Network occupies 24 networks bits & 8 hosts bits
So network bits full 1's.

11111111.11111111.11111111.00000000
255 . 255 . 255 . 0

Sudheer gupta said:   9 years ago
In this mask, Only 14 host address will be used.

20 comes between 16 to 31.

But 201 is not between 16 to 31.

So it is another subnet. Hence communication is possible. And cause of cable as will.

Nathi said:   1 decade ago
Please explain why would the two hosts be in different sub nets as they both have the 255.255.255.240 and also wouldn't they belong in the same IP range?. Please explain?.

Yasser said:   1 decade ago
The .244 in mask means that there are only 4 allowable host bits thus can't afford to make address .201 for right host if all 4 bits where ones.

Ehifameh said:   9 years ago
It was kind of confusing. But crossover cable should be used and IP add should be in a class C. There won't be any problem.

Ehifameh said:   9 years ago
It was kind of confusing. But crossover cable should be used and IP add should be in a class C. There won't be any problem.

Marcus said:   9 years ago
If 255.255.255.240 is used how they are on different networks. Someone show me how( 255.255.255.0) works?

Alooma said:   1 decade ago
But looking at the mask address they are both on the same mask address 255.255.255.240, please explain.


Post your comments here:

Your comments will be displayed after verification.