IP发现协议 [英] IP discovery protocol

查看:98
本文介绍了IP发现协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有创建自己的IP发现协议的演练?基本上写我自己的ARP协议。我想将MAC地址广播发送到本地子网中的节点,并读取它们给我的响应,其中包含其IP地址。 (最好在听众端没有任何特殊软件的要求)。
Does anyone have any walkthrough's for creating your own IP discovery protocol? Basically to write my own ARP protocol. I would like to send a MAC address broadcast to the nodes in the local subnet and read through the responses they give me which contain their IP address. (Preferably without any requirement for special software on the listeners end).

推荐答案

令人钦佩,但为什么要努力工作?

1)在C#中你的ARP缓存
2)通过你想要搜索的子网启动Ping(必须在你自己的本地网络中)有效范围是1-254
3)转储你的ARP缓存,它将显示你的MAC任何回复。
4)重复上述所有254个地址。

Admirable, but why work that hard?

1) In C# clear you ARP cache
2) Start a Ping by the Subnet you want to hunt (must be in your own local network) Valid ranges are 1-254
3) Dump your ARP Cache out which will show you the MAC of any replies.
4) Repeat the above through all 254 addresses.


这篇关于IP发现协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆