I'm trying to understand how to determine if a device plugged to my PC with Ethernet cable has a static IP.
What I'm trying to do is to sniff DHCP packets that it sends and by looking at
DHCPDISCOVER packet, precisely at
Requested Ip Address (50) field, recognize what address device sets into it.
But recently I realized that if a device has information about previously leased IP address, it would also provide that address in
DHCPDISCOVER packet and now I am confused.
So how do I exactly tell if a device has static IP address bound to it?