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
pajiaoAsked:
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.

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
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

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

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
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
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
Networking

From novice to tech pro — start learning today.