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 ------------------------------------ The tap0 interface is created using OpenVPN utility with following command: ------------------------------------ sudo openvpn --mktun --dev tap0 ------------------------------------ Then I have created a VM using VirtualBox-4.1 and made the VM use the Bridged Adapter tap0. IP address settings are: ------------------------------------ In my host: sudo ifconfig br0 192.168.1.24 netmask 255.255.255.0 eth0 and tap0 got no ip address assigned In the guest, i.e. VM: sudo ifconfig eth0 192.168.1.26 netmask 255.255.255.0 ------------------------------------ After that, my guest is able to reach the outside network, and the machine which resides in the same LAN, says it's ip address is 192.168.1.14, could also found my guest. The PROBLEM is: when I ping the 192.168.1.14 from my guest, the ICMP reply is always duplicated. I guess the cause is because the br0 has the same mac address with eth0, but don't know how to solve it. Any ideas will be appreciated. Sorry for the question in question, I should ask it in one post.
Cheers, Hu Jingfei 2012/3/18 Ben Pfaff <b...@nicira.com> > 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-vsctl add-port br0 eth0 > > sudo ovs-vsctl add-port br0 tap0 > > > > Then I setup the bridge br0 as follows: > > sudo ifconfig br0 192.168.1.24 netmask 255.255.255.0 > > After that, I check it with command ifconfig -a, finding that the mac br0 > > and eth0 have the same mac. > > > > Is it normal? > > Yes. >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss