Skip to content

Instantly share code, notes, and snippets.

@swarupsro
Last active December 29, 2023 18:11
Show Gist options
  • Save swarupsro/e68e69103236f29bad93523c5fa7918d to your computer and use it in GitHub Desktop.
Save swarupsro/e68e69103236f29bad93523c5fa7918d to your computer and use it in GitHub Desktop.
Ubuntu Server Manual IP Configuration
# 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
@swarupsro
Copy link
Author

sudo netplan update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment