I need to scan a LAN and match hosts with ips. I used nmap -sL 192.168.1.* and i got a list of hosts and ips as i wanted. But when i checked using ipconfig on a few machines i saw that resuts form ipconfig were different. for example host with name acer2 had ip 192.168.1.200 according to nmap and 192.168.1.25 according to ipconfig. Is that even possible? Did i do something wrong? I am really confused.
Thank you all. I hope i posted the correct way.