L
L
liks2016-03-27 18:42:03
KVM
liks, 2016-03-27 18:42:03

Forwarding a network card in KVM?

How to forward a network card to kvm so that the host does not touch it at all, that is, only the guest should communicate with the card.
There are modes:
default
vepa
bridge
private
passtrouth
If, of course, I look in that place ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
liks, 2016-03-28
@liks

I found everything, I dug in the wrong place.
Here is the solution
https://forum.pfsense.org/index.php?topic=50013.0
sudo mousepad /etc/network/interfaces
## this is for the internal network
auto vmbr0
iface vmbr0 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp on
bridge_fd 0
## this is for guest
auto vmbr10
iface vmbr10 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question