I have a layer three switch connected to four layer 2 switches with multiple PCs connected to them. Each interface has its own IP assigned as well as an associated DHCP pool, however, the PCs are pulling IPs from random pools. I am running the following config:
! interface FastEthernet0/10 no switchport ip address 192.168.4.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/11 no switchport ip address 192.168.0.1 255.255.254.0 duplex auto speed auto ! interface FastEthernet0/12 no switchport ip address 192.168.6.1 255.255.255.240 duplex auto speed auto ! interface FastEthernet0/13 no switchport ip address 192.168.5.1 255.255.255.0 duplex auto speed auto ! ip dhcp pool HQSwitch1Pool network 192.168.4.0 255.255.255.0 ! ip dhcp excluded-address 192.168.4.1 ip dhcp pool HQSwitch2Pool network 192.168.0.0 255.255.254.0 ! ip dhcp excluded-address 192.168.0.1 ip dhcp pool HQSwitch3Pool network 192.168.6.0 255.255.255.240 ! ip dhcp excluded-address 192.168.6.1 ip dhcp pool HQSwitch4Pool network 192.168.5.0 255.255.255.0 ! ip dhcp excluded-address 192.168.5.1 !
Any help would be appreciated