kvmvlan icon indicating copy to clipboard operation
kvmvlan copied to clipboard

Problems among hosts

Open kingoverworld opened this issue 6 years ago • 1 comments

It is a good job! thanks for Author. but I find a fault when a cluster consists of many hosts.


Host A ===>using kvmvlan Host B ===>using kvmvlan

There are four virutal machines. VM1 ===> vlan id = 2, VM2 == > vlan id = 3 in Host A. VM3 ===> vlan id = 3, VM4 ==> vlan id = 4 in Host B.

When Host A and B are connected by a switch, I found the following.

VM3 ping VM3, ok ! I think it right. but other VMS can ping each other, too. I think some fault happens. why?

kingoverworld avatar May 21 '18 07:05 kingoverworld

Hi @kingoverworld, Glad you use it.

kvmvlan only sets vlan tags on the linux bridge ports. Inter-vlan routing is out of its scope. My guess would be that your switch routes between vlans for you. That would normally be default behavior for most L3-enabled switches if you assign ip addresses to SVIs (vlan interfaces).

Let me know if you still think that the problem is in kvmvlan.

nesanton avatar May 21 '18 08:05 nesanton