Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:debian:static-ip-address-route [2024/12/27 14:56] – ↷ Page name changed from linux:debian:static-ip-address to linux:debian:static-ip-address-route Zyzonix | linux:debian:static-ip-address-route [2024/12/27 22:22] (current) – [Static route] Zyzonix | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| //Sourced from [[https:// | //Sourced from [[https:// | ||
| + | |||
| + | ==== Static route ==== | ||
| + | To show static routes: | ||
| + | <code bash>ip route</ | ||
| + | |||
| + | To add a static route run: | ||
| + | <code bash>ip route add < | ||
| + | Example: | ||
| + | '' | ||
| + | |||
| ==== Static route for LXC ==== | ==== Static route for LXC ==== | ||
| Line 33: | Line 43: | ||
| //→ tested with a Proxmox CT// | //→ tested with a Proxmox CT// | ||
| + | |||
| + | |||
| + | //Sourced from [[https:// | ||