[ovs-discuss] How to set trunk on open vswitch?

신용진 akayong at gmail.com
Thu May 27 01:58:32 UTC 2010


At first, I do not set any values both of "tag", and "trunks"
But servers and VMs cannot communicate each other. 
So, I searched about "trunk" on openvswitch, and I set the value on them.

Let's suppose that I put an IP on VLAN as at SV1(Server1).
When I ping to from other server(SV2) (those two servers(SV1, SV2) are connected to same physical server)
Then, the SV1 replies for pinging

However, the VLAN( can not going out anywhere.
When I ping, or traceroute through that VLAN, it doesn't works.

I can see the RX bytes and TX bytes with "ifconfig".
TX bytes seems OK, but RX bytes is always 0.

Why this kind of problem happens? 
Is it problem of my server? I think it's not.

Is there any way to control the trunk port?

Thanks in advance.

-----Original Message-----
From: Ben Pfaff [mailto:blp at nicira.com] 
Sent: Thursday, May 27, 2010 1:55 AM
To: �ſ���
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] How to set trunk on open vswitch?

On Thu, May 27, 2010 at 01:22:15AM +0900, �ſ��� wrote:
> 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
> ways:
> 1) Atrunk port has an empty value for tag and a possibly non-empty
> trunks value.
> 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")

I would just leave both values empty, to trunk all VLANs.  This is
normally the desired behavior.

More information about the discuss mailing list