Workstation A has been assigned an IP address of 192.0.2.24/28. Workstation B has been assigned an IP address of 192.0.2.100/28. The two workstations are connected with a straight- through cable. Attempts to ping between the hosts are unsuccessful. What are two things that could be attempted that would allow communications between the hosts? (Choose two.)
A. Replace the straight-through cable with a crossover cable.
B. Change the subnet mask of the hosts to /25.
C. Change the subnet mask of the hosts to /26.
D. Change the address of Workstation A to 192.0.2.15.
E. Change the address of Workstation B to 192.0.2.111.
Answer : A and B
Explanation:
A: Host to Host communication needs crossover cable.
Both hosts using 190.0.2.0 network with /28 mask.
Subnet Mask : 255.255.255.240
= 256 – 240 = 16
Network Address | Broadcast Address |
0 | 15 |
16 | 31 (Host A) |
32 | 47 |
48 | 63 |
64 | 79 |
80 | 95 |
96 | 111 (Host B) |
112 | 127 |
128 | 143 |
144 | 159 |
160 | 175 |
Option D and E are not possible: because both are broadcast addresses.
In case we use /26 instead of /28 then
Network Address | Broadcast Address |
0 | 63 (Host A) |
64 | 127 (Host B) |
128 | 191 |
192 | 255 |
C: Now also Host A and Host B belongs to different subnets.
In case we use /25 instead of /28 then
Network Address | Broadcast Address |
0 | 128 (Host A & Host B) |
128 | 255 |
B: If we use /25, both Host A and Host B belongs same subnet
Comments
Post a Comment