C
C
Cyril2017-08-01 17:08:46
System administration
Cyril, 2017-08-01 17:08:46

How to open Internet access to a KVM virtual machine in Windows?

Transferred a virtual machine from VMWare (vmdk) to KVM (qcow2). When the machine was in VMWare format, there were no issues with Internet access, everything worked, because. VMWare Workstations can bridge with a physical network card.
How to provide Internet access for a KVM virtual machine? I run it on Windows .
I start the virtual machine from the command line with the following parameters:

qemu-system-x86_64 -name ubuntu -machine type=pc \
-drive file=vm.qcow2,index=0,media=disk,format=qcow2,if=virtio \
-m 1G,maxmem=2G,slots=1 -vga virtio -boot menu=on -rtc base=localtime,clock=host \
-net nic,model=virtio

I tried to specify -net bridge,br=br0 in the launch options , but it says that this is not possible.
Help, please, to understand. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2017-08-01
@CityCat4

So the bridge must first be bridged at the Linux level.

V
Viktor Borovikov, 2017-08-11
@theo127

https://blog.n1mda.ru/linux/proxmox-nastpoyka-seti.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question