ip - Linux command line utility from iproute2 package. It allows you to configure the network subsystem and is a replacement for utilities such as ifconfig , route , arp .
| ip | |
|---|---|
| Type of | iproute2 , TCP / IP Utilities |
| Developers | Stephen Hemminger [1] , formerly Alexey Kuznetsov |
| operating system | Linux |
| Latest version | 2.6.31 [2] ( December 26, 2009 ) |
| License | GPL2 |
| Site | linuxfoundation.org/coll..... |
To perform any operation after the ip command, the "object" and the command (possibly with arguments) are specified, which must be executed for this object.
As “objects”, you can specify the values of link , addr (addresses of network interfaces), route (routes), rule (rules), neigh , ntable , tunnel (tunnels), maddr , mroute , monitor , xfrm . Instead of the full name of the object, you can specify only the first letters, if this does not cause ambiguity.
You can specify the help command to display help information. If you specify an object without a command, the show command is executed - a list of objects of the specified type is printed.
Syntax: ip [OPTIONS] OBJECT {COMMAND | help}
Where
OBJECT: = {link | addr | addrlabel | route | rule | neigh | ntable | tunnel | maddr | mroute | monitor | xfrm}
OPTIONS: = {-V [ersion] | -s [tatistics] | -d [etails] | -r [esolve] |
-f [amily] {inet | inet6 | ipx | dnet | link} | -o [neline] | -t [imestamp]}
| Tree of ip utility objects and commands [3] | |||
|---|---|---|---|
| Utility | An object | Teams | Description |
| ip | address | add | del show | flush | IP or IPv6 device address |
| addrlabel | add | del list | flush | Configuring Labels | |
| link | set show | Configuring network devices | |
| maddr | show add | del | Configuring Multicast Addresses | |
| monitor | all | LISTofOBJECTS | Device Status Monitoring | |
| mroute | show | Multicast cache | |
| neighbor | add | del | change | replace show | flush | ARP or NDISC cache | |
| route | get list / flush add | del | change | append | replace | monitor | Routing management | |
| rule | list | add | del | flush | Routing rules | |
| tunnel | add | change | del | show | IP Tunneling | |
See also
- iproute2