Solved

Subnet Mask Help

Posted on 2013-06-20
3
759 Views
Last Modified: 2013-06-21
Today I was faced with this question:

A server and PC are connected through a hub.  Their IP configs are as follows:

Server: 192.168.10.155, SM: 255.255.255.0
PC:  192.168.20.201  SM: 255.255.0.0

The client is having trouble communicating with the server.  What would you do?

Now, for me, the obvious solution would be to make the SMs the same.  But the example said "other than making the SMs the same".  

Could I use something like 255.255.240 on the PC?  If so, why?  I'm a little green with all this subnetting stuff..
0
Comment
Question by:dougp23
3 Comments
 
LVL 92

Expert Comment

by:John Hurst
ID: 39264725
The server and PC are on different subnets. Why?  One is on .10 and the other is on .20. The subnet mask is not the issue at this point.

Are you really using a HUB?  and then why not use a Switch (which has a few more smarts)?

... Thinkpads_User
0
 
LVL 17

Accepted Solution

by:
lruiz52 earned 500 total points
ID: 39264733
Actually you would have to change it to 255.255.224.0 on the PC to be able to communicate with the Server

As they stand, they are two seperate networks. The Server is in Network 192.168.10.0/24
It can communicate with anything in the rage of 192.168.10.1 - 254

The PC is in network 192.168.0.0/16 and can communicate with anything in the range from 192.168.0.1 - 192.168.255.254

If you change the subnet on the PC to 255.255.224.0 it will be in the 192.168.1.0/19 network  and can communicate with anything in the range from 192.168.0.1 - 192.168.31.254.

and since the Servers ip is withn the PC's Range It should be able to communicate. Its not recommended to have it this way, but communication can happen.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 39264751
A server and PC are connected through a hub.  Their IP configs are as follows:

Server: 192.168.10.155, SM: 255.255.255.0
PC:  192.168.20.201  SM: 255.255.0.0

The client is having trouble communicating with the server.  What would you do?

Now, for me, the obvious solution would be to make the SMs the same.  But the example said "other than making the SMs the same".  
Using your scenario as written... Either change the IP address of the PC to 192.168.10.xxx, or change the IP address of the Server to 192.168.20.xxx.  Without changing the masks, the two hosts will be able to communicate with each other.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
TCP/IP Printer Installation using Powershell 11 89
TCP handshake objects server 2012 7 32
error with file_get_contents and unserialize 22 127
Sonicwall Dropbox Control 5 220
Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now