VLAN Filter ?
Hi,
Im trying to create an VLAN on an KVMGuest, using vlan filters. Its for testing purposes only, to get familiar with other ways of doing VLAN bridges. On the switch I have port:8 tagged VLAN200, KVM host NIC enp2s0f1 server plugged into here port:7 untagged VLAN200,PVID200 IOT device. On the KVM host I have done the following: Code:
ip link add name br200 type bridge Code:
bridge vlan add vid 200 dev enp2s0f1 from the KVM guest Code:
<source bridge='br200'/> Code:
auto eth0.200 If I on the KVM host, tcpdump the new virtual interface, I can see the vlan traffic. But NOT on br200, or the physical interface, I guess I should at least be able to on the physical interface ? Shows VLAN tags! Code:
tcpdump -nn -i vnet14 -e vlan Code:
tcpdump -nn -i br200 -e vlan |
I found the problem. The vnet adapter for the VM needs to have the VLAN as well, as the physical interface, like so:
Code:
bridge vlan add vid 200 dev enp2s0f1 <- if not already done. |
All times are GMT -5. The time now is 08:09 AM. |