I have a 3560 and I created two Vlans on it. I created vlan 100 and vlan 110.
This switch is running in layer3 so it will route. I started the DHCP server because we need to enable dhcp.
I created two pools and I called them vlan100 and vlan110
vlan100 I set an IP network of 192.168.1.XXX /24
vlan110 I set 192.168.2.XXX /24
On each vlan interface, I added an address of 192.168.X.1 /24. I added this because I thought that was the only way to get the dhcp server to hand out dhcp to that subnet.
My problem now is, because its a layer3 switch they can route now. They can route to each other.
I removed the default gateway out of the dhcp pulls so the clients do not get a default gateway. But if they add it in, it still works.
The only way to get around this is an access-list?
How do I create it, i want them to get dhcp but not get out to antoher vlan.
Or am I doing this all wrong, and is there another way?