RHEL 8 virt-manager with qemu-4.2.0, can't connect network
Michal Prívozník
mprivozn at redhat.com
Mon Jul 12 09:52:19 UTC 2021
Hey,
On 7/10/21 2:49 AM, Leek, Jim wrote:
> This seems like it should be very easy, so I must be missing something,
> but I cannot get my guest to communicate with my host or with the
> internet. I really jsut need some way to get files across, the guest
> doesn't even need internet access.
> The host is RHEL 8.4, the guest is CentOS 8.
> Everything is installed from the yum repos, so it's all default, but my
> corporate IT environment is pretty locked down. So that might be related.
> I tried to use a shared drive, but apparently that is disabled in RHEL 8.
> By default the network is 'NAT' with virtio.
> Here's my guest ifconfig:
> enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> ether 6c:2b:59:e9:44:50 txqueuelen 1000 (Ethernet)
> RX packets 38 bytes 4953 (4.8 KiB)
> RX errors 0 dropped 7 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0
> inet6 ::1 prefixlen 128 scopeid 0x10<host>
> loop txqueuelen 1000 (Local Loopback)
> RX packets 1840 bytes 159880 (156.1 KiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 1840 bytes 159880 (156.1 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
> inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
> ether 52:54:00:a8:4e:b8 txqueuelen 1000 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
I wonder what does your host ifconfig look like. I mean, 192.168.122.1
is the default IP address of the libvirt's network and this might
suggest that you have clashing addresses if the network on your host
uses the same range. Also, can you please post the <interface/> part of
the 'virsh dumpxml'?
Michal
More information about the virt-tools-list
mailing list