Iproute2

From wikinotes
Revision as of 15:36, 18 September 2022 by Will (talk | contribs) (→‎Tutorials)

The Linux ip tool used to manage networking. Created by the linux kernel developers

Documentation

man ip https://man.archlinux.org/man/core/iproute2/ip.8.en
src https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/

Locations

/etc/iproute2/rt_tables defines routing tables and ids

Tutorials

routing intro https://blog.scottlowe.org/2013/05/29/a-quick-introduction-to-linux-policy-routing/

Usage

Connections

Routing Policy

ip rule

Routing Table

ip route