I am in need to configure two DHCP pools on my Cisco 3750 switch (I have2 other VLANs for which I do not want to enable the DHCP service). This seems to be quite straightforward, but I need clarification on something. If I define pools like this:
ip dhcp pool VLAN40 network 192.168.15.0 255.255.255.0 dns-server 10.99.212.1 default-router 192.168.15.1 ip dhcp excluded-address 192.168.15.1
ip dhcp pool VLAN60 network 192.168.1.0 255.255.255.0 dns-server 10.99.212.1 default-router 192.168.1.1 ip dhcp excluded-address 192.168.1.1
I am a bit lost where does the actual binding takes place. How do I define that pool VLAN40 is supposed to be set on my VLAN40 and pool VLAN60 on my VLAN60 subnets and not other subnet (VLAN) configured on the switch? Is there a way to disable temporarily one of the DHCP pools? Or do I need to disable it globally on the switch impacting other DHCP pools as well?