X
X
xai_d22018-09-19 08:51:58
ubuntu
xai_d2, 2018-09-19 08:51:58

How to transfer a tagged vlan to a KVM virtual machine in ubuntu server?

2 vlans 1 in the tag come to the host machine, it needs to be thrown to the virtual machine, the second one is not in the tag, it needs to be left on the host machine and thrown further to the same virtual machine.
Here is the network setup on the host machine, I just didn’t master it further, apparently there wasn’t enough knowledge.
auto eno1
iface eno1 inet manual
#
#
auto br0
iface br0 inet static
address 192.168.187.92
netmask 255.255.255.0
network 192.168.187.0
gateway 192.168.187.1
bridge_ports eno1
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-09-19
@Tabletko

Regular bridges don't seem to work with vlans. You need open vswitch. Or, remove the tags on the host, and give two untagged br to the virtual machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question