Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tutorials:add_network_routes [2022-09-20 16:55] – created Anton Tetov Johansson | tutorials:add_network_routes [2022-09-29 14:29] (current) – [Windows] Anton Tetov Johansson | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| ==== Windows ==== | ==== Windows ==== | ||
| - | Use [[tutorials: | + | Use [[#subnet_mask|subnet mask]], $SUBNET should be the route with 0 replacing variable parts of the IP. E.g. 192.168.X.0. |
| - Open administrative shell: Press Alt+X and select " | - Open administrative shell: Press Alt+X and select " | ||
| Line 34: | Line 34: | ||
| ==== Mac ==== | ==== Mac ==== | ||
| - | Use [[tutorials: | + | Use [[#cidr_notation|CIDR notation]]. |
| - Open a terminal | - Open a terminal | ||
| Line 41: | Line 41: | ||
| ==== Linux ==== | ==== Linux ==== | ||
| - | Use [[tutorials: | + | Use [[# |
| + | === Temporarily via ip route (Most distros) === | ||
| - Open a terminal. | - Open a terminal. | ||
| - | - Find your preferred device using '' | + | - Find your preferred device using '' |
| - Store choosen interface by running '' | - Store choosen interface by running '' | ||
| - | - Select from following options: | ||
| - | |||
| - | === Temporarily via ip route (Most distros) === | ||
| '' | '' | ||
| Line 54: | Line 52: | ||
| === NetworkManager persistent (Most distros) === | === NetworkManager persistent (Most distros) === | ||
| - | '' | + | - Open a terminal. |
| + | - Find your preferred connection using '' | ||
| + | - Store choosen interface by running '' | ||
| + | |||
| + | '' | ||
| === Netplan persistent route (Ubuntu/ | === Netplan persistent route (Ubuntu/ | ||
| + | |||
| + | - Open a terminal. | ||
| + | - Find your preferred device using '' | ||
| + | - Replace enpXsY in YAML snippet below with chosen device. | ||
| Add the following to ''/ | Add the following to ''/ | ||