A
A
alexig2018-09-28 14:56:55
Computer networks
alexig, 2018-09-28 14:56:55

How to set up a network between virtual machines on different hosts (QEMU/KVM)?

There are two (host1, host2) pieces of iron with kvm installed on them.
Created one VM on each host.
How to make the VM on host1 see the VM on host2 (ping, netcat)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2018-09-28
@rPman

Different virtual machines have their own network devices, combine them into a bridge (in win this is called a network bridge), you can combine them together with a physical network card, then from the network point of view these virtual machines will simply become separate devices on the local network, and your dhcp server (router) will give them each their own address (and NAT will work if used).

A
alexig, 2018-10-02
@alexig

maybe someone has a configured environment, to look at the configs with one eye.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question