I have a Catalyst 3560 with a 12.4 ipservices image, in which I configured DHCP server for a data vlan and a voice vlan. the configuration is:
ip dhcp pool <pool name>
network 10.0.0.0 255.0.0.0
Pool 1 is for data and pool 2 for voice
The interface config is
interface range FastEthernet0/1-24
switchport access vlan 109
switchport voice vlan 209
mls qos trust dscp
The problem is when I connect a phone it gets an IP address from the data pool, not the voice pool.
What am I doing wrong or what is missing in the configuration?