



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
ip configuration and other settings through commands
Typology: Cheat Sheet
1 / 6
This page cannot be seen from the preview
Don't miss anything!
addr : Display IP Addresses and property information (abbreviation of address) SUBCOMMAND DESCRIPTIONS AND TASKS ip addr Show information for all addresses ip addr show dev em1 Display information only for device em link : Manage and display the state of all network interfaces SUBCOMMAND DESCRIPTIONS AND TASKS ip link Show information for all interfaces ip link show dev em1 Display information only for device em ip -s link Display interface statistics route : Display and alter the routing table.
ip route List all of the route entries in the kernel maddr : Manage and display multicast IP addresses. SUBCOMMAND DESCRIPTIONS AND TASKS ip maddr Display multicast information for all devices ip maddr show dev em1 Display multicast information for device em neigh : Show neighbour objects; also known as the ARP table for IPv SUBCOMMAND DESCRIPTIONS AND TASKS ip neigh Display neighbour objects ip neigh show dev em1 Show the ARP cache for device em
addr add : Add an address. SUBCOMMAND DESCRIPTIONS AND TASKS
ip route add default via 192.168.1. dev em Add a default route (for all addresses) via the local gateway 192.168.1.1 that can be reached on device em ip route add 192.168.1.0/24 via 192.168.1. Add a route to 192.168.1.0/24 via the gateway at 192.168.1. ip route add 192.168.1.0/24 dev em Add a route to 192.168.1.0/24 that can be reached on device em route delete : Delete a routing table entry. SUBCOMMAND DESCRIPTIONS AND TASKS ip route delete 192.168.1.0/24 via 192.168.1.1 Delete the route for 192.168.1.0/24 via the gateway at 192.168.1. route replace : Replace, or add if not defined, a route. SUBCOMMAND DESCRIPTIONS AND TASKS ip route replace 192.168.1.0/24 dev em1 Replace the defined route for 192.168.1.0/24 to use device em route get : Display the route an address will take.
ip route get 192.168.1.5 Display the route taken for IP 192.168.1.
neigh add : Add an entry to the ARP Table. SUBCOMMAND DESCRIPTIONS AND TASKS ip neigh add 192.168.1.1 lladdr 1:2:3:4:5:6 dev em1 Add address 192.168.1.1 with MAC 1:2:3:4:5:6 to em neigh del : Invalidate an entry. SUBCOMMAND DESCRIPTIONS AND TASKS ip neigh del 192.168.1.1 dev em1 Invalidate the entry for 192.168.1.1 on em neigh replace : Replace, or adds if not defined, an entry to the ARP table. SUBCOMMAND DESCRIPTIONS AND TASKS ip neigh replace 192.168.1.1 lladdr 1:2:3:4:5: dev em Replace the entry for address 192.168.1.1 to use MAC 1:2:3:4:5:6 on em