How do I add a 2nd virtual network interface to an appvm?

I want to try the Linux firewall distribution IPFire, but it can only be installed if the host has two or more network interfaces.

I have made a custom xen.xml for the appvm, so I can modify net.xml, and this seems to be working.

I tried to manually add an interface by copying it from /etc/libvirt/libxl and changing the ip and mac, this didn’t work.

Is it possible to add more than one interface?

It works if you copy the entire interface block, not just the addresses.

1 Like