Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the common command arping in Linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "Linux common command arping how to use", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "Linux common command arping how to use" this article.

The Linux common command arping command is used to send an arp request to an adjacent host, to send an arp request on a specified network card to specify an address, and the source address is specified using-s. The instruction can diameter ping MAC addresses to find out which addresses are used by which computers.

Syntax arping [- AbDfhqUV] [- c count] [- w deadling] [- s source]-I interface destnation

The parameter option states that-An is the same as-U, but the ARP RELAY message is sent-b sends only physical layer broadcast messages-c count specifies the number of times to send test packets-D duplicate address detection mode-f if the destination host responds Stop sending test packets immediately-h display help information-Iinterface specify network device interface-Q silent mode-s source specify source address for sending test packages-U update neighbor host arp cache-V display version information-w specify timeout instance to send request to neighbor host

[root@localhost ~] # arping-I eth0 192.168.1.8 / / designated network card Send a request to the destination ip ARPING 192.168.1.8 from 192.168.1.9 eth0 Unicast reply from 192.168.1.8 [98:01:A7:9F:5E:9D] 0.817ms / / you can see the mac address of the destination ip Unicast reply from 192.168.1.8 [98:01:A7:9F:5E:9D] 0.749ms Unicast reply from 192.168.1.8 [98:01:A7:9F:5E:9D] 0.741ms Unicast reply from 192.168.1.8 [98:01:A7:9F:5E:9D] 0.787ms is all the content of the article "how to use arping in Linux" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report