Jump to content

Recommended Posts

Posted

My DHCP server dishes out IP's to 3 subnets - 192.168.0/1/2

 

It has the correct settings for DNS and Router.

 

Any PCs in the 192.168.0.* subnet work perfectly.

 

Those in the 192.168.1/2.* subnets get assigned the router and DNS but cant ping them.

 

Whats the obvious mistake I have made and missed?

 

Thanks

 

Chris

Posted (edited)
Are the DNS and router IPs the same for all subnets? Subnets using a mask of 255.255.255.0? If so it sounds like the router and DNS are on the 192.168.1.x network, hence why that network works.. The other 2 subnets are different networks and need a router on their network to pass traffic to the 192.168.1.x network. Edited by Guest
Posted

Ive reduced my scope to 192.168.0.* only as I dont need that many addresses so the issue is redundant now.

However my subnet mask is 255.255.252.0 - could that be it?

Posted
Ive reduced my scope to 192.168.0.* only as I dont need that many addresses so the issue is redundant now.

However my subnet mask is 255.255.252.0 - could that be it?

 

that would give you 4 addresses?

Posted
That would be 255.255.255.252

 

255.255.252.0 should allow 4 class C's

 

Sorry my bad - i read it totally wrong! I presume they are all on the same Vlan? or different vlans?

 

The router and DNS servers have the correct subnets specified themselves?

Posted
Its my home/test/experiment network - just unmanaged switches

 

That will be the issue then. If you want to have different subnets you need to split them up. You can do this by either separate physical switches or VLANs. Then you need to route between these networks by using a layer 3 switch or a router.

Posted

You dont need a layer 3 switch you just need to have 1 scope with a different subnet mask

 

255.255.255.252.0 will give you 1022 addresses but you need to use a class b range 172.x.x.x - see here Online IP Subnet Calculator

 

The reason for vlans and a layer 3 switch is to spilt the subnets up into chunks. This limits broadcast traffic and makes things run better.

  • Thanks 1
Posted

So, let me try and get my head around it -

 

If I swap out the 192.168.0.0 for a 172.168.0.0 with a 255.255.252.0 mask it should allow me to dish out 4 subnets?

 

172.168.1/2/3.0 ?

Posted

172.168.x.x isnt a private range us something between this range - 172.16.0.0 - 172.31.255.255

 

If you use 172.16.0.1 with a subnet mask of 255.255.255.252 it will give you the range of 172.16.0.1 - 172.16.3.254 a total of 1022 addresses.

 

In your DHCP just create one scope with these settings.

Posted

I created the scope the same way with the 192.168 and it dished out IP addresses just fine.

Will this solve the DNS issues?

Posted (edited)

Try not to concern yourself with classes, since supernetting became the norm that terminology is no longer relevant. For example you can supernet your class C range (192.168.x.x) by using a class B type mask (255.255.252.0) - so what is it; class B or class C? See how classes become blurred into each other, hence why people tend not to use that terminology anymore (yes I know books do but thats theory based on 80/90s tech)

 

There is no reason why the above won't work so long as everything has the same subnet mask: 192.168.0.0-192.168.2.255 with mask 255.255.252.0 is one network/subnet/supernet.

 

You don't NEED a L3 switch or vlans to have different subnets on the same physical network. In production, as FNGM said, the reason is to limit broadcasts and to segregate the network for security. For testing you can just pretend its vlaned.

 

 

If you want to read more about the replacement to classes - http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

Edited by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...