cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
871
Views
0
Helpful
1
Replies

Need Subnet Calculation?

rameuniver
Level 1
Level 1

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 two things can be done to  allow communications between the hosts? The following is the answer

Change the subnet mask of the hosts to /25.

Can anyone tell me the procedure for calculation of this kind of problems?

1 Reply 1

Ahmed Malik
Level 1
Level 1

Ok first thing to note is that it says the workstations are connected via a "straight through" cable which is wrong you need a cross over cable if you are connecting two station directly.

Secondly about calculation :-

this is a class C ip address and the subnet mask is also of class C so all the changes will be in the last octet of this address now that being cleared.

/28 = 16 - 2 hosts in each subnet

/25 = 128 - 2 hosts in each subnet

So with a subnet mask of /25 you get both workstations in the same subnet and they will be able to communicate. Basically if you know subneting then this aint a difficult question.

Rate if you found it helpful in some manner

Review Cisco Networking products for a $25 gift card