Direct ethernet connection with automatic IP allocation - how to get the opposite node IP?

by Espinosa   Last Updated July 12, 2019 06:01 AM

I am trying to connect 2 PCs directly with ethernet cable. One running Linux, acting as home server and it's headless, the other is a normal Windows laptop. Lets assume that both run some kind of IP auto-configuration; on Windows APIPA (Automatic Private IP Addressing), on Linux assume something like avahi-autoipd. Let's assume that that everything work correctly. APIPA, to my best knowledge, assigns random IP from 169.254.x.x range; I assume that avahi-autoipd does the same.

Question is: how can I get the IP address of the opposite node?

Lets assume that the opposite node, the Linux box, is headless so I cannot simply go there and read it there. Also it has no other network or other communication interface so I cannot, say, ssh there by the side channel and read it.

Related Questions

Updated July 03, 2017 04:01 AM

Updated April 06, 2015 18:00 PM

Updated August 28, 2015 21:00 PM

Updated June 04, 2017 08:01 AM