Skip to content

Commit

Permalink
Update change_ip_address.md
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyrumple authored Dec 28, 2021
1 parent dfdc637 commit 4df690b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions change_ip_address.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
## Change IP Address
Edit the config file and restart the network stack
(NOTE: If you do this wrong, you may loose network connection - make sure you can get to the system physically or via your virtualization console if it goes wrong)
sudo nano /etc/netplan/01-netcfg.yml

```sudo nano /etc/netplan/01-netcfg.yml```
- Change address/gateway/nameservers as needed
ctrl+O to save, ctrl+X to exit

Restart the network services (or reboot the host)
sudo systemctl restart systemd-networkd

```sudo systemctl restart systemd-networkd```



Expand Down

0 comments on commit 4df690b

Please sign in to comment.