Solved

Same subnet, different subnet mask, direct communication?

Posted on 2006-10-23
5
297 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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

22 Experts available now in Live!

Get 1:1 Help Now