This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:tipps:flusharp [2024/03/25 12:16] – created js | linux:tipps:flusharp [2024/03/25 12:18] (current) – js | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Flush ARP Cache ====== | ====== Flush ARP Cache ====== | ||
- | <code bash>for e in $(arp -a | sed -n ' | + | ==== arp ==== |
- | <code bash> | + | Command: |
+ | |||
+ | Example:<code bash> | ||
Remove 10.10.10.245 | Remove 10.10.10.245 | ||
Remove 10.10.10.8 | Remove 10.10.10.8 | ||
Line 8: | Line 10: | ||
Remove 10.10.10.100</ | Remove 10.10.10.100</ | ||
+ | |||
+ | ==== ip ==== | ||
+ | Command: <code bash>ip -s -s neigh flush all</ | ||
+ | |||
+ | Example: <code bash> | ||
+ | 10.10.10.245 dev eth0 lladdr 00: | ||
+ | 10.10.10.8 dev eth0 lladdr 00: | ||
+ | 10.10.10.50 dev eth0 lladdr 00: | ||
+ | 10.10.10.100 dev eth0 lladdr 14: | ||
+ | |||
+ | *** Round 1, deleting 4 entries *** | ||
+ | *** Flush is complete after 1 round ***</ |