Created
April 25, 2020 20:41
-
-
Save kenperkins/bdc2fdffc3790a426f3aee1b6fde7458 to your computer and use it in GitHub Desktop.
This file contains 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
root@kpd:~# ip addr | grep 10.10.11.5 | |
inet 10.10.11.5/24 brd 10.10.11.255 scope global secondary noprefixroute enp0s31f6 | |
root@kpd:~# nmcli con mod eth0 ipv4.method manual | |
root@kpd:~# nmcli con mod eth0 -ipv4.gateway 10.10.11.1 | |
root@kpd:~# nmcli con mod eth0 -ipv4.addresses 10.10.11.5 | |
root@kpd:~# nmcli con reload eth0 | |
root@kpd:~# ip addr | grep 10.10.11.5 | |
inet 10.10.11.5/24 brd 10.10.11.255 scope global secondary noprefixroute enp0s31f6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment