When using iphonedetect, you do need to have a fixed IP, which would require a fixed mac address if DHCP.