ip-neighbour - neighbour/arp tables management.
ip [ OPTIONS ] neigh { COMMAND | help }
ip neigh { add | del | change | replace } { ADDR [ lladdr LLADDR ] [
nud { permanent | noarp | stale | reachable } ] | proxy ADDR }
[ dev DEV ]
ip neigh { show | flush } [ proxy ] [ to PREFIX ] [ dev DEV ] [ nud
STATE ]
The ip neigh command manipulates neighbour objects that establish
bindings between protocol addresses and link layer addresses for hosts
sharing the same link. Neighbour entries are organized into tables.
The IPv4 neighbour table is also known by another name - the ARP table.
The corresponding commands display neighbour bindings and their
properties, add new neighbour entries and delete old ones.
ip neighbour add
add a new neighbour entry
ip neighbour change
change an existing entry
ip neighbour replace
add a new entry or change an existing one
These commands create new neighbour records or update existing
ones.
to ADDRESS (default)
the protocol address of the neighbour. It is either an
IPv4 or IPv6 address.
dev NAME
the interface to which this neighbour is attached.
lladdr LLADDRESS
the link layer address of the neighbour. LLADDRESS can
also be null.
nud NUD_STATE
the state of the neighbour entry. nud is an abbreviation
for 'Neighbour Unreachability Detection'. The state can
take one of the following values:
permanent
the neighbour entry is valid forever and can be only be
removed administratively.
noarp the neighbour entry is valid. No attempts to validate
this entry will be made but it can be removed when its
lifetime expires.
reachable
the neighbour entry is valid until the reachability
timeout expires.
stale the neighbour entry is valid but suspicious. This option
to ip neigh does not change the neighbour state if it was
valid and the address is not changed by this command.
ip neighbour delete
delete a neighbour entry
The arguments are the same as with ip neigh add, except that
lladdr and nud are ignored.
Warning: Attempts to delete or manually change a noarp entry
created by the kernel may result in unpredictable behaviour.
Particularly, the kernel may try to resolve this address even on
a NOARP interface or if the address is multicast or broadcast.
ip neighbour show
list neighbour entries
to ADDRESS (default)
the prefix selecting the neighbours to list.
dev NAME
only list the neighbours attached to this device.
proxy list neighbour proxies.
unused only list neighbours which are not currently in use.
nud NUD_STATE
only list neighbour entries in this state. NUD_STATE
takes values listed below or the special value all which
means all states. This option may occur more than once.
If this option is absent, ip lists all entries except for
none and noarp.
ip neighbour flush
flush neighbour entries
This command has the same arguments as show. The differences
are that it does not run when no arguments are given, and that
the default neighbour states to be flushed do not include
permanent and noarp.
With the -statistics option, the command becomes verbose. It
prints out the number of deleted neighbours and the number of
rounds made to flush the neighbour table. If the option is given
twice, ip neigh flush also dumps all the deleted neighbours.
ip neighbour
Shows the current neighbour table in kernel.
ip neigh flush dev eth0
Removes entries in the neighbour table on device eth0.
ip(8)
Original Manpage by Michail Litvak <[email protected]>
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.