Created
May 22, 2019 03:46
-
-
Save tmwatchanan/49e27e35932d5ca313a4f2179677ccba to your computer and use it in GitHub Desktop.
Ubuntu network manager config file for setting static IP
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
| # Let NetworkManager manage all devices on this system | |
| network: | |
| version: 2 | |
| renderer: NetworkManager | |
| ethernets: | |
| # comment the below lines to enable DHCP | |
| wlp6s0: | |
| dhcp4: no | |
| dhcp6: no | |
| addresses: [10.10.186.203/24, ] | |
| gateway4: 10.10.186.1 | |
| nameservers: | |
| addresses: [8.8.8.8] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment