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.

Share:
8,805

Related videos on Youtube

user389238
Author by

user389238

Updated on September 18, 2022

Comments

  • user389238
    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
    user389238 almost 7 years
    Is 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
    Luke H almost 7 years
    You could use nmtui as indicated to check whether autoconnect was indeed set right.