subnet question

Hi experts,

What does this phrase all these ips are in same subnet mean?

I believe  ip  10.10.x.x with subnet mask & 10.210.x.x with same subnet mask are in the same network .

But ip 10.10.x.x with subnet mask & 10.210.x.x with subnet mask are in different n/w?

Is my understanding correct ?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If your subnet was and your IP scheme was 10.x.x.x then 10.210.x.x would be in your network.  

In your example 10.10.x.x with subnet then only IP Addresses that begin with 10.10. would be in this network.  So 10.210 would not be in this network.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
That is correct, if you have an IP 10.10.x.x with subnet and another IP of 10.210.x.x with subnet  The IP in 10.10.x.x would be able to send data to 10.210.x.x but the reverse direction would attempt to send to the router instead of the network.... If you router can handle the data correctly (home routers cannot) then it would work but I wouldn't design a network this way...

Just to clear up stuff, 10.10.x.x would be able to transmit, although two way communication is required to transfer data so you would not be able to send files, ping, etc...
phoenix26Author Commented:

Just for example i gave those ip's.

Let me put it this way If the subnet masks differ then IP's will belong to different n/w.

IF subnet mask is same then the ips are in same network .

Am i right in my understanding?

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

That's not totally correct.  You can have the same subnet mask but your IP addresses can be in different networks.  For example if you have IP address 10.10.x.x with subnet you could also have 172.16.x.x (another Private IP address ranged used) with a subnet mask of  They have the same subnet but these two examples would not be in the same network because they are using totally different IP address ranges.

Hi Phoenix26,

So to reference your specific example :

If both subnet masks were set to this means that the first two octets (first two numbers separated by the dots) of the subnets represent different networks (the 10.10.x.x network and the 10.210.x.x network). The '0' portions of the subnet masks represent the hosts on the given subnets.

Now if subnet masks were then you would pay attention to the first octet of the subnets and see if they are the same (10.x.x.x and 10.x.x.x). In your case they would be both part of the 10.x.x.x network.

phoenix26Author Commented:
Hi all,

Thanks .

My question is if in same address range if they have same subnet mask then they are in same n/w?

Am i right to say that?

If in the same address range if they have different subnet mak then they are in different n/ws.Am i right in assuming that ?


Please reply asap
Yes if they are in the same address range....for example 10.210.x.x with subnet any address that begins with 10.210 in this environment would be in the same network.  

Using a class A subnet (wide open) only the first octet of the address needs to be the same. 10.x.x.x  Using a class B subnet the the first to octets need to be the same 10.10.x.x and using a class C subnet the first three octets need to be the same 10.10.10.x.  ( A class C subnet only gives you 254 available addresses on the network.)
phoenix26Author Commented:
Hi ,

Now please expalin this

Iam taking ur example it self does 10.136.X.X and 10.210.X.X are in the same subnets if we use the same mask .As I use the same subnet masks  can I assume that they are in same n/w?

No in this example they are not in the same network using class B subnet mask  

Using need the first two octets of the address to be the same.  So using 10.136.x.x as an example only addresses that begin with 10.136 will be in this network.   However if you change the subnet to a class A both the 10.136.x.x and the 10.210.x.x would be in the same network.
no.. 10.136.x.x with a subnet mask of is not in the same network as 10.210.x.x with subnet mask

In order for the two to communicate with each other there would need to be a router...

The only way for these to be on the same network would be for them to have a subnet mask of
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Architecture

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.