theres a unique class identifier built into the IP phone, and you confog options on teh DHCP server to make it "internet-aware"
also remember, if you do partial DHCP or Full DHCP you still have to go to the phone and manually enter the TN and node ID (sucks I know, dont know why this is the case. Unless it has changed since i installed my equipment 2 years ago or so, I use mostly Cisco VoIP now)
i have a good doc on this stuff, IP line Description, Installation, operation Doc# 553-3001-204