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

2012-03-21 Thread Jingfei Hu
No, I haven't turned on the PROMISC bit on the OVS bridge, nor the tap0 interface used by the guest. I can give it a try. Cheers, Hu Jingfei 2012/3/21 Brian Haley > Is the PROMISC bit turned-on on the bridge? I've seen that cause DUP-ed > frames > on the Linux bridge, don't know about OVS how

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

2012-03-21 Thread Brian Haley
Is the PROMISC bit turned-on on the bridge? I've seen that cause DUP-ed frames on the Linux bridge, don't know about OVS however. -Brian On 03/21/2012 01:04 AM, Jingfei Hu wrote: > Hi, Ben, > In the last few days, I have spent my spare time on figuring out the reason of > ping DUP problem. Here

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

2012-03-21 Thread Aaron Rosen
Maybe no difference then, I've never used openvpn to create non-vpn tap interfaces (but it looks like your command does the same thing). I've used tunctl and started kvm hosts with them and attached them to openvswitch without a problem. That said I haven't really used userspace OVS. Best bet is t

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

2012-03-21 Thread Jingfei Hu
No, still the ping DUP problem is there. Is there difference between the tap0 created by tunctl and openvpn? Or in your configuration tunctl is adopted? Cheers, Jfhu 2012/3/21 Aaron Rosen > As a blind guess does this change anything (Using tunctl over your openvpn > command)? > > ovs-vsctl del

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

2012-03-20 Thread Aaron Rosen
As a blind guess does this change anything (Using tunctl over your openvpn command)? ovs-vsctl del-port br0 tap0 tunctl -d tap0 tunctl ovs-vsctl add-port br0 tap0 Restart vm using the new tap0 On Wed, Mar 21, 2012 at 1:20 AM, Ben Pfaff wrote: > The evidence points to a configuration error, s

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

2012-03-20 Thread Ben Pfaff
The evidence points to a configuration error, since plenty of other users do not see duplicate packets in similar situations. Again I suggest that you read REPORTING-BUGS and provide the information suggested there. On Wed, Mar 21, 2012 at 01:04:20PM +0800, Jingfei Hu wrote: > Hi, Ben, > In the l

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

2012-03-20 Thread Jingfei Hu
Hi, Ben, In the last few days, I have spent my spare time on figuring out the reason of ping DUP problem. Here is my result: The network setting including netmask\default gateway etc. contains no error. Following is the ip address setting and routing table of the host and the guest: ---

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] 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