Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| linux:debian:static-ip-address-route [2024/12/27 14:58] – [Static route for LXC] Zyzonix | linux:debian:static-ip-address-route [2024/12/27 22:22] (current) – [Static route] Zyzonix | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ==== Static route ==== | ==== Static route ==== | ||
| - | Just run: | + | To show static routes: |
| + | <code bash>ip route</ | ||
| + | |||
| + | To add a static route run: | ||
| <code bash>ip route add < | <code bash>ip route add < | ||
| Example: | Example: | ||