Hello All,
I searched and found a thread, however there were no responses.
https://forums.suse.com/showthread.php?3769-KVM-Server-needs-to-be-TAGGED&highlight=kvm+virtual+switch
Here is a synopsis of my issue:
Network A (VLAN 100) 10.10.100.0/24
Gateway 10.10.100.1
Network B (VLAN200) 20.20.200.0/24
Gateway 20.20.200.1
KVM Host Physical network
Eth1 VLAN 100 (tagged) 10.10.100.10
Eth2 VLAN 200 (tagged) 20.20.200.10
Tagged traffic can pass on both physical interfaces from KVM host to network switch:
linux-enrg:~ # ping 10.10.100.1 -I vlan100
PING 10.10.100.1 (10.10.100.1) from 10.10.100.10 vlan100: 56(84) bytes of data.
64 bytes from 10.10.100.1: icmp_seq=1 ttl=64 time=0.857 ms
64 bytes from 10.10.100.1: icmp_seq=2 ttl=64 time=0.730 ms
linux-enrg:~ # ping 20.20.200.1 -I vlan200
PING 20.20.200.1 (20.20.200.1) from 20.20.200.10 vlan200: 56(84) bytes of data.
64 bytes from 20.20.200.1: icmp_seq=1 ttl=64 time=0.482 ms
64 bytes from 20.20.200.1: icmp_seq=2 ttl=64 time=0.468 ms
KVM Virtual Switch Network Interfaces:
VLAN100
VLAN200
KVM Guest:
Eth0 virtual network NAT to 192.168.122.0/24
VLAN100 (host device eth1 macvtap) bridge
VLAN200 (host device eth2 macvtap) bridge
Eth1 vlan 100 tagged
linux-nybj:/etc/sysconfig/network # ping 10.10.100.10 -I vlan100
PING 10.10.100.10 (10.10.100.10) from 10.10.100.10 vlan100: 56(84) bytes of data.
64 bytes from 10.10.100.10: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from 10.10.100.10: icmp_seq=2 ttl=64 time=0.076 ms
#Fails to ping host or gateway
linux-nybj:/etc/sysconfig/network # ping 10.10.100.1 -I vlan100
PING 10.10.100.1 (10.10.100.1) from 10.10.100.10 vlan100: 56(84) bytes of data.
From 10.10.100.10 icmp_seq=1 Destination Host Unreachable
From 10.10.100.10 icmp_seq=2 Destination Host Unreachable
Eth2 vlan 200 tagged
linux-nybj:/etc/sysconfig/network # ping 20.20.200.10 -I vlan200
PING 20.20.200.10 (20.20.200.10) from 20.20.200.10 vlan200: 56(84) bytes of data.
64 bytes from 20.20.200.10: icmp_seq=1 ttl=64 time=0.087 ms
64 bytes from 20.20.200.10: icmp_seq=2 ttl=64 time=0.073 ms
#Fails to ping host or gateway
linux-nybj:/etc/sysconfig/network # ping 20.20.200.1 -I vlan200
PING 20.20.200.1 (20.20.200.1) from 20.20.200.10 vlan200: 56(84) bytes of data.
From 20.20.200.10 icmp_seq=1 Destination Host Unreachable
From 20.20.200.10 icmp_seq=2 Destination Host Unreachable
I have tried several permutations of bridges, pass-thrus, etc and have not had any success. I have to be missing something, but I need another set of eyes to help me with what I am overlooking. Also, are there any commands I can use to diagnose traffic through the virtual switch?
Regards,
WS