macOS
brew install iproute2local Homebrew formula metadata
安装
brew install iproute2local Homebrew formula metadata
sudo apk add iproute2Alpine Linux edge package indexes · iproute2 · 来源: dl-cdn.alpinelinux.org
sudo apt install iproute2Debian stable package indexes · iproute2 · 来源: deb.debian.org
nix profile install nixpkgs#iproute2nixpkgs package indexes · pkgs/by-name/ip/iproute2/package.nix · 来源: api.github.com
sudo pacman -S iproute2Arch Linux sync databases · iproute2 · 来源: geo.mirror.pkgbuild.com
sudo zypper install iproute2openSUSE Tumbleweed package metadata · iproute2 · 来源: download.opensuse.org
sudo dnf install rdma-coreFedora Rawhide package metadata · rdma-core · 来源: dl.fedoraproject.org
概览
Linux routing utilities
历史
iproute2 is the Linux networking utility suite centered on ip and tc, used to configure addresses, routes, tunnels, neighbors, links, traffic control, and related kernel networking features.
The Linux Foundation networking page describes iproute2 as a collection of utilities for TCP/IP networking and traffic control in Linux. It names Alexey Kuznetsov as the original author and connects his work to the Linux kernel QoS implementation, with maintenance by Stephen Hemminger.
The project became the modern Linux counterpart to older net-tools commands such as ifconfig and route. The same Linux Foundation page notes that many manuals continued to refer to older tools even though ifconfig behaved inadequately in modern environments, and it highlights iproute2's better coverage of modern networking features.
iproute2's adoption is closely tied to Linux distribution defaults and kernel networking development. The Linux Foundation page says it is usually shipped as iproute or iproute2, with ip and tc as the most important tools, and that new versions are announced on the netdev mailing list.
Homebrew packages iproute2 as a Linux-only formula, which is fitting: the suite is not a portable Unix compatibility layer but a userspace face for Linux kernel netlink and traffic-control facilities.
Administrators use iproute2 for address and link configuration, routing tables, policy routing, tunnels, neighbor entries, bridges, socket statistics, and traffic-control qdiscs/classes/filters. Its tools are accompanied by manpages and detailed usage messages, which suits both interactive repair and scripted provisioning.
The package exposes more of Linux networking than legacy tools because it tracks kernel features through netlink-oriented utilities. That makes it important in container hosts, routers, CI images, embedded Linux, network namespaces, and any environment where tc, ss, bridge, devlink, or rdma commands are part of operational vocabulary.
iproute2 is package-nerd infrastructure: many packages merely run on Linux, but iproute2 is how Linux networking is observed and shaped from user space. It also demonstrates a packaging boundary where the right target is Linux only, with dependencies such as libbpf, libmnl, elfutils, and kernel-header-adjacent build logic.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/iproute2/rt_tables/usr/lib/iproute2/rt_tables/etc/iproute2/tc_cls可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ctstat | cli | 全局可执行文件 | |
dcb | cli | 全局可执行文件 | |
devlink | cli | 全局可执行文件 | |
dpll | cli | 全局可执行文件 | |
genl | cli | 全局可执行文件 | |
lnstat | cli | 全局可执行文件 | |
netshaper | cli | 全局可执行文件 | |
nstat | cli | 全局可执行文件 | |
rdma | cli | 全局可执行文件 | |
routel | cli | 全局可执行文件 | |
rtacct | cli | 全局可执行文件 | |
rtmon | cli | 全局可执行文件 | |
rtstat | cli | 全局可执行文件 | |
tc | cli | 全局可执行文件 | |
tipc | cli | 全局可执行文件 | |
vdpa | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.linuxfoundation.org/networking/iproute2
安装元数据
| 软件包键 | brew:iproute2 |
|---|---|
| 版本 | 7.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/iproute2 |
| 主页 | https://wiki.linuxfoundation.org/networking/iproute2 |
| 仓库 | https://git.kernel.org/pub/scm/network/iproute2/iproute2.git |
| 上游文档 | https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/README |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-7.1.0.tar.xz |
| 最后更新 | 2026-06-16T12:38:49Z |
| Pulse | updated |
| 依赖 | elfutils, libbpf, libcap, libmnl, libtirpc |
| 构建依赖 | bison, flex, pkgconf |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iproute2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
iproute2 6.15.0-1
networking and traffic control tools
https://wiki.linuxfoundation.org/networking/iproute2
sudo apt install iproute2iproute2
nix profile install nixpkgs#iproute2iproute2 6.1.0-1ubuntu6
networking and traffic control tools
https://wiki.linuxfoundation.org/networking/iproute2
sudo apt install iproute2iproute2-doc 6.1.0-1ubuntu6
networking and traffic control tools - documentation
https://wiki.linuxfoundation.org/networking/iproute2
sudo apt install iproute2-dociproute2 7.0.0-r0
IP Routing Utilities
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2iproute2-bash-completion 7.0.0-r0
Bash completions for iproute2
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-bash-completioniproute2-dev 7.0.0-r0
IP Routing Utilities (development files)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-deviproute2-doc 7.0.0-r0
IP Routing Utilities (documentation)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-dociproute2-minimal 7.0.0-r0
IP Routing Utilities (/sbin/ip only)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-minimaliproute2-rdma 7.0.0-r0
IP Routing Utilities (rdma utilities)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-rdmaiproute2-ss 7.0.0-r0
IP Routing Utilities (socket statistics tool)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-ssiproute2-tc 7.0.0-r0
IP Routing Utilities (traffic control and XDP support)
https://wiki.linuxfoundation.org/networking/iproute2
sudo apk add iproute2-tciproute2 7.0.0-1
IP Routing Utilities
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
sudo pacman -S iproute2iproute2 7.0-1.2
Linux network configuration utilities
https://wiki.linuxfoundation.org/networking/iproute2
sudo zypper install iproute2iproute2-arpd 7.0-1.2
Userspace ARP daemon
https://wiki.linuxfoundation.org/networking/iproute2
sudo zypper install iproute2-arpdiproute2-bash-completion 7.0-1.2
Bash completion for iproute
https://wiki.linuxfoundation.org/networking/iproute2
sudo zypper install iproute2-bash-completion来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.