macvlan
作者:互联网
##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即可
<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网卡
标签:桥接,网卡,macvlan,##############,##,bond 来源: https://blog.51cto.com/wsxxsl/2542991