如何找到透過乙太網直接連線到第一臺計算機的第二臺計算機的ip地址?

如果您想或需要透過乙太網電纜將第二臺計算機直接連線到主計算機,那麼查詢第二臺計算機的IP地址最簡單的方法是什麼?今天的超級使用者問答帖子為沮喪的讀者提供了一些有用的建議。...

如何找到透過乙太網直接連線到第一臺計算機的第二臺計算機的ip地址?

如果您想或需要透過乙太網電纜將第二臺計算機直接連線到主計算機,那麼查詢第二臺計算機的IP地址最簡單的方法是什麼?今天的超級使用者問答帖子為沮喪的讀者提供了一些有用的建議。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

照片由Keary O.(Flickr)提供。

問題

超級使用者讀者Melebius想知道如何找到透過乙太網電纜直接連線到第一臺計算機的第二臺計算機的IP地址:

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 acti*** 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 c***idered making a broadcast “Ethernet ping” and reverse ARP, but I have been unable to find any instructi*** for this technique.

如何找到透過乙太網電纜直接連線到第一臺計算機的第二臺計算機的IP地址?

答案

超級使用者貢獻者grawity為我們提供了答案:

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.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-10 03:08
  • 閱讀 ( 32 )
  • 分類:網際網路

你可能感興趣的文章

什麼是dmz?如何在網路上配置dmz?

...管、面向internet的服務。那麼DMZ的目的到底是什麼呢?它如何保護你?你能在你的路由器上設定一個嗎? ...

  • 發佈於 2021-03-11 08:47
  • 閲讀 ( 46 )

如何製作乙太網交叉電纜

... 我們已經向您展示瞭如何**自己的直通以太網布線。這篇文章可能很老,但它在今天仍然和以前一樣重要。但是,我們從未描述過如何**交叉電纜。如果你有興趣學習更多關於網路的知識,我...

  • 發佈於 2021-03-14 01:40
  • 閲讀 ( 51 )

網路101:乙太網、區域網及其工作原理

... 讓我們看看每一個如何有助於你的能力,看有趣的貓影片。 ...

  • 發佈於 2021-03-14 04:20
  • 閲讀 ( 51 )

在raspberry pi上設定vnc,以便用任何pc或手機遠端控制它

... 我們之前研究過如何使用VNC從Windows、Mac或Linux PC連線到Raspberry Pi,但是RealVNC與Raspbian Jessie和PIXEL desktop更新的整合意味著大部分過程都得到了簡化。 ...

  • 發佈於 2021-03-15 12:57
  • 閲讀 ( 50 )

如何直接連線到樹莓皮沒有網際網路

...它,超出你的無線網路。那麼,如果不**鍵盤和顯示器,如何與之通訊呢? ...

  • 發佈於 2021-03-16 08:17
  • 閲讀 ( 51 )

網路問題?7診斷技巧和簡單修復

... 讓我們逐步瞭解如何解決網路連線問題的基本過程。這樣,下次開啟web瀏覽器看到無法連線的訊息時,您就知道該怎麼辦了。像所有的故障排除一樣,我們將從廣義上開始,並縮小到細節...

  • 發佈於 2021-03-18 04:19
  • 閲讀 ( 57 )

為什麼您不再需要kvm交換機來進行多pc設定

...示器設定,而不是多系統設定,請參閱我們的指南,瞭解如何充分利用您的顯示器。 ...

  • 發佈於 2021-03-18 06:39
  • 閲讀 ( 38 )

將檔案從一臺計算機傳輸到另一臺計算機的5種方法

... 我們有一個簡單的指南,說明如何在Windows和Mac之間共享檔案。該過程還可以與Windows到Windows和Mac到Mac一起工作。如果您在Linux上,菜單系統取決於您的作業系統。但是一旦你進入網路設定,你會發現它...

  • 發佈於 2021-03-18 14:10
  • 閲讀 ( 56 )

macos中隱藏的coreservices資料夾的細分

... 您在哪裡找到coreservices? ...

  • 發佈於 2021-03-21 16:43
  • 閲讀 ( 64 )

usb over ethernet:您不使用的最強大的系統

... 很多!下面是幾個例子,然後是對如何做到每一個的更深入的解釋: ...

  • 發佈於 2021-03-26 11:31
  • 閲讀 ( 45 )
mzijdh
mzijdh

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦