IP-NTABLE(8)

๐Ÿ‘‘ ip-ntable โ€” the neighbour table glow-up guide ๐Ÿ’…

okay so bestie, this is ip-ntable, section 8 of the Linux manual. It's the little corner of ip that lets you configure neighbour tables. That's it. That's the vibe. ๐ŸŽ€


โœจ NAME โœจ

ip-ntable โ€” neighbour table configuration ๐Ÿฆ‹


๐ŸŒธ SYNOPSIS ๐ŸŒธ

ip [ OPTIONS ] ntable  { COMMAND | help }

ip ntable change name NAME [ dev DEV ] [ thresh1 VAL ] [ thresh2 VAL ] [
        thresh3 VAL ] [ gc_int MSEC ] [ base_reachable MSEC ] [ retrans
        MSEC ] [ gc_stale MSEC ] [ delay_probe MSEC ] [ queue LEN ] [
        app_probes VAL ] [ ucast_probes VAL ] [ mcast_probes VAL ] [
        mcast_reprobes VAL ] [ anycast_delay MSEC ] [ proxy_delay MSEC ]
        [ proxy_queue LEN ] [ locktime MSEC ]

ip ntable show [ dev DEV ] [ name NAME ]

like, look at all those knobs. every single one of them is real. ๐Ÿ”ฅ


๐Ÿ’– DESCRIPTION ๐Ÿ’–

ip ntable controls the parameters for the neighbour tables. no cap. it's the main character of this whole page. ๐Ÿ‘‘


๐Ÿฆ‹ ip ntable show โ€” list the ip neighbour tables ๐Ÿฆ‹

This command displays neighbour table parameters and statistics. it's giving โœจreceiptsโœจ, bestie.

  • dev DEV โ€” only list the table attached to this device. just the one. one device only. ๐Ÿ’…
  • name NAME โ€” only lists the table with the given name. yes, specifically that name, not a vibe-adjacent one. ๐Ÿ™ˆ

๐ŸŽ€ ip ntable change โ€” modify table parameter ๐ŸŽ€

This command allows modifying table parameters such as timers and queue lengths. it's the makeover episode of the neighbour table. ๐Ÿ’„

  • name NAME โ€” the name of the table to modify. you gotta name it before you change it, periodt.
  • dev DEV โ€” the name of the device to modify the table values. which device are we changing? say it. ๐Ÿ“ข

๐ŸŒˆ EXAMPLES ๐ŸŒˆ

okay here's the part you actually came for. ๐Ÿ“

ip ntable show dev eth0

Shows the neighbour table (IPv4 ARP and IPv6 ndisc) parameters on device eth0. both of them. ARP and ndisc. multi-tasking queen. ๐Ÿ‘‘

ip ntable change name arp_cache queue 8 dev eth0

Changes the number of packets queued while address is being resolved from the default value (3) to 8 packets. glow up from 3 to 8, we love to see it. ๐Ÿ”ฅ


๐Ÿ’œ SEE ALSO ๐Ÿ’œ

the whole ip family is right there, iykyk. ๐Ÿซถ


โญ AUTHOR โญ

Manpage by Stephen Hemminger. king behaviour honestly. ๐Ÿ‘‘


ngl, be careful out here โ€” you're messing with real kernel neighbour table params, so don't just change stuff for funsies. ๐Ÿซฃ

that's the whole page, bestie!! this one came from the iproute2 crew and it's dated 20 Dec 2011 โ€” vintage but still iconic, fr fr. go forth and configure your neighbour tables. slay. ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹๐ŸŒธ๐Ÿ’…

๐Ÿ“ฆ where this page comes from