From d1deb1a86ebda0469a5d10a5db2cc8cdb35de24e Mon Sep 17 00:00:00 2001 From: Adam Herst Date: Tue, 30 Mar 2021 20:54:54 -0400 Subject: [PATCH] Add page. --- pages/linux/ip-link.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/ip-link.md diff --git a/pages/linux/ip-link.md b/pages/linux/ip-link.md new file mode 100644 index 0000000000..f27c6712fe --- /dev/null +++ b/pages/linux/ip-link.md @@ -0,0 +1,28 @@ +# ip link + +> Manage network interfaces. +> More information: . + +- Show information about all network interfaces: + +`ip link` + +- Show information about a specific network interface: + +`ip link show {{ethN}}` + +- Bring a network interface up or down: + +`ip link set {{ethN}} {{up|down}}` + +- Give a meaningful name to a network interface: + +`ip link set {{ethN}} alias {{"LAN Interface"}}` + +- Change the MAC address of a network interface: + +`ip link set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}` + +- Change the size of the MTU for a network interface to use jumbo frames: + +`ip link set {{ethN}} mtu {{9000}}`