Re: Virtual Machine Network Connection Confusion
On 4/4/23 12:44, Peter Boy wrote: Am 04.04.2023 um 17:51 schrieb Robert McBroom via users: Fedora 37 with four qemu/kvm virtual machines. Trying to get internet access from the vm's. Found some advice about using systemd-networkd instead of NetworkManager. Following „some advice“ is usually a good chance for adventure. What was wrong with using Fedora documentation? didn't find anything useful Lost internet connection with the host. Restored with NetworkManager. Further research on NetworkManager gets into a tangle with ifcfg scripts and the apparent migration to keyfiles. Totally confused. Can only start the virtual machines if the network device is removed. -- VM centos8 failed to start Requested operation is not valid: network 'default' is not active - From cockpit on the web interface tried some of the options with bond looking like a possibility - 11:37 AM [1680622647.3084] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager 11:27 AM [1680622058.5768] manager: (vnet4): new Tun device (/org/freedesktop/NetworkManager/Devices/9) NetworkManager 11:07 AM [1680620850.7934] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager 11:02 AM [1680620556.1938] manager: (vnet3): new Tun device (/org/freedesktop/NetworkManager/Devices/8) NetworkManager 11:01 AM [1680620475.6234] manager: (vnet2): new Tun device (/org/freedesktop/NetworkManager/Devices/7) NetworkManager 10:40 AM [1680619204.0043] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager but VM centos8 failed to start Unable to add bridge bond0 port vnet5: Operation not supported -- The options seem to be endless with no success. Advice? All these messages are nice, but meaningless for troubleshooting. The first thing is how the host was installed and how the network was configured, as a first start the output of „ip a“. The second one is, how you configured the virtual internet connection of a vm. The host is a general use server installation with kde desktop added. First round was from a virt-manager start with add hardware device->network. First selection "Virtual Network 'default':NAT(Inactive)" with "Hypervisor default" That gave the message first quoted. Requested operation is not valid: network 'default' is not active The bridge setup selection in virt-manager didn't work either. looked at the networking from cockpit. Got a connection on a vm from cockpit unable to replicate on a second. From the successful connection from host ~]# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eno1: mtu 1500 qdisc fq_codel master virbr0 state UP group default qlen 1000 link/ether 18:60:24:b1:dc:82 brd ff:ff:ff:ff:ff:ff altname enp0s25 6: virbr1: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:54:00:28:a4:bf brd ff:ff:ff:ff:ff:ff 20: virbr0: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether b6:8e:92:80:04:f2 brd ff:ff:ff:ff:ff:ff inet 192.168.1.155/24 brd 192.168.1.255 scope global dynamic noprefixroute virbr0 valid_lft 45172sec preferred_lft 45172sec inet6 2600:1702:4860:9dd0::2b/128 scope global dynamic noprefixroute valid_lft 2904sec preferred_lft 2904sec inet6 2600:1702:4860:9dd0:f790:2432:acf9:c8e8/64 scope global dynamic noprefixroute valid_lft 3601sec preferred_lft 3601sec inet6 fe80::c7d1:6569:1c43:14ff/64 scope link noprefixroute valid_lft forever preferred_lft forever 25: vnet2: mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000 link/ether fe:54:00:19:3b:a3 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc54:ff:fe19:3ba3/64 scope link valid_lft forever preferred_lft forever -- From VM _ ~]# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: virbr0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:54:00:eb:41:ac brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 3: enp3s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:19:3b:a3 brd ff:ff:ff:ff:ff:ff inet 192.168.1.167/24 brd 192.168.1.255 scope global dynamic noprefixroute enp3s0 valid_lft 45641sec preferred_lft 45641sec inet6 2600:1702:4860:9dd0::3b/128 scope global dynamic noprefixroute valid_lft 2252sec preferred_lft 2252sec inet6 2600:1702:4860:9dd0:7067:8cd2:abb9
Re: Virtual Machine Network Connection Confusion
> Am 04.04.2023 um 17:51 schrieb Robert McBroom via users > : > > Fedora 37 with four qemu/kvm virtual machines. Trying to get internet access > from the vm's. Found some advice about using systemd-networkd instead of > NetworkManager. Following „some advice“ is usually a good chance for adventure. What was wrong with using Fedora documentation? > Lost internet connection with the host. Restored with NetworkManager. > Further research on NetworkManager gets into a tangle with ifcfg scripts and > the apparent migration to keyfiles. > > Totally confused. > > Can only start the virtual machines if the network device is removed. > > -- > > VM centos8 failed to start > > Requested operation is not valid: network 'default' is not active > - > From cockpit on the web interface tried some of the options with bond looking > like a possibility > - > 11:37 AM > [1680622647.3084] dhcp6 (bond0): state changed new lease, > address=2600:1702:4860:9dd0::34 > NetworkManager > 11:27 AM > [1680622058.5768] manager: (vnet4): new Tun device > (/org/freedesktop/NetworkManager/Devices/9) > NetworkManager > 11:07 AM > [1680620850.7934] dhcp6 (bond0): state changed new lease, > address=2600:1702:4860:9dd0::34 > NetworkManager > 11:02 AM > [1680620556.1938] manager: (vnet3): new Tun device > (/org/freedesktop/NetworkManager/Devices/8) > NetworkManager > 11:01 AM > [1680620475.6234] manager: (vnet2): new Tun device > (/org/freedesktop/NetworkManager/Devices/7) > NetworkManager > 10:40 AM > [1680619204.0043] dhcp6 (bond0): state changed new lease, > address=2600:1702:4860:9dd0::34 > NetworkManager > > but > > VM centos8 failed to start > > Unable to add bridge bond0 port vnet5: Operation not supported > -- > > The options seem to be endless with no success. > Advice? > All these messages are nice, but meaningless for troubleshooting. The first thing is how the host was installed and how the network was configured, as a first start the output of „ip a“. The second one is, how you configured the virtual internet connection of a vm. -- Peter Boy https://fedoraproject.org/wiki/User:Pboy p...@fedoraproject.org Timezone: CET (UTC+1) / CEST (UTC+2) Fedora Server Edition Working Group member Fedora docs team contributor Java developer and enthusiast ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Virtual Machine Network Connection Confusion
Fedora 37 with four qemu/kvm virtual machines. Trying to get internet access from the vm's. Found some advice about using systemd-networkd instead of NetworkManager. Lost internet connection with the host. Restored with NetworkManager. Further research on NetworkManager gets into a tangle with ifcfg scripts and the apparent migration to keyfiles. Totally confused. Can only start the virtual machines if the network device is removed. -- VM centos8 failed to start Requested operation is not valid: network 'default' is not active - From cockpit on the web interface tried some of the options with bond looking like a possibility - 11:37 AM [1680622647.3084] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager 11:27 AM [1680622058.5768] manager: (vnet4): new Tun device (/org/freedesktop/NetworkManager/Devices/9) NetworkManager 11:07 AM [1680620850.7934] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager 11:02 AM [1680620556.1938] manager: (vnet3): new Tun device (/org/freedesktop/NetworkManager/Devices/8) NetworkManager 11:01 AM [1680620475.6234] manager: (vnet2): new Tun device (/org/freedesktop/NetworkManager/Devices/7) NetworkManager 10:40 AM [1680619204.0043] dhcp6 (bond0): state changed new lease, address=2600:1702:4860:9dd0::34 NetworkManager but VM centos8 failed to start Unable to add bridge bond0 port vnet5: Operation not supported -- The options seem to be endless with no success. Advice? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue