you don't need layer 3 device, will work fine on layer 2 switch as long ip & gateway are configured.
For eg. on Cisco 2960G switch.
c2960#sh mac address-table interface gi0/3 Mac Address Table-------------------------------------------Vlan ...
I was just going to say what Tim Y said, (good thing I read the whole thread). Essentially if your HP switches are Layer 3 & capable of routing. It would be much better to configure the network that way.
Following is based on assumption that you do h...