route issues

i have configured an ip address as 192.18.32.1/22. the interfce with such ip is configured as a dhcp server. systems connected to the interface get ip with different subnets as follows: 192.168.32.x, 192.18.33.x, 192.18.34.x and 192.18.35.x. my problem is that devices withing this different subnets can not access one another. do i have to specify a static route or something? please help out.

thanks

Could be a class issue. Did you mean 192.168.32.1 through 192.168.35.254? 192.168.1-254.x is considered a class C address which has a default subnet of 255.255.255.0. There might be a command in your router to ignore class. Changing that to 255.255.252.0 might not translate correctly in your router.

You could test this by rebuilding your environment to 172.16.x.x. Might be a bunch of work :frowning:

Maybe statically assign your router to 172.16.32.1 and two computers to 172.16.32.2 and 172.16.35.250. That would be a quick test. Since you should be able to specify a class b subnet mask it should just work.

Or is the default gateway being populated on the client? Are you using a single routed interface for all ~1000 addresses? If so I don’t think a static route would work but it might.

Is the router capable of sub interfacing?

On the router
int g0/0.32
ip address 192.168.32.1 255.255.255.0
int g0/0.33
ip address 192.168.33.1 255.255.255.0
int g0/0.34
ip address 192.168.34.1 255.255.255.0

on the switchport
switchport encapsulation dot1q
Switchport mode trunk
switchport trunk allowed vlan 32,33,34,35

And change the default gateway for each dhcp group for the network it is connected to.

With 1000 clients all on the same vlan things can get bogged down with broadcasts.

HTH
SD