On Thu, May 27, 2010 at 10:45:26PM +0900, �ſ��� wrote:
> Firstly, I made a real bridge as xenbr2.
>
> Then, I made a fake bridge as xenbr2.100 with tagging 100.
>
> And I attached eth2 to xenbr2.100 with tagging 100.
>
>
>
> And I did same thing to another server
>
>
>
> Then, both server can communicate each other with tagging information.
>
>
>
> However, I want to make another vlan, such as 200, 300 and so on.
>
>
>
> So I made another fake bridge as xenbr2.200 with tagging 200
>
> And I tried attach eth2 to xenbr2.200 with tagging 200.
>
> With ��ovs-vsctl add-port xenbr2.200 eth2 tag=200��
>
>
>
> But it says,
>
> ovs-vsctl: cannot create a port named eth2 because a port named eth2
> already exists on bridge xenbr2.100
It sounds like you wanted to do this:
ovs-vsctl add-br xenbr2
ovs-vsctl add-port xenbr2 eth2
ovs-vsctl add-port xenbr2 xenbr2.100 vlan=100
ovs-vsctl add-port xenbr2 xenbr2.200 vlan=200
This will make eth2 a trunk port. Any packets on vlan 100 will be
switched to xenbr2.100 with the vlan stripped off. Any packets on vlan
100 will be switched to xenbr2.200 with the vlan stripped off.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org