NetworkManager does not bring up interface after reboot
8,805
Set connection.autoconnect
property true
for the connection br-int
.
To modify the connection settings like: nmcli connection modify br-int connection.autoconnect true
You can also use nmtui
command instead fight with nmcli
command.
Related videos on Youtube
Author by
user389238
Updated on September 18, 2022Comments
-
user389238 almost 2 years
I create an OVS bridge with:
# ovs-vsctl add-br br-int
This create a netdevice that I can see in ifconfig. And then I create a NetworkManager connection and bring it up:
# nmcli connection add type generic con-name br-int autoconnect yes ifname br-int ip4 1.1.1.1/24 # nmcli con up br-int ifname br-int
However, each time after I reboot the host (Ubuntu 16.04) the connection has to be manually brought up again. Is there a way to tell NetworkManager to automatically bring up this interface once OVS has created it?
-
user389238 almost 7 yearsIs the "connection.autoconnect=true" setting the same thing as the "autoconnect yes" that I am already passing via nmcli invocation? If so then it does not seem to work.
-
Luke H almost 7 yearsYou could use
nmtui
as indicated to check whether autoconnect was indeed set right.