M
M
MRF472020-08-20 14:21:06
Virtualization
MRF47, 2020-08-20 14:21:06

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

1 answer(s)
R
Ruslan Fedoseev, 2020-08-20
@MRF47

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 question

Ask a Question

731 491 924 answers to any question