Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Calculating subnet mask

Posted on 2009-05-04
8
Medium Priority
?
1,325 Views
Last Modified: 2012-05-06
Hello,

I would like to link my network to the one next door. Currently, he has the address range 192.168.30.1-254 and I have the address range 192.168.0.1-254.

What subnet mask would we need to use to allow these two networks to "talk" to each other? I have tried reading up on subnets but I am struggling to understand it.

Thanks,
Jonathan
0
Comment
Question by:acsell
8 Comments
 
LVL 57

Assisted Solution

by:Pete Long
Pete Long earned 124 total points
ID: 24293675
Hello acsell,

These are both Class C, networks (have a 255.255.255.0 subnet mask) to make then "SEE" Each other you would need a router between the networks with a route to each network

Regards,

PeteLong
0
 
LVL 4

Assisted Solution

by:anvanster
anvanster earned 124 total points
ID: 24293681
225.225.224.0
0
 
LVL 2

Assisted Solution

by:stany0
stany0 earned 124 total points
ID: 24293714
network portion of ip addresses must be the same. This addresses are class C, then the first three octets must be the same. The better way is to add second IP address to you NIC, which is in the network of your neighbor, or ask your friend to migrate to 192.168.0.0 network or you can migrate yours to 192.168.30.0. You can use Lan calculator from this page (http://lantricks.com/download/), and things will become clear.
To 'talk' each other the different networks, traffic between them must be flow trough a gateway router, server.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 68

Accepted Solution

by:
woolmilkporc earned 128 total points
ID: 24294032
anvanster - nearly perfect, let me just correct your typos  ;-)
255.255.224.0
which means -

first usable address - 192.168.0.1
last usable address -  192.168.31.254
thus no router needed.
wmp
0
 
LVL 5

Author Comment

by:acsell
ID: 24294042
Thank you for your replies. So, for what you have said, I can either do the following-

Put a router in-between the networks to route the traffic - I would not know how to configure this though.
Add a second IP address
Change them all to use 192.168.0.x or 1092.168.0.30
Change them to use 255.255.224.0 as a subnet mask.

From what I understand, 255.255.224.0 is a class B subnet mask. If I changed the subnet to this but kept the same class C IP addresses, would there be any downside?




(I don't know if it makes a difference but we actually have a server in-between the two networks with a wireless connection to my network and a wired connection to my friends network, these two connections have then been bridged on the server.)
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24294128
Don't worry about classes - we now have CIDR (and, if you insist. it's still class C anyway, as the above mask constructs 32 class C networks containing 8192 addresses each).
Please read this -
http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
You'll have to adjust the netmask of your server, of course.  
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24294207
Oops, made a typo myself - forget the 'each' above! The phrase was planned to look quite different when I began to write it down.
0
 
LVL 5

Author Closing Comment

by:acsell
ID: 31577491
Thanks for that information. I will change all of the subnets then.

Thank you all for your help.
Jonathan
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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…
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…

886 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