Difference between revisions of "KVM networking"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | ||
</interface> | </interface> | ||
+ | |||
+ | <interface type='direct' [[trustGuestRxFilters]]='yes'> | ||
+ | <mac address='52:54:00:ce:12:e4'/> | ||
+ | <source dev='eno1' mode='bridge'/> | ||
+ | <model type='virtio'/> | ||
+ | <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | ||
+ | </interface> | ||
+ | |||
<interface type='network'> | <interface type='network'> |
Revision as of 10:44, 17 February 2020
Different interface types:
<interface type='direct'> (The interface type for macvtap is direct) <interface type='network'>
Different configuration examples:
<interface type='direct'> <mac address='52:54:00:ce:12:e4'/> <source dev='eno1' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
<interface type='direct' trustGuestRxFilters='yes'> <mac address='52:54:00:ce:12:e4'/> <source dev='eno1' mode='bridge'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
<interface type='network'> <mac address='52:54:00:5d:c1:a5'/> <source network='default'/> <model type='rtl8139'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
<interface type='network'> <source network='isolated'/> <model type='virtio'/> </interface>
<interface type=”direct”> <mac address=12:34:56:78:9a:bc/> <source dev=private1 mode=bridge/> <model type=virtio/> <driver name=vhost/> </interface>
Related commands
virsh dumpxml
- virtio
- MacVTap
lspci
- Options:
trustGuestRxFilters
(multicast)
See also
- Virsh net: KVM networking,
virsh net-info
,virsh net-define
,virsh net-list
,virsh net-edit
,virsh net-dhcp-leases
,virsh net-start
,virsh net-autostart
,virsh net-list
, KVM networking,/etc/libvirt/qemu/networks/default.xml
, MacVTap - KVM networking, virsh net, MacVTap, Macvtap logs, virtio,
trustGuestRxFilters
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
Advertising: