##macvlan <interface type='direct'> <mac address='52:54:00:2e:59:56'/> <source dev='enp0s31f6' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='direct'> <mac address='52:54:00:0d:3c:fb'/> <source dev='enp0s31f6' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='direct'> <mac address='52:54:00:db:00:58'/> <source dev='enp0s31f6' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
###橋接 <interface type='bridge'> <mac address='52:54:00:ec:c4:3c'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> ##############
macvlan 不須要配置橋接網卡 直接改成eth0便可bash
<interface type='direct'> <mac address='52:54:00:db:00:58'/> <source dev='eth0' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
橋接須要配置bond網卡dom