Answer the question
In order to leave comments, you need to log in
No internet on vm?
There is a server on CentOS 7.
ip 10.6.2.5
mask 255.255.255.0
A VM with the same CentOS 7 is installed on the server.
ip 10.6.2.6
mask 255.255.255.255
gw
10.6.2.5 naturally responds, from the server to VM there is a ping, and from VM there is no ping to 8.8.8.8.
Answer the question
In order to leave comments, you need to log in
and we will not
build a bridge, we specify the network gateway as the gateway for the VM.
Well, or we build a separate network, set up routing or masquerading
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question