[ovs-discuss] Ovs with trunk
Jose Augusto de Sousa
joseaugusto.sousa at gmail.com
Fri Feb 14 19:56:45 UTC 2014
Dear,
i need a little help.
i have a virtual machine with ovs with 3 interfaces.
eth0 administrative connection
eth1 connected a switch in trunk mode, this switch port has vlans 20-50
vlans
eth2 connected another switch, this has normal connection, native
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1
ovs-vsctl add-port br0 eth2
ovs-vsctl add-port br0 vlan20 tag=20 -- set interface vlan20
type=internal
ovs-vsctl show
bfe59603-c7fd-4d2d-8c9c-675ae8796c7f
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "vlan20"
tag: 20
* Interface "vlan20"*
* type: internal*
Port "eth1"
Interface "eth1"
Port "eth2"
Interface "eth2"
ovs_version: "2.1.90"
I have virtual machine running in switch in acess mode on tag20
the eth1 are connected in switch with trunk with vlans 20-50
i saw a package comming up for eth2 and eth1, but this doenst arrived in
vm, i saw my gw asking whatis the mac vm1
17:49:50.717928 IP 172.22.4.139 > 10.133.22.105: ICMP echo request, id 5,
seq 21461, length 40
when i'm sniffing interface vlan20 i dindt see any thing.
and this vm in vlan20 didnt arrived any thing.
when i change the setup for this one, when i use a virtual interface with
vlan20 tagged.
this work whell
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1
ovs-vsctl add-port br0 eth1.20
ovs-vsctl add-port br0 eth2
bfe59603-c7fd-4d2d-8c9c-675ae8796c7f
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "eth1"
Interface "eth1"
Port "eth1.20"
* Interface "eth1.20"*
Port "eth2"
Interface "eth2"
ovs_version: "2.1.90"
i can ping the vm ip
17:50:15.689919 IP 172.22.4.139 > 10.133.22.105: ICMP echo request, id 5,
seq 21466, length 40
17:50:15.690184 IP 10.133.22.105 > 172.22.4.139: ICMP echo reply, id 5, seq
21466, length 40
are there some form todo that whitout need use *eth1.20?*
Thank you in advance!
[]'s
José Augusto de Sousa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140214/d427ac7c/attachment.html>
More information about the discuss
mailing list