18
2
I'm trying to set up a virtual NAT network device without DHCP for libvirt on an Arch Linux host.
What I have tried:
# virsh net-define network.xml
Network default defined from network.xml
[network.xml
]:
<network>
<name>default</name>
<bridge name="maas0" />
<forward mode="nat" />
<ip address="10.137.0.1" netmask="255.255.255.0" />
</network>
My laptop outputs the following on start-up:
# virsh net-start default
error: Failed to start network default
error: internal error: Failed to initialize a valid firewall backend
All other threads concerning this topic are talking about upgrading software -- I'm using the most current versions:
$ pacman -Q ebtables dnsmasq libvirt iptables
ebtables 2.0.10_4-5
dnsmasq 2.75-1
libvirt 1.3.3-1
iptables 1.4.21-3
What could be the reason for that internal error
and what can I do against?
17
There's no need to install
– pepper_chico – 2018-01-01T17:51:13.343firewalld
, it's also not listed on ArchLinux wiki, it's just necessary to startebtables
anddnsmasq
, withlibvirtd
/virtlogd
afterwards.11I want to emphasize, restart libvirtd, after installing
ebtables
anddnsmasq
– ThorSummoner – 2018-08-27T00:18:37.1873
I confirm there's no need to install
– Alex Oliveira – 2019-05-18T18:08:30.993firewalld
, as noted by @pepper_chico (comment) and Stuart P. Bentley (other answer).