[ovs-discuss] How to set trunk on open vswitch?
akayong at gmail.com
Wed May 26 16:22:15 UTC 2010
After I posted original thread, I could find the "Port" table has
information about "trunk"
And the manual(http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf) said,
A bridge port must be configured for VLANs in one of two mutually exclusive
1) A‘‘trunk port’’ has an empty value for tag and a possibly non-empty
2) An ‘‘implicitly tagged VLAN port’’ or ‘‘access port’’ has an
nonempty value for tag and
an empty trunks value.
If trunks and tag are both nonempty, the configuration is ill-formed
so, I firstly tried in the way of "1", (set trunks value as 100), servers
and VMs cannot communicate each other,
and when I set trunks value as 0,100 then they communicate each other.
(maybe because of "0")
when I tried in the way of "2", it looks fine, but I cannot sure that it is
VLAN networking or real networking.
I tried to capture the packets through "tcpdump" instruction, however, I
cannot catch any packets from that.
And I used ovs-dpctl dump-flows.
I set the trunk port as 100, however, dump-flows shows, it only uses port
How can control the trunk port? And I have no idea about Mirror table, I
cannot show any entries.
So, can anyone give some advice for setting trunk port?
Thanks in Advance.
From: Ben Pfaff [mailto:blp at nicira.com]
Sent: Thursday, May 27, 2010 12:58 AM
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] How to set trunk on open vswitch?
On Wed, May 26, 2010 at 11:38:01AM +0900, ????????? wrote:
> How can I set trunk through open vswitch?
In Open vSwitch, ports are trunks by default. Only if you configure a
port as having a specific vlan does it disable trunk mode.
More information about the discuss