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?

- A crossover cable should be used in place of the straight-through cable.
- A rollover cable should be used in place of the straight-through cable.
- The subnet masks should be set to 255.255.255.192.
- A default gateway needs to be set on each host.
- The subnet masks should be set to 255.255.255.0.
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.
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.
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.
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.
Shaoor said:
9 years ago
Suppose a company ABC wants to develop two LANs for its different departments in the same building. For LAN network the main factors to consider are reliability, security, and speed. The company has also no cost constraints for the development of LANs.
After LAN development, this company also needs to connect these two LANs with each other and with its remote offices located in different cities.
1. Identify the suitable medium that will fulfill the requirements of the company in order to develop LANs.
2. Which type of address will be associated when data will travel from one user to another user within same LAN?
VLAN. if two people attempt to send information at the same time,
3. If the user of one LAN wants to communicate, with a remote user located in another city network then which type of address will be used?
4. Which type of networking device will be used to transfer data from one of the LANs to a remote user located in the network of another city?
Please tell me the solution.
After LAN development, this company also needs to connect these two LANs with each other and with its remote offices located in different cities.
1. Identify the suitable medium that will fulfill the requirements of the company in order to develop LANs.
2. Which type of address will be associated when data will travel from one user to another user within same LAN?
VLAN. if two people attempt to send information at the same time,
3. If the user of one LAN wants to communicate, with a remote user located in another city network then which type of address will be used?
4. Which type of networking device will be used to transfer data from one of the LANs to a remote user located in the network of another city?
Please tell me the solution.
Ehifameh Egbiremolen said:
9 years ago
D answer is perfect. You check again. It is a private IP address.
Jay said:
9 years ago
Please give a little explanation about crossover cable theory.
Peerzada shabir said:
1 decade ago
We cannot use subnet mask 255.255.255.240 with both IP addresses as this subnet mask will take them in two different subnets(networks).
The binary equivalent of 240 is 11110000. i.e 16 is the increment.
The possible networks are:
192.168.1.0 to 192.168.1.15.
192.168.1.16 to 192.168.1.31------>192.168.1.20 belongs to here.
.
.
.
.
.
192.168.1.192 to 192.168.1.207----->192.168.1.201 belongs here.
192.168.1.208 to 192.168.1.223.
192.168.1.224.
So we can clearly see that if we use subnet mask 255.255.255.240 then communication will not be possible as both will be on separate networks. So we have to use 255.255.255.0 subnet in both so that they belong to same network.
The binary equivalent of 240 is 11110000. i.e 16 is the increment.
The possible networks are:
192.168.1.0 to 192.168.1.15.
192.168.1.16 to 192.168.1.31------>192.168.1.20 belongs to here.
.
.
.
.
.
192.168.1.192 to 192.168.1.207----->192.168.1.201 belongs here.
192.168.1.208 to 192.168.1.223.
192.168.1.224.
So we can clearly see that if we use subnet mask 255.255.255.240 then communication will not be possible as both will be on separate networks. So we have to use 255.255.255.0 subnet in both so that they belong to same network.
Tabrez said:
1 decade ago
Please explain why?
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.
Mokonnin Alemu said:
1 decade ago
First, if you have two hosts directly connected, 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.
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers