Re: [ovs-discuss] trunk port understanding

2012-03-18 Thread edward wilson
Hi, My query was if a port is trunk port then the packet coming out from this interface should be tagged packet but I am not getting tag in packet. Query example:- 1) one machine have 2 VMs and both interfaces are trunk port with vlan 2, when I am sending ping request from VM1 to VM2 with vlan 2

Re: [ovs-discuss] Same mac address of br0 and eth0

2012-03-18 Thread Ben Pfaff
I don't see how br0 and eth0 having the same MAC address would cause the behavior that you mention. I would suggest following a conventional troubleshooting procedure instead of making this assumption. If you want us to help with that troubleshooting then you can start from the suggestions in REP

Re: [ovs-discuss] Same mac address of br0 and eth0

2012-03-18 Thread Jingfei Hu
Thanks, Ben, But there is a problem here. The following commands have not changed: sudo ovs-vsctl add-br br0 sudo ovs-vsctl set bridge br0 datapath_type=netdev sudo ovs-vsctl add-port br0 eth0 sudo ovs-vsctl add-port br0 tap0

Re: [ovs-discuss] trunk port understanding

2012-03-18 Thread Ben Pfaff
On Sun, Mar 18, 2012 at 09:24:04PM +0530, edward wilson wrote: > 1) 2 machines with OVS installed and br0 cretaed .VM on both machines have > already been cretaed. > when pinging both VMs , it is successful. but stats of br0 is not > increasing ,always data is going on from phsiycal interface o

Re: [ovs-discuss] Vlan Testing in between two OVS

2012-03-18 Thread Ben Pfaff
Yes, ports are trunks by default, so if you have not configured the ports specifically as some other kind of port, then they are trunk ports. prabin pattnaik: It is possible that your kernel NIC drivers have VLAN problems. Please consider testing for VLAN problems with ovs-vlan-test(8) or ovs-tes

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-18 Thread Ben Pfaff
CFM works on the basis of an interface. Configuring CFM on br0 is not useful because the CFM packets transmitted on br0 do not go anywhere. There are various ways that you could avoid using two physical machines to set up CFM, but CFM is more useful in the presence of two (or more) physical machi

[ovs-discuss] trunk port understanding

2012-03-18 Thread edward wilson
Hi, 1) 2 machines with OVS installed and br0 cretaed .VM on both machines have already been cretaed. when pinging both VMs , it is successful. but stats of br0 is not increasing ,always data is going on from phsiycal interface only. as IP is assigned to br0 now,so stats of br0 shoould also

Re: [ovs-discuss] Vlan Testing in between two OVS

2012-03-18 Thread sonny sonny
Hi, I think the OVS ports on both switches (br0 and br1) are trunk port by default. is my understanding correct? do we require to configure these ports trunk ports specifically? and this configuration require on eth0 (physical interface) of both machine OR on br0 and br1 of both machine. -Sonn

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-18 Thread edward wilson
Hi, After installing and configuring OVS, br0 will be there. 1. is that mean I have to use its physical interface with which br0 attached like eth0. 2. is that mean I have to use 2 physical OVS machines at least for cfm set-up. 3. configuration of cfm_remote_mpid ,I got from ovs-vsctl config book.

Re: [ovs-discuss] Same mac address of br0 and eth0

2012-03-18 Thread Ben Pfaff
On Sun, Mar 18, 2012 at 10:46:36PM +0800, Jingfei Hu wrote: > I have installed OVS userspace program on Ubuntu Oneiric according to > INSTALL.Linux. Then I have added a bridge using following commands: > > sudo ovs-vsctl add-br br0 > sudo ovs-vsctl set bridge br0 datapath_type=netdev > sudo ovs-vs

[ovs-discuss] Same mac address of br0 and eth0

2012-03-18 Thread Jingfei Hu
Hi, everyone, I have installed OVS userspace program on Ubuntu Oneiric according to INSTALL.Linux. Then I have added a bridge using following commands: sudo ovs-vsctl add-br br0 sudo ovs-vsctl set bridge br0 datapath_type=netdev sudo ovs-vsctl add-port br0 eth0 sudo ovs-vsctl add-port br0 tap0 Th