[SOLVED] Centos 8 Stream VM Network problem

lps90

Well-Known Member
May 21, 2020
211
10
58
Hi guys

I installed an Centos 8 stream VM, everything is ok.
The only problem i face is the network connection.
I cant manage to have internet in this VM.

I'm using a failover ip (ovh) and i added the Virtual mac address like i see
in some tutorials, but network is still not working.

Anyone that can help?
Thanks
 
**Forget the network problem.
I managed to configure the network.

Currently the only Problem is that i can ping for example "8.8.8.8"
but i can not ping for example "google.com"

Any possible solution?
 
Currently the only Problem is that i can ping for example "8.8.8.8"
but i can not ping for example "google.com"
sounds like DNS is not setup correctly - you need to provide a working DNS-server (e.g. 8.8.8.8) in /etc/resolv.conf (see `man resolv.conf`)

I hope this helps
 
@Stoiko Ivanov

My resolv.conf is already with:
nameserver 8.8.8.8
nameserver 8.8.4.4

So thats not the problem.
Any other possible solution?
 
If you can ping IP-addresses but not hostnames then the issue is almost certainly related to DNS
Maybe you have some firewall rules in place which prevent accessing udp/tcp port 53 on 8.8.8.8, 8.8.4.4?
 
  • Like
Reactions: lps90
If you can ping IP-addresses but not hostnames then the issue is almost certainly related to DNS
Maybe you have some firewall rules in place which prevent accessing udp/tcp port 53 on 8.8.8.8, 8.8.4.4?

After disabling the firewall, everything started working like expected.
Commands to disable:
systemctl stop firewalld
systemctl disable firewalld

@Stoiko Ivanov Thank you ;)