Bridge Configs Reset After systemctl restart network












0















I currently have a Centos 7 KVM host with the following network config:



[root@workhorse1 log]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vb2 state UP group default qlen 1000
link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vb1 state DOWN group default qlen 1000
link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:21:9b:9d:75:0b brd ff:ff:ff:ff:ff:ff
5: em4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:21:9b:9d:75:0d brd ff:ff:ff:ff:ff:ff
10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
11: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
16: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb1 state UNKNOWN group default qlen 1000
link/ether fe:54:00:f8:58:d1 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc54:ff:fef8:58d1/64 scope link
valid_lft forever preferred_lft forever
17: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb2 state UNKNOWN group default qlen 1000
link/ether fe:54:00:16:6f:bc brd ff:ff:ff:ff:ff:ff
18: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb3 state UNKNOWN group default qlen 1000
link/ether fe:54:00:de:07:95 brd ff:ff:ff:ff:ff:ff
19: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb4 state UNKNOWN group default qlen 1000
link/ether fe:54:00:7e:d9:ac brd ff:ff:ff:ff:ff:ff
20: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 62:30:db:db:51:bd brd ff:ff:ff:ff:ff:ff
27: vi2@vi1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb3 state DOWN group default qlen 1000
link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
28: vi1@vi2: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether de:3c:55:e8:61:2e brd ff:ff:ff:ff:ff:ff
inet 172.16.0.3/24 scope global vi1
valid_lft forever preferred_lft forever
29: vi4@vi3: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb4 state DOWN group default qlen 1000
link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
30: vi3@vi4: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9a:6d:01:d6:70:ea brd ff:ff:ff:ff:ff:ff
inet 10.0.0.3/24 scope global vi3
valid_lft forever preferred_lft forever
31: vb2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.16/24 brd 192.168.1.255 scope global noprefixroute vb2
valid_lft forever preferred_lft forever
inet6 fe80::221:9bff:fe9d:7507/64 scope link noprefixroute
valid_lft forever preferred_lft forever
32: vb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
inet6 fe80::221:9bff:fe9d:7509/64 scope link
valid_lft forever preferred_lft forever
33: vb3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.2/24 brd 172.16.0.255 scope global noprefixroute vb3
valid_lft forever preferred_lft forever
inet6 fe80::7082:e9ff:feed:8e8/64 scope link
valid_lft forever preferred_lft forever
34: vb4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.2/24 brd 10.0.0.255 scope global noprefixroute vb4
valid_lft forever preferred_lft forever
inet6 fe80::3c7c:e9ff:fe96:b9a5/64 scope link
valid_lft forever preferred_lft forever



[root@workhorse1 log]# brctl show
bridge name bridge id STP enabled interfaces
vb1 8000.00219b9d7509 yes em2
vnet0
vb2 8000.00219b9d7507 no em1
vnet1
vb3 8000.7282e9ed08e8 yes vi2
vnet2
vb4 8000.3e7ce996b9a5 yes vi4
vnet3
virbr0 8000.525400bfc648 yes virbr0-nic



When I systemctl restart network, the bridge enslavements for the virtual interfaces (vi1, vi2, vnet0-vnet3) don't persist and I have to re-enslave each virtual interface. I am enslaving the the virtual interfaces with ip link set vnet3 master vb4.



How do I make the virtual interface bridge enslavements persist between service and machine restarts?









share







New contributor




Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I currently have a Centos 7 KVM host with the following network config:



    [root@workhorse1 log]# ip add
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vb2 state UP group default qlen 1000
    link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
    3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vb1 state DOWN group default qlen 1000
    link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
    4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:21:9b:9d:75:0b brd ff:ff:ff:ff:ff:ff
    5: em4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:21:9b:9d:75:0d brd ff:ff:ff:ff:ff:ff
    10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
    valid_lft forever preferred_lft forever
    11: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
    16: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb1 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:f8:58:d1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fef8:58d1/64 scope link
    valid_lft forever preferred_lft forever
    17: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb2 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:16:6f:bc brd ff:ff:ff:ff:ff:ff
    18: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb3 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:de:07:95 brd ff:ff:ff:ff:ff:ff
    19: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb4 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:7e:d9:ac brd ff:ff:ff:ff:ff:ff
    20: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 62:30:db:db:51:bd brd ff:ff:ff:ff:ff:ff
    27: vi2@vi1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb3 state DOWN group default qlen 1000
    link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
    28: vi1@vi2: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether de:3c:55:e8:61:2e brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.3/24 scope global vi1
    valid_lft forever preferred_lft forever
    29: vi4@vi3: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb4 state DOWN group default qlen 1000
    link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
    30: vi3@vi4: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 9a:6d:01:d6:70:ea brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.3/24 scope global vi3
    valid_lft forever preferred_lft forever
    31: vb2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.16/24 brd 192.168.1.255 scope global noprefixroute vb2
    valid_lft forever preferred_lft forever
    inet6 fe80::221:9bff:fe9d:7507/64 scope link noprefixroute
    valid_lft forever preferred_lft forever
    32: vb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::221:9bff:fe9d:7509/64 scope link
    valid_lft forever preferred_lft forever
    33: vb3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.2/24 brd 172.16.0.255 scope global noprefixroute vb3
    valid_lft forever preferred_lft forever
    inet6 fe80::7082:e9ff:feed:8e8/64 scope link
    valid_lft forever preferred_lft forever
    34: vb4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/24 brd 10.0.0.255 scope global noprefixroute vb4
    valid_lft forever preferred_lft forever
    inet6 fe80::3c7c:e9ff:fe96:b9a5/64 scope link
    valid_lft forever preferred_lft forever



    [root@workhorse1 log]# brctl show
    bridge name bridge id STP enabled interfaces
    vb1 8000.00219b9d7509 yes em2
    vnet0
    vb2 8000.00219b9d7507 no em1
    vnet1
    vb3 8000.7282e9ed08e8 yes vi2
    vnet2
    vb4 8000.3e7ce996b9a5 yes vi4
    vnet3
    virbr0 8000.525400bfc648 yes virbr0-nic



    When I systemctl restart network, the bridge enslavements for the virtual interfaces (vi1, vi2, vnet0-vnet3) don't persist and I have to re-enslave each virtual interface. I am enslaving the the virtual interfaces with ip link set vnet3 master vb4.



    How do I make the virtual interface bridge enslavements persist between service and machine restarts?









    share







    New contributor




    Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I currently have a Centos 7 KVM host with the following network config:



      [root@workhorse1 log]# ip add
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
      2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vb2 state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
      3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vb1 state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
      4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:0b brd ff:ff:ff:ff:ff:ff
      5: em4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:0d brd ff:ff:ff:ff:ff:ff
      10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
      link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
      inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
      valid_lft forever preferred_lft forever
      11: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
      link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
      16: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb1 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:f8:58:d1 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fef8:58d1/64 scope link
      valid_lft forever preferred_lft forever
      17: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb2 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:16:6f:bc brd ff:ff:ff:ff:ff:ff
      18: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb3 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:de:07:95 brd ff:ff:ff:ff:ff:ff
      19: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb4 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:7e:d9:ac brd ff:ff:ff:ff:ff:ff
      20: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether 62:30:db:db:51:bd brd ff:ff:ff:ff:ff:ff
      27: vi2@vi1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb3 state DOWN group default qlen 1000
      link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
      28: vi1@vi2: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether de:3c:55:e8:61:2e brd ff:ff:ff:ff:ff:ff
      inet 172.16.0.3/24 scope global vi1
      valid_lft forever preferred_lft forever
      29: vi4@vi3: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb4 state DOWN group default qlen 1000
      link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
      30: vi3@vi4: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether 9a:6d:01:d6:70:ea brd ff:ff:ff:ff:ff:ff
      inet 10.0.0.3/24 scope global vi3
      valid_lft forever preferred_lft forever
      31: vb2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
      inet 192.168.1.16/24 brd 192.168.1.255 scope global noprefixroute vb2
      valid_lft forever preferred_lft forever
      inet6 fe80::221:9bff:fe9d:7507/64 scope link noprefixroute
      valid_lft forever preferred_lft forever
      32: vb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::221:9bff:fe9d:7509/64 scope link
      valid_lft forever preferred_lft forever
      33: vb3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
      inet 172.16.0.2/24 brd 172.16.0.255 scope global noprefixroute vb3
      valid_lft forever preferred_lft forever
      inet6 fe80::7082:e9ff:feed:8e8/64 scope link
      valid_lft forever preferred_lft forever
      34: vb4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
      inet 10.0.0.2/24 brd 10.0.0.255 scope global noprefixroute vb4
      valid_lft forever preferred_lft forever
      inet6 fe80::3c7c:e9ff:fe96:b9a5/64 scope link
      valid_lft forever preferred_lft forever



      [root@workhorse1 log]# brctl show
      bridge name bridge id STP enabled interfaces
      vb1 8000.00219b9d7509 yes em2
      vnet0
      vb2 8000.00219b9d7507 no em1
      vnet1
      vb3 8000.7282e9ed08e8 yes vi2
      vnet2
      vb4 8000.3e7ce996b9a5 yes vi4
      vnet3
      virbr0 8000.525400bfc648 yes virbr0-nic



      When I systemctl restart network, the bridge enslavements for the virtual interfaces (vi1, vi2, vnet0-vnet3) don't persist and I have to re-enslave each virtual interface. I am enslaving the the virtual interfaces with ip link set vnet3 master vb4.



      How do I make the virtual interface bridge enslavements persist between service and machine restarts?









      share







      New contributor




      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I currently have a Centos 7 KVM host with the following network config:



      [root@workhorse1 log]# ip add
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
      2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vb2 state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
      3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vb1 state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
      4: em3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:0b brd ff:ff:ff:ff:ff:ff
      5: em4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
      link/ether 00:21:9b:9d:75:0d brd ff:ff:ff:ff:ff:ff
      10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
      link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
      inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
      valid_lft forever preferred_lft forever
      11: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
      link/ether 52:54:00:bf:c6:48 brd ff:ff:ff:ff:ff:ff
      16: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb1 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:f8:58:d1 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fef8:58d1/64 scope link
      valid_lft forever preferred_lft forever
      17: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb2 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:16:6f:bc brd ff:ff:ff:ff:ff:ff
      18: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb3 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:de:07:95 brd ff:ff:ff:ff:ff:ff
      19: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vb4 state UNKNOWN group default qlen 1000
      link/ether fe:54:00:7e:d9:ac brd ff:ff:ff:ff:ff:ff
      20: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether 62:30:db:db:51:bd brd ff:ff:ff:ff:ff:ff
      27: vi2@vi1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb3 state DOWN group default qlen 1000
      link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
      28: vi1@vi2: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether de:3c:55:e8:61:2e brd ff:ff:ff:ff:ff:ff
      inet 172.16.0.3/24 scope global vi1
      valid_lft forever preferred_lft forever
      29: vi4@vi3: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop master vb4 state DOWN group default qlen 1000
      link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
      30: vi3@vi4: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether 9a:6d:01:d6:70:ea brd ff:ff:ff:ff:ff:ff
      inet 10.0.0.3/24 scope global vi3
      valid_lft forever preferred_lft forever
      31: vb2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:07 brd ff:ff:ff:ff:ff:ff
      inet 192.168.1.16/24 brd 192.168.1.255 scope global noprefixroute vb2
      valid_lft forever preferred_lft forever
      inet6 fe80::221:9bff:fe9d:7507/64 scope link noprefixroute
      valid_lft forever preferred_lft forever
      32: vb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 00:21:9b:9d:75:09 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::221:9bff:fe9d:7509/64 scope link
      valid_lft forever preferred_lft forever
      33: vb3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 72:82:e9:ed:08:e8 brd ff:ff:ff:ff:ff:ff
      inet 172.16.0.2/24 brd 172.16.0.255 scope global noprefixroute vb3
      valid_lft forever preferred_lft forever
      inet6 fe80::7082:e9ff:feed:8e8/64 scope link
      valid_lft forever preferred_lft forever
      34: vb4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
      link/ether 3e:7c:e9:96:b9:a5 brd ff:ff:ff:ff:ff:ff
      inet 10.0.0.2/24 brd 10.0.0.255 scope global noprefixroute vb4
      valid_lft forever preferred_lft forever
      inet6 fe80::3c7c:e9ff:fe96:b9a5/64 scope link
      valid_lft forever preferred_lft forever



      [root@workhorse1 log]# brctl show
      bridge name bridge id STP enabled interfaces
      vb1 8000.00219b9d7509 yes em2
      vnet0
      vb2 8000.00219b9d7507 no em1
      vnet1
      vb3 8000.7282e9ed08e8 yes vi2
      vnet2
      vb4 8000.3e7ce996b9a5 yes vi4
      vnet3
      virbr0 8000.525400bfc648 yes virbr0-nic



      When I systemctl restart network, the bridge enslavements for the virtual interfaces (vi1, vi2, vnet0-vnet3) don't persist and I have to re-enslave each virtual interface. I am enslaving the the virtual interfaces with ip link set vnet3 master vb4.



      How do I make the virtual interface bridge enslavements persist between service and machine restarts?







      centos network-interface persistence





      share







      New contributor




      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 mins ago









      AlexAlex

      1




      1




      New contributor




      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Alex is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508243%2fbridge-configs-reset-after-systemctl-restart-network%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Alex is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Alex is a new contributor. Be nice, and check out our Code of Conduct.













          Alex is a new contributor. Be nice, and check out our Code of Conduct.












          Alex is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508243%2fbridge-configs-reset-after-systemctl-restart-network%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          CARDNET

          Boot-repair Failure: Unable to locate package grub-common:i386

          濃尾地震