-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> IP Routing table management subcommand.
Display the routing table:
ip route {show|list}
Add a default route using gateway forwarding:
sudo ip route add default via {gateway_ip}
Add a default route using `eth0`:
sudo ip route add default dev {eth0}
Add a static route:
sudo ip route add {destination_ip} via {gateway_ip} dev {eth0}
Delete a static route:
sudo ip route del {destination_ip} dev {eth0}
Change or replace a static route:
sudo ip route {change|replace} {destination_ip} via {gateway_ip} dev {eth0}
Show which route will be used by the kernel to reach an IP address:
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).
-- Response ended
-- Page fetched on Fri May 17 13:56:15 2024