— Get two OVS host1 and host2;
— Setup vlan on host1 and host2:
Start vm2 on host2 with: vif = [ "bridge=xenbr701" ]
so vm1 can ping vm2
— Setup vlan on host1 and host2:
- vconfig add eth0 701
- ip link set eth0.701 up
- brctl addbr xenbr701
- ip link set xenbr701 up
- brctl addif xenbr701 eth0.701
Start vm2 on host2 with: vif = [ "bridge=xenbr701" ]
so vm1 can ping vm2