[ovs-dev] [urgent] is there anyway to enable multi-vlan for on vm upon ovs ?
Ben Pfaff
blp at ovn.org
Mon Jan 23 16:21:30 UTC 2017
On Sun, Jan 22, 2017 at 05:18:48PM +0800, xiucai wrote:
> hi,
> everyone :)
>
>
> in my case, there is one vm for storage sharing, we name it SVM, and several VMs as testing client.
> for historic reasons, i can not modify the network which uses vlan upon ovs.
>
>
> the SVM is corresponding to vnet0, make it as trunk for tag-2 and tag-3;
> the VM1 is corresponding to vnet2/tag-2 and the VM2 is corresponding to vnet4/tag-3.
> i wanna all VMx can connect to SVM, but VMx can not communicate with each other!
>
>
> ==============configurations==============
> SVM's eth0: 192.168.1.1 static 52:54:01:CB:35:C4
> VM1's eth0: 192.168.1.2 static 52:54:02:CB:35:C4
> VM2's eth0: 192.168.1.3 static 52:54:03:CB:35:C4
>
>
> Bridge "br1"
> Port "vnet4"
> tag: 3
> Interface "vnet4"
> Port "vnet0"
> trunks: [2, 3]
> Interface "vnet0"
> Port "vnet2"
> tag: 2
> Interface "vnet2"
> Port "br1"
> Interface "br1"
> type: internal
> ovs_version: "2.5.0"
> =====================================
>
>
> but it does not work :(
> they can not ping through each other!
>
>
> i use tcpdump to monitor eth0 on SVM, and ping SVM from VM1, it said "ARP Request who-has SVM-IP to tell VM1-IP".
> and i use arp to add entry for each other, then it only said "VM1-IP > SVM-IP: ICMP echo request, id xxxx, seq x, length xx", but no "reply".
>
>
> i have got no idea about this case, i do not know i have mistaken the concept of trunk on ovs or my config is wrong :(
Does your VM connected to vnet0 understand VLAN trunks? Do you have
VLAN interfaces configured there?
More information about the dev
mailing list