0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

network > GARPを実行する方法 / SpanningTreeに注意

Last updated at Posted at 2015-08-25

Vista以降のWindowsOSでは、GARPではなくARP要求(送信元IP=0.0.0.0)を送信なので、
送信元を自IPとするGARPパケットを送信するスクリプト(SendARP関数)が紹介されていますね。
http://msdn.microsoft.com/en-us/library/aa366358(VS.85).aspx

これは、OS自身がデフォルトでGARPを実装するのではなく、
ユーザが明示的な意図をもって、ユーザ責任で扱ってくださいと言うことです。


同じリンク先にて

ご希望の挙動を実現する際には、ネットワークのSpanningTreeにご注意ください。
Windowsの再起動や、NICの無効、LANケーブルの抜き差しといった、一度リンクダウンが発生してしまうようなケースにおいては、サーバが接続されたネットワークスイッチのポートにおいてSpanningTreeが動作しているとGARPがネットワーク上に広報されないケースがあります。
SpanningTreeの計算中は、リンクアップしていてもOS側でネットワークと通信ができないため、GARPを広報してもスイッチ側で捨てられてしまうからです。


スパニングツリー -スパツリとは?- http://www.itbook.info/study/p19.html
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?