setting_static_ip_address_ubuntu_24_04
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| setting_static_ip_address_ubuntu_24_04 [2024/12/29 17:25] – created wikiadmin | setting_static_ip_address_ubuntu_24_04 [2024/12/29 17:34] (current) – [Setting a Static IP Address in Ubuntu 24.04] wikiadmin | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| See: [[https:// | See: [[https:// | ||
| - | First Backup Your network configuration file containing | + | First Backup Your network configuration file that contains your DHCP default. |
| < | < | ||
| - | user@svr: cd / | + | user@svr: cd / |
| - | user@svr:/ | + | user@svr:/ |
| + | 50-cloud-init.yaml | ||
| - | user@svr:/ | + | user@svr:/ |
| + | |||
| + | user@svr:/ | ||
| 50-cloud-init.yaml | 50-cloud-init.yaml | ||
| </ | </ | ||
| - | Example Configuration | + | Example Configuration |
| < | < | ||
| sudo vim 50-cloud-init.yaml | sudo vim 50-cloud-init.yaml | ||
| </ | </ | ||
| + | |||
| + | Edit the file according to the following example, but substituting your network name, Lan IP addresses, Routes (to your router' | ||
| < | < | ||
| Line 36: | Line 41: | ||
| </ | </ | ||
| - | Check the status | + | Apply the network changes: |
| + | |||
| + | < | ||
| + | user@svr: / | ||
| + | </ | ||
| + | |||
| + | Check the status | ||
| < | < | ||
setting_static_ip_address_ubuntu_24_04.1735493122.txt.gz · Last modified: 2024/12/29 17:25 by wikiadmin
