From 18f5b50db7d2407c9d14aa7d59cccf49a824150c Mon Sep 17 00:00:00 2001 From: misch- Date: Tue, 29 Dec 2015 20:33:00 -0600 Subject: [PATCH 1/2] arp: add page --- pages/linux/arp.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/arp.md diff --git a/pages/linux/arp.md b/pages/linux/arp.md new file mode 100644 index 000000000..335bcff08 --- /dev/null +++ b/pages/linux/arp.md @@ -0,0 +1,19 @@ +# arp + +> Show and manipulate your system's ARP cache + +- Show current arp table + +`arp` + +- Delete an entry + +`arp -d {{address}}` + +- Create an entry + +`arp -s {{address}} {{mac address}}` + +- Turn arp off or on + +`ip link set arp {{off|on}} dev {{interface}}` From ad1a4076f16819448f862ca323b30c427b0e0633 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 21 Jan 2016 12:56:22 +0100 Subject: [PATCH 2/2] Formatted arp and removed ip example --- pages/linux/arp.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pages/linux/arp.md b/pages/linux/arp.md index 335bcff08..0e2680a71 100644 --- a/pages/linux/arp.md +++ b/pages/linux/arp.md @@ -1,19 +1,15 @@ # arp -> Show and manipulate your system's ARP cache +> Show and manipulate your system's ARP cache. -- Show current arp table +- Show current arp table: `arp` -- Delete an entry +- Delete an entry: `arp -d {{address}}` -- Create an entry +- Create an entry: `arp -s {{address}} {{mac address}}` - -- Turn arp off or on - -`ip link set arp {{off|on}} dev {{interface}}`