# Linux - manage ARP table ###### tags: `linux` `arp` `network` ``` # Show ARP table "arp -a" "arp -an" (show numeric address) # Flush all ARP enteries "ip neigh flush all" # Flush ARP entry for network 192.168.1.0/24 "ip neigh flush 192.168.1.0/24" # Flush all ARP entries on interface eth0 "ip neigh flush dev eth0" # Create a static ARP entity root@python:~# arp -s 192.168.56.99 00:0c:29:c0:94:ba root@python:~# arp -an ? (10.0.2.2) at 52:54:00:12:35:02 [ether] on enp0s3 ? (192.168.56.99) at 00:0c:29:c0:94:ba [ether] PERM on enp0s8 ? (192.168.56.1) at 0a:00:27:00:00:16 [ether] on enp0s8 # Delete a static ARP entity root@python:~# arp -d 192.168.56.99 root@python:~# arp -an ? (10.0.2.2) at 52:54:00:12:35:02 [ether] on enp0s3 ? (192.168.56.99) at <incomplete> on enp0s8 ? (192.168.56.1) at 0a:00:27:00:00:16 [ether] on enp0s8 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up