carapace-sh/carapace-bin / skills/iproute2
iproute2
VerifiedUse when working with the Linux iproute2 networking commands — ip, ss, bridge, tc, and related tools. Covers the ip command argument structure, object types (address, link, route, rule, neighbour, tunnel, xfrm, netns, mptcp, ioam, l2tp, etc.), subcommands, selectors, and value types. Triggers on: "iproute2", "ip command", "ip address", "ip link", "ip route", "ip rule", "ip neighbour", "ip neigh", "ip tunnel", "ip xfrm", "ip netns", "ip mptcp", "ip ioam", "ip l2tp", "ip vrf", "ip token", "ip ntable", "ip tcp_metrics", "ip maddress", "ip mroute", "ip mrule", "ip addrlabel", "ip tuntap", "ip monitor", "ip stats", "ip nexthop", "ip netconf", "ip fou", "ip macsec", "ip sr", "ss command", "bridge command", "tc command", "IFADDR", "CONFFLAG", "SELECTOR", "ROUTE", "NUD state", "addrlabel", "ipproto".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.7 KB |
| references/address.md | markdown | 3.7 KB |
| references/link.md | markdown | 4.6 KB |
| references/misc.md | markdown | 10.1 KB |
| references/neighbour.md | markdown | 2.3 KB |
| references/netns.md | markdown | 1.4 KB |
| references/overview.md | markdown | 4.7 KB |
| references/route.md | markdown | 5.4 KB |
| references/rule.md | markdown | 4.3 KB |
| references/tunnel.md | markdown | 2.8 KB |
| references/xfrm.md | markdown | 2.7 KB |
references/neighbour.md
View on GitHub# ip neighbour — ARP/NDISC Cache Management
Manage neighbour (ARP for IPv4, NDISC for IPv6) cache entries.
## Commands
| Command | Aliases | Description |
|---------|---------|-------------|
| `add` | — | Add a new neighbour entry |
| `del` | `delete` | Delete a neighbour entry |
| `change` | — | Change an existing entry |
| `replace` | — | Add new or change existing entry |
| `show` | `list` | List neighbour entries (default) |
| `flush` | — | Flush neighbour entries |
| `get` | — | Lookup a neighbour entry for a destination |
## add/del/change/replace Syntax
```
ip neigh { add | del | change | replace }
{ ADDR [ lladdr LLADDR ] [ nud STATE ] | proxy ADDR }
[ dev DEV ] [ router ] [ use ] [ managed ]
[ extern_learn ] [ extern_valid ]
```
| Keyword | Value Type | Description |
|---------|------------|-------------|
| `ADDR` | IP address | Protocol address (positional) |
| `lladdr` | `LLADDR` | Link-layer address (MAC) |
| `nud` | `STATE` | Neighbour state |
| `proxy` | `ADDR` | Proxy neighbour (no lladdr) |
| `dev` | `DEV` | Device name |
| `vrf` | `NAME` | VRF name (show/flush only) |
### Boolean flags (no value)
`router`, `use`, `managed`, `extern_learn`, `extern_valid`, `proxy`, `nomaster`, `unused`
## NUD State
| State | Description |
|-------|-------------|
| `permanent` | Entry is permanently valid (manually set) |
| `noarp` | No ARP needed (e.g. for point-to-point) |
| `reachable` | Entry is reachable (confirmed recently) |
| `stale` | Entry is valid but suspicious |
| `none` | Entry has no state (pending) |
| `incomplete` | Address resolution in progress |
| `delay` | Delayed resolution |
| `probe` | Probing to confirm reachability |
| `failed` | Address resolution failed |
## show/flush Filters
```
ip neigh { show | flush } [ proxy ] [ to PREFIX ] [ dev DEV ]
[ nud STATE ] [ vrf NAME ] [ nomaster ] [ unused ]
```
| Filter | Description |
|--------|-------------|
| `proxy` | Show only proxy entries |
| `to PREFIX` | Filter by destination prefix |
| `dev DEV` | Filter by device |
| `nud STATE` | Filter by NUD state |
| `vrf NAME` | Filter by VRF |
| `nomaster` | Only entries without master |
| `unused` | Only unused entries (show only) |
## get
```
ip neigh get ADDR dev DEV
```
## References
- [ip-neighbour(8)](https://man7.org/linux/man-pages/man8/ip-neighbour.8.html)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |