Answer the question
In order to leave comments, you need to log in
How to set up KVM virtualization with two bridges?
Greetings.
Input:
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto enp1s0f0
iface enp1s0f0 inet manual
auto br0
iface br0 inet static
address XXX.XXX.XXX.AAA
netmask 255.255.255.238
gateway XXX.XXX.XXX.GGG
network XXX.XXX.XXX.0
broadcast XXX.XXX.XXX.255
bridge_ports enp1s0f0
bridge_maxwait 0
bridge_stp off
bridge_fd 0
auto br1
iface br1 inet static
address 10.0.0.250
netmask 255.255.255.0
network 10.0.0.0
bridge_ports none
bridge_fd 0
Answer the question
In order to leave comments, you need to log in
How will KVM help you, and indeed any virtualization in principle, if you can’t kill the soft, but it eats up memory without restrictions? All the same OOM will be.
Setting up a KVM network for your case is no different, give it one vif hooked to br1 and 10.0.0.250/24 as the default gateway. Except perhaps the fact that you need to specify the IP addressing settings in the guest itself. Well, or configure dhcp.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question