Score:0

how to find Link-local (APIPA) address of another computer which is directly connected to my PC

cw flag

My task is to SSH into an embedded (linux) computer system from my PC. I have connected my PC directly to an embedded computer using LAN cable, both computers are configured to get IP address using DHCP.

Once the cable is plugged in, my PC gets a link-local IP address like: 169.254.11.114 . The embedded computer doesn't have any monitor, keyboard connected to it so I cant see its IP address.

I'm carious if there's any way that I can find the embedded computer's link-local IP address ?!

Of course I know that I can use a DHCP server and connect the computers to it so I can easily do this task, but my question is specially about finding link-local address of the other computer in a peer to peer connection.

djdomi avatar
za flag
use an ip scanner like nmap, it scans the /16 in less a minute
4snok avatar
es flag
try `arp -a` command
milad-gh avatar
cw flag
@djdomi seems its taking much longer time for me, I'm using this command "nmap -sn -n -T5 169.254.0.0/16" but estimated time is around 53 minutes !!!
milad-gh avatar
cw flag
@4snok its only showing my local PC address !
djdomi avatar
za flag
can we please know, what is the OS of the systems that are being used?
milad-gh avatar
cw flag
Sure, my local PC has windows and the other system has Linux.
djdomi avatar
za flag
You may have not used the cheats table for nmap ;) you may want to use `–min-hostgroup 256` and maybe `–min-parallelism 256` where the first parameter is for host paralism and the second for ports, which will speed up the process insanely 256 is an example value and could/should be scaled on your system that is been used for
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.