In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not know how to use linux's arpd command to collect arp information? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.
The arpd command is a daemon that collects free arp information, saving the collected information on disk or, when needed, providing it to kernel users to avoid redundant broadcasts.
Syntax format: arpd [parameters]
Reference example
-l output the arp database to the standard output device display and exit-f specifies to read and load the text file of the arpd database, the format of the file is similar to the "- l" output information-b specifies the arpd database file, the default location is "/ var/lib/arpd.db-a specifies the number of queries before the target is considered dead-k forbids sending broadcast queries through the kernel-n sets buffer expiration time
Commonly used parameters: coach
Start the arpd process:
[root@linuxcool] # arpd-b / var/tmp/arpd.db
Look at the results after a period of time:
[root@linuxcool] # killall arpd; arpd-l-b / var/tmp/arpd.db
Enable the kernel helper, leaving the main role to the kernel:
[root@linuxcool] # arpd-b / var/tmp/arpd.db-a 1 eth0 eth2
Completely replace the kernel resolution on interfaces eth0 and eth2. In this case, the kernel still does unicast probes to verify entries, but all broadcast activity is suppressed and authorized by arpd:
[root@linuxcool] # arpd-b / var/tmp/arpd.db-a 3-k eth0 eth2
Prohibit the kernel from sending broadcast queries:
[root@linuxcool] # arpd-k Thank you for reading this article carefully. I hope the editor will share the use of linux's arpd command to collect arp information. At the same time, I also hope that you will support it, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.