# Looking for the (as much as possible detailed) guide for configuring KVM on Rocky Linux 9.4

**URL:** <https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [July 17, 2024, 10:18pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099 "2024-07-17T22:18:07Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 19, 2024, 6:20pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/21 "2024-07-19T18:20:35Z")

</div>

Hi jlehtone,  
thank you for your response.  
First of all I would have certainly used copy/paste option if it worked. Alas! This is the web iLO interface rather than a regular terminal… no luck.  
I tried disabling the IP6 interface but received an error in response:  
“Error: invalid or not allowed setting ‘ipv6’: ‘ipv6’ not among [connection, 802-3-ethernet (ethernet), 802-1x…”  
Anyway, the virt-manager is actually what I am using and it is it that informed me about the “No active connection to install on”.  
What could I miss?  
Best regards,

> [@jlehtone](#):
>
> `sudo nmcli c mod ens1f0np0 ipv6.method disabled`

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 19, 2024, 8:41pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/22 "2024-07-19T20:41:19Z")

</div>

> [@mfaynberg](#):
>
> I tried disabling the IP6 interface but received an error in response:  
> “Error: invalid or not allowed setting ‘ipv6’: ‘ipv6’ not among [connection, 802-3-ethernet (ethernet), 802-1x…”

Doh! What was I thinking? The `ens1f0np0` is enslaved to `br0`; it has no ipv4 nor ipv6 settings.  
I should have written:

```auto
sudo nmcli c mod br0 ipv6.method disabled

```

Because it is the `br0` that does have ipv4 and ipv6 settings.

* * *

Do you start the `virt-manager` with your own account, or as root? (E.g. via sudo, etc.)

The virt-manager starts for me with already connected to localhost. I think it has option to “disconnect”, so probably also an option to “connect” if it is disconnected.  
For managing other hosts, I do add connections (that do use ssh root@remote with ssh keypair authentication).

---

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 19, 2024, 8:52pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/23 "2024-07-19T20:52:55Z")

</div>

Actually I am now connected via iLO connection and logged in as root (for the time of installation anyway). On my original system (which crashed on me recently and which I am now trying to recreate) it had also always stayed connected. Now it is disconnected but on the other hand the VM wasn’t created yet…

---

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 19, 2024, 9:33pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/24 "2024-07-19T21:33:42Z")

</div>

BTW, how to ensure the virt-manager is connected automatically?

---

<div class="post-metadata">

**Author:** ![sweh](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/sweh/32/1287_2.png) [@sweh](https://forums.rockylinux.org/u/sweh)\
**Post date:** [July 20, 2024, 2:27am UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/25 "2024-07-20T02:27:54Z")

</div>

FWIW, you can verify the slave devices are properly connected to the bridge wiith `nmcli -f BRIDGE.SLAVES device show br0` (this is a field that isn’t shown by default).

You can also run `ip -4 a` to verify that the ens… interface doesn’t have an address assigned, only the bridge.

---

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 23, 2024, 8:53pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/26 "2024-07-23T20:53:21Z")

</div>

Not a day without a problem! Yesterday the system was working OK, had the external connections and all - suddenly today (after reboot?) despite the configuration looks OK, there is no connection: nothing is pingable…

 ![Ip_ad_01](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/6/607db25e7da4e5ee26de21587cba2edbfead6b40.jpeg)  
 ![nmcli_01](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/5/5b2cd44dbeaa516d581a2378e099ce832b992734.jpeg)  
 ![nmcli_011](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/6/6cec14bf3996082e063a262b34cb244c9fb5fc4e.jpeg)  
 ![nmcli_012](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/e/ec67b7982d596ad749d1e3d6c6600ce11b455195.jpeg)  
Any ideas?  
Thank everyone in advance!

---

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 23, 2024, 9:18pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/27 "2024-07-23T21:18:25Z")

</div>

Additionally… When I requested the connections statuses with nmcli conn show, the bridge br0 was up (displayed green) while the slave (ens1f0np0) was not (displayed black). Is it how it is supposed to be in this configuration?  
Not that it changed anything when I said nmcli conn up ens1f0npo0 - despite it is now shown up, connection is not restored ☹

---

<div class="post-metadata">

**Author:** ![mfaynberg](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mfaynberg](https://forums.rockylinux.org/u/mfaynberg)\
**Post date:** [July 24, 2024, 7:34pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/28 "2024-07-24T19:34:22Z")

</div>

Guys! Pay attention at my problem, please! I reset the network switch, and the network configuration looks OK to me - but I still cannot ping any external node. What should I do and where to look?  
Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [September 22, 2024, 7:34pm UTC](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099/29 "2024-09-22T19:34:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.rockylinux.org/t/looking-for-the-as-much-as-possible-detailed-guide-for-configuring-kvm-on-rocky-linux-9-4/15099.md?page=1)
