💾 Archived View for freeshell.de › tldr › ip-route.gmi captured on 2023-12-28 at 16:31:20. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
IP Routing table management subcommand.
ip route {show|list}
sudo ip route add default via {gateway_ip}
sudo ip route add default dev {eth0}
sudo ip route add {destination_ip} via {gateway_ip} dev {eth0}
sudo ip route del {destination_ip} dev {eth0}
sudo ip route {change|replace} {destination_ip} via {gateway_ip} dev {eth0}
ip route get {destination_ip}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).