Solved

Same subnet, different subnet mask, direct communication?

Posted on 2006-10-23
5
298 Views
Last Modified: 2011-09-20
Hi Guys,
    I'm wondering if two computers on the same subnet can still communicate directly with each other, ie not through a router, if one has its subnet mask configured incorrectly, for example if the subnet of computer A is correctly 255.255.224.0 and the subnet of computer B is 255.255.0.0.
Yeh, i know that normally computers on different subnets have to go through a router or the default gateway but what if the subnet was configured like above?

Cheers,
phram3z
0
Comment
Question by:phram3z
  • 2
  • 2
5 Comments
 
LVL 70

Assisted Solution

by:Chris Dent
Chris Dent earned 64 total points
ID: 17787481

Only if they are within the same most restricted mask.

Any traffic outside the mask range will be sent to the Default Gateway (unless a static route has been specified), the route back just doesn't work.

Chris
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 192 total points
ID: 17787580
Agreed.  They would have to be within the 255.255.224.0 mask, e.g. if you were using
10.0.0.0 ranges then

Devices all within the range 10.0.0.1 to 10.0.31.254 can communicate
Likewise 10.0.32.1 to 10.0.63.254 etc.

In situations where mask or gateway has been set wrongly easiest remote fix is to jump onto a box within the same subnet and reconfigure it from there.

In your case as the mask has been set too big it will communicate fine within it's local LAN but another IP (such as 10.0.127.1 in the example above, e.g. a device on another subnet or over a WAN) won't be able to communicate with it because packets won't return to the default gateway as they will be seen as local.

If a WAN link goes to another address range outside the 255.255.0.0 mask, again not an issue.

Any particular problem here or just after a bit of background?

Steve
0
 

Author Comment

by:phram3z
ID: 17787642
thanks doods =P quite helpful
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 17787673
Pleasure :)

Chris
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17787766
No problem. Steve
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guest Wi-Fi Marketing solution required 8 81
Activate recording on Zavio B7510 5M Outdoor Bullet IP camera 1 42
nexus filter logs 3 43
Port group in esxi 6 74
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

775 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