Iproute2
From wikinotes
The Linux ip
tool used to manage networking.
Created by the linux kernel developers
TODO:
this is fascinating. read all man pages and organize these docs properly
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/
Routing
Tools
ip rule # manage policies that choose the routing-table for a packet ip route # manage routing-tables ip vrf # associate a routing table to a networking device ip netns # create a seprate network stack (devices, rules, routes, firewall) # .. likely more..Routing Policy
Rules direct traffic to a routing table.
ip rule
Routing Table
Routing tables
ip route