On 3/3/22 14:44, Samuel Sieb wrote:
On 3/3/22 04:24, Robert McBroom via users wrote:
On 3/3/22 00:03, Samuel Sieb wrote:
On 3/2/22 20:29, Robert McBroom via users wrote:
~]# ip route
default via 192.168.122.1 dev enp1s0 proto dhcp metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src
192.168.122.1 linkdown
192.168.122.0/24 dev enp1s0 proto kernel scope link src
192.168.122.91 metric 100
Assuming this is the host, that looks like your problem. The
default subnet for the VM internal network is 122 and it looks like
you have the same subnet on your physical network as well. You need
to change one of them. I expect the VM network would be easier.
You can go to the qemu/kvm details and then edit the network config
in there. Or a possibly easier method is to edit
/etc/libvirt/qemu/networks/default.xml and restart libvirtd.
_______________________________________________
This was from the VM. The Host is192.168.1.233 with the router
gateway 192.168.1.254. Don't know what is going on with route.
Ok, then it seems that libvirt is running on the virtualized OS.
"systemctl disable --now libvirtd". That might not stop the network,
so either reboot it or do "ifdown virbr0".
_______________________________________________
That got things connected to the internet.
~]$ ip route
default via 192.168.122.1 dev enp1s0 proto dhcp metric 100
192.168.122.0/24 dev enp1s0 proto kernel scope link src 192.168.122.91
metric 100
~]$ ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
0 0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
0 0 0 0 0 0
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP mode DEFAULT group default qlen 1000
link/ether 52:54:00:27:f3:78 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
12718255 9277 0 47 0 0
TX: bytes packets errors dropped carrier collsns
377082 5281 0 0 0 0
Response is still not good, cursor movement is jerky and hard to
position. I started the VM with the "Create a New Virtual Machine" icon
in virt-manager then followed the windows to install from a CentOS8 iso
on the system.
Then used a command
virt-install --name Centos9 \
--description 'CentOS9-Stream' \
--ram 4096 \
--vcpus 4 \
--disk path=/var/lib/libvirt/images/vol.qcow2 \
--check path_in_use=off \
--os-type linux \
--os-variant centos-stream9 \
--network bridge=virbr0 \
--graphics vnc,listen=127.0.0.1,port=5901 \
--cdrom
/var/lib/libvirt/images/CentOS9/CentOS-Stream-9-20220224.0-x86_64-dvd1.iso \
--noautoconsole
That worked like a charm and everyting is connected to the internet with
a resonable response
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure