Solved

Calculating subnet mask

Posted on 2009-05-04
8
1,260 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 31 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 31 total points
ID: 24293681
225.225.224.0
0
 
LVL 2

Assisted Solution

by:stany0
stany0 earned 31 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 68

Accepted Solution

by:
woolmilkporc earned 32 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is this network design suitable? 3 89
Understanding Security Log Events 2 62
policy based routing with recursive added - Cisco 1 45
Configure BGP 22 9
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
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…

808 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