How To Ideas

How do You Find the IP Address of a Second Computer Directly Connected to the First One by Ethernet?

0

find-the-ip-address-of-second-computer-directly-connected-to-first-one-00

If you want or need to directly hook up a second computer to your primary one via Ethernet cable, what is the easiest way to find the IP address for the second one?

I have connected my primary computer to another one using a direct Ethernet cable connection. The second computer has no peripherals attached and I want to access it using RDP and SMB. The IP addresses are auto-configured, so it registers something in the range of 169.254.x.x.

I can wait until Windows recognizes the other computer or scan IP addresses, but both actions take a long and unpredictable amount of time. Is there a faster way to recognize the second computer at the other end of the Ethernet cable connection? I have considered making a broadcast “Ethernet ping” and reverse ARP, but I have been unable to find any instructions for this technique.

How do you find the IP address of a second computer directly connected to the first one by an Ethernet cable?

The Answer

A broadcast IP ping might work. Not all systems answer to it, but some do when in 169.254 mode. Try ping 169.254.255.255 (needs -b on Linux), or ping ff02::1 (needs ping6 on Linux).

Directly sending a name lookup (using nbtstat -a) might work (if it runs Windows and if you know the computer’s name).

The 169.254 auto-configuration involves sending some ARP probes with the host’s own address (you can see those in Wireshark).

“Ethernet ping” exists, but only works at the Ethernet level. It will not tell you anything about the IP (It is sometimes implemented in the NIC itself, but mostly not implemented at all).

“Reverse ARP” also exists, but is almost never actually implemented either. Its primary use was superseded by BOOTP and later DHCP.

Have something to add to the explanation? Sound off in the comments.

Related Posts Plugin for WordPress, Blogger...
Nagaraju Tadakaluri
Nagaraju Tadakaluri is a Professional Web Designer, Freelance Writer, Search Engine Optimizer (SEO), Online Marketer, Multi Level Marketer (MLM) and Business Promoter. Have developed Latest Updates in hopes to educate, inform and inspire.

Oppo A53 With 5.5-Inch Display, Snapdragon 616 SoC Launched

Previous article

Apple MacBook Air Lineup Set for Boost, 15-Inch Model Expected: Report

Next article

You may also like

Comments

Comments are closed.

More in How To Ideas