In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Xiaobian to share with you how to use the arping command in Linux, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
The arping command is a tool for sending arp requests to a neighboring host. Arping uses arp packets to check the hardware address on the device with the ping command. Ability to test whether an ip address is already in use on the network and to obtain more device information. Similar to ping.
arping tests the network by sending ARP protocol messages
Syntax arping (option)(parameter) Option-b: Used to send Ethernet broadcast frames (FFFF). Arping starts with a broadcast address and then uses a unicast address after receiving a response. - q: quiet output does not display any information;-f: exit after receiving the first response message;-w timeout: set a timeout time in seconds. If arping has not received the response completely after the specified time, it will exit;-c count: indicates that it will stop after sending the specified number of ARP request packets. If the deadline option is specified, arping waits for the same number of arp response packets until timeout;-s source: Sets the value of the SPA field in the arp packet sent by arping. If empty, proceed as follows, if DAD mode (collision address detection), set to 0.0.0.0, if Unsolicited ARP mode (Gratuitous ARP), set to destination address, otherwise derived from routing table;-I interface: Set the network interface used by ping. Parameter Destination Host: Specify the destination host to which ARP messages are sent.
Example [root@localhost~]#arping www.example.com ARPING www.example.com from www.example.com eth0 Unicast reply from www.example.com 00: D 0:03:[bc: 48:00] 1.666ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 1.677ms Unicast reply from www. example.com [00: D 0:03: BC: 48:00] 1.691ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 1.728ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 1.626ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 1.292ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 1.429ms Unicast reply from www.example.com [00: D 0:03: BC: 48:00] 2.042ms Sent 8 probes (1 broadcast (s)) Received 8 response (s) Above is" How to use arping command in Linux" All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.