Link to home
Create AccountLog in
Avatar of dev2030
dev2030

asked on

Subnet - Subnetting - classless address block

Hello!
I have an address block of 192.168.0.0/24
I have to get a smaller block so I can get 6 subnets out of it.

I think 192.168.0.0/28 can be that block? so what will be the first subnet ip (network) address?

Is there an easy way to subnet the subnet, to use the address block more efficiently?

What is a gateway, is it the router address?

Last how do I create a routing table for a router with more than one address to get to a host?
ASKER CERTIFIED SOLUTION
Avatar of Sommerblink
Sommerblink
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
As far as routing between this goes:

You will need one more subnet. This subnet will contain all the 'WAN' interfaces for your 6 routers. (Perhaps take one of those two spare subnets from the /27)

The 6 routers will need to know the subnets for your remaining 5 routers.


This can be done either via static entries or you can use RIP.
Avatar of dev2030
dev2030

ASKER

Thank you for your answer. Can you subnet the first subnet and create 6 subnets. Each subnet have not more than 4 hosts. Sorry for not mentioning it, but thank you for complete reply, really appreciate it:)
Unfortunately no.

With your /24, you can either subnet that to a /25, which will have two subnets. Or a /26 which will contain 4 subnets or a /27 which will have 8 subnets. (a /28 will have 16 subnets, within a /24, and so on and so forth).

This is just an byproduct of binary math..

But as I said originally, there are two and only two things which confine you with subnetting:

1) The number of subnets you need and ;
2) The number of host / subnet.

You must factor in the largest of BOTH, in order to successfully divide your network.

In this case, you have just 3 options:
The largest subnet you can go with is a /27 (provides 8 subnets with 32 address [30 usable])
/28 provides 16 subnets with 16 addresses (14 usable)
The most subnets you can go with is a /29 (provides 32 subnets with 8 addresses [6 usable])

Of course you can go with non-symetric subnetting and get many more combinations...
Avatar of dev2030

ASKER

Thank u for explaining this in such detail and making it easier to understand.

So when it comes down to it, which is better use of address block, getting lower number of subnets, or higher. I think lower number will give us lower Masks bit but at the same time it will be better use of address space. AM I RIGHT HERE:)?

For example, 32 subnets will give the right amount of hosts. But we need only 6 subnet. So if we use mask 27, is it better than using 32, I mean it saves address space right?
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of dev2030

ASKER

Thanks a lot, great help:) REALLY AWESOME:)

Thank you!!!!