# IPFire as VM (Virt-Manager)

**URL:** <https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285>\
**Category:** Installing & Running IPFire\
**Created:** [6 January 2021 15:12 UTC](https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285 "2021-01-06T15:12:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![whypenguinsquint](https://community.ipfire.org/user_avatar/community.ipfire.org/whypenguinsquint/32/342_2.png) [@whypenguinsquint](https://community.ipfire.org/u/whypenguinsquint)\
**Post date:** [6 January 2021 15:12 UTC](https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285/1 "2021-01-06T15:12:10Z")

</div>

Hello.  
When I try to make a VM and install IPFire the setup complains about having only 1 network interface. I’ve got no idea how to configure my VM to do following:  
Red Interface is the host (my baremetal PC) to guest (IPFire VM). Then I also need to create the green Interface. The green interface (DHCP) would be a connection to other running VMs. Is this even possible? Anyway, I will need to access the web configurator of IPFire (ipfire:444 ?). Is it possible to access it from host and/or other VM guests?

---

<div class="post-metadata">

**Author:** ![rodneyp](https://community.ipfire.org/user_avatar/community.ipfire.org/rodneyp/32/16575_2.png) [@rodneyp](https://community.ipfire.org/u/rodneyp)\
**Post date:** [6 January 2021 20:02 UTC](https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285/2 "2021-01-06T20:02:18Z")

</div>

Although it is possible, IPF recommend that VM be used only for develpment & testing.

You need to configure bridging for your one physical NIC. The default virtual br0 on this becomes your RED. Then add a second virtual bridge, as GREEN, using “isolated network” mode. Whatever network address is assigned to GREEN needs to be used by all your other VM. You may set addressing in the TREEN LAN as DHCP or static. Other VM should then be able to browse to IPF web interface (ipfire:444) .

---

<div class="post-metadata">

**Author:** ![whypenguinsquint](https://community.ipfire.org/user_avatar/community.ipfire.org/whypenguinsquint/32/342_2.png) [@whypenguinsquint](https://community.ipfire.org/u/whypenguinsquint)\
**Post date:** [7 January 2021 16:12 UTC](https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285/3 "2021-01-07T16:12:19Z")

</div>

Thanks. I’ll try it soon.

> [@rodneyp](#):
>
> Whatever network address is assigned to GREEN needs to be used by all your other VM.

Do I really need to assign all my other VMs to the virtual IPFire as well? They can’t get network directly from host then? Or should I add another VM pool/connection to separate my VMs?

---

<div class="post-metadata">

**Author:** ![rodneyp](https://community.ipfire.org/user_avatar/community.ipfire.org/rodneyp/32/16575_2.png) [@rodneyp](https://community.ipfire.org/u/rodneyp)\
**Post date:** [7 January 2021 20:18 UTC](https://community.ipfire.org/t/ipfire-as-vm-virt-manager/4285/4 "2021-01-07T20:18:09Z")

</div>

If the other VM get network directly from host then they are on the RED network. Setting up static routes to enable them to use GREEN and access IPF GUI would be inadvisable. Your compromise would be to put one other VM on the GREEN network, so that it can use IPF GUI.
