[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Subnetting

Hi,

I am using LAN addr range 192.168.1.0 mask 255.255.255.0

How can i create a subnet having a range of 192.168.1.1-60 and 192.168.1.61 -  ?
Need to specify such a range with its subnet for routing.

Thanks
0
pajiao
Asked:
pajiao
  • 2
  • 2
  • 2
  • +2
3 Solutions
 
andreacoppiniCommented:
Do you want to split the whole class C into 2?  Then that would be the following:

2 Networks:
192.168.1.1 - 192.168.1.126
192.168.1.129 - 192.168.1.254
Subnet Mask 255.255.255.128 (or /25)

4 Networks:
192.168.1.1 - 192.168.1.62      
192.168.1.65 - 192.168.1.126      
192.168.1.129 - 192.168.1.190      
192.168.1.193 - 192.168.1.254
Subnet Mask:  255.255.255.192 (or /26)

If you're looking for any other config just post.
0
 
masnrockCommented:
Andrea already gave you perfectly good advice with configuration. But in your case, you'll want more no more than 4 subnets due to the fact you wanted at least 60 hosts in each subnet. Other ways to do, just let us know. (like if you need a network with 64, and another with 128)

If you want another config, look at http://www.subnet-calculator.com/ or http://www.subnetmask.info

But there are other links for subnet calculating as well.
0
 
andreacoppiniCommented:
I use WildPackets IP Subnet Calculator.  It's free and does the job well (but you need to know a few basic things about subnetting).

http://www.wildpackets.com/products/free_utilities/ipsubnetcalc/overview
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
microrCommented:
Hi,

Im just interested to know why you would even want to do this? Just use 4 whole class C networks, 192.168.0/1/2/3 with a standard class C subnet. As they are non routable and effectively free  adress space i wouldnt worry about subnetting them.

For what its worth you sound like you are trying to make hard work / complicate things.

Andy
0
 
pajiaoAuthor Commented:
Hi Andrecoppini and masnrock,

Thanks for the nice illustration. Is there anyway to achieve my requirement of having a range of 192.168.1.1-60 and the other 192.168.1.61 -  xxx or perhaps having other subnets?

Thanks
0
 
masnrockCommented:
Lots of possible arrangements... but remember that the number of hosts in a subnet are powers of 2. 64 is the closest you'll get while having at least 60 (technically 62 when you factor out network address and broadcast address).
0
 
mattacukCommented:
The best way to get those desired host numbers is to subnet useing 2 bits.

Take the original address - 192.168.1.0 255.255.255 (/24), add 2 extra bits giving you 192.168.1.0 255.255.255.192 (26)

Your subnet ID's are then
192.168.1.0
192.168.1.64
192.168.1.128
192.168.1.192

your host ranges are

192.168.1.1 - 192.168.1.62
192.168.1.65 - 192.168.1.126
192.168.1.129 -192.168.1.190
192.168.1.193 -192.168.1.254

I belive this is the most suitable, and probably nearest match to what you want.

0
 
mattacukCommented:
note; as mentioned above behind a NAT device there is no real need to subnet at all, you could use ;

192.168.1.0 /24
192.168.2.0 /24
192.168.3.0 /24

with there standard 24 bit mask.you can then just use the host addresses you need.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now