Hi everyone!
I am using virt-manager to create some VMs and recently I noticed that the VM’s can’t access the internet and I can’t access VM’s from the host.
I have tried disabling firewalls, using both linux and windows as guests and adding entries to iptables manually.
The VMs do get IPs using DHCP.
Here are some configurations:
<network>
<name>default</name>
<uuid>a1177501-4158-43ad-b2b3-80a11699600e</uuid>
<forward mode="nat">
<nat>
<port start="1024" end="65535"/>
</nat>
</forward>
<bridge name="virbr0" stp="on" delay="0"/>
<mac address="52:54:00:5b:d4:08"/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.3" end="192.168.122.254"/>
</dhcp>
</ip>
</network>
<interface type="network">
<mac address="52:54:00:50:6b:9f"/>
<source network="default"/>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>
Thank you in advance!