Last active
December 29, 2023 18:11
-
-
Save swarupsro/e68e69103236f29bad93523c5fa7918d to your computer and use it in GitHub Desktop.
Ubuntu Server Manual IP Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This network configuration written for MTB | |
network: | |
version: 2 | |
ethernets: | |
ens160: | |
addresses: | |
- 172.16.21.230/24 | |
nameservers: | |
addresses: | |
- 8.8.8.8 | |
routes: | |
- to: default | |
via: 172.16.21.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo netplan update