Installation guide

physical interface cannot be bounced back up to the macvtap bridge for forwarding to the
guests.
So lu t io n
Use libvirt to create an isolated network, and create a second interface for each guest
virtual machine that is connected to this network. The host and guests can then directly
communicate over this isolated network, while also maintaining compatibility with
NetworkManager.
Pro ced u re B.3. Creat in g an isolat ed n et wo rk wit h lib virt
1. Add and save the following XML in the /tmp/i so l ated . xml file. If the
192.168.254.0/24 network is already in use elsewhere on your network, you can
choose a different network.
<network>
<name>isolated</name>
<ip address='192.168.254.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.254.2' end='192.168.254.254' />
</dhcp>
</ip>
</network>
2. Create the network with this command: vi rsh net-d efi ne
/tmp/i so l ated .xml
3. Set the network to autostart with the vi rsh net-auto start i so l ated
command.
4. Start the network with the vi rsh net-start i so lated command.
5. Using vi rsh ed i t name_of_guest, edit the configuration of each guest that
uses macvtap for its network connection and add a new <interface> in the
<devices> section similar to the following (note the <model type='virtio'/>
line is optional to include):
<interface type='network'>
<source network='isolated'/>
<model type='virtio'/>
</interface>
6. Shut down, then restart each of these guests.
The guests are now able to reach the host at the address 192.168.254.1, and the host will
be able to reach the guests at the IP address they acquired from DHCP (alternatively, you
can manually configure the IP addresses for the guests). Since this new network is isolated
to only the host and guests, all other communication from the guests will use the macvtap
interface.
B.10. Could not add rule t o fixup DHCP response checksums on
net work 'default'
Symp t o m
This message appears:
Common libvirt errors and t roublesh oot ing
14 1