首页 | 本学科首页   官方微博 | 高级检索  
     

获取本网段内主机MAC地址原理分析及实现
引用本文:赵建立,吴聪聪,李焕哲,刘晓亮,郭大权. 获取本网段内主机MAC地址原理分析及实现[J]. 河北省科学院学报, 2004, 21(3): 12-14
作者姓名:赵建立  吴聪聪  李焕哲  刘晓亮  郭大权
作者单位:石家庄经济学院信息工程学院,河北,石家庄,050031;河北省自动化研究所,河北,石家庄,050081
摘    要:获取主机的MAC地址对于计算机网络管理具有重要意义。文章在分析了ARP的工作 原理的基础上提出了获取本网段内主机MAC地址的方法。阐述了如何利用IpHelperAPI中的 SendARP函数来完成MAC地址的获取,给出了该方法在VC++6.0环境下的源程序。最后又 论述了因为代理(Proxy)ARP技术的存在,利用ARP原理来获取MAC地址的局限性。

关 键 词:网段  MAC地址  ARP  SendARP  代理ARP
文章编号:1001-9383(2004)03-0012-03
修稿时间:2003-12-25

The analysis and implemention of getting a MAC address from host in the same segment
ZHAO Jian-li. The analysis and implemention of getting a MAC address from host in the same segment[J]. Journal of The Hebei Academy of Sciences, 2004, 21(3): 12-14
Authors:ZHAO Jian-li
Affiliation:ZHAO Jian-li~
Abstract:It is very important for managing network to getting a MAC address.The paper analyses the principle of ARP, and advances the method of how to get a MAC address from host in the same segment. How to use the "SendARP" .function to get a MAC address is expressed. There is the source code of getting a MAC address from host in the same segment. In the end of the paper, it is to be discussed that there is the limit of the principle to getting MAC address because of "Proxy ARP".
Keywords:Segment   MAC Address   ARP   SendARP   Proxy ARP  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号