No. "sudo ifconfig wlan0 0.0.0.0". Ah, I misunderstood what you meant by configuring the gateway. What kind of interface is vboxnet0? Normally, on a bridge (whether Linux bridge or OVS bridge) you should only put an IP address on the bridge interface (e.g. br0) or on special "internal" ports.
On Fri, May 04, 2012 at 12:55:50PM -0400, Ryan White wrote: > You mean using "sudo ifconfig wlan0 down"? That just takes away the > connection entirely from the laptop. > Also vboxnet0 is the only iface that the VM has access to. I'm trying to > connect it through the internet through wlan0 using br0 of openvswitch. Does > my goal even make sense? > > -----Original Message----- > From: Ben Pfaff [mailto:[email protected]] > Sent: Friday, May 04, 2012 12:29 PM > To: Ryan White > Cc: [email protected] > Subject: Re: [ovs-discuss] simple open vswitch usage? > > That is what I meant. But you also have to remove the IP address from > wlan0. > > I couldn't say whether vboxnet0 is the correct default gateway. Is the > Internet reachable through that interface? > > On Fri, May 04, 2012 at 12:26:26PM -0400, Ryan White wrote: > > " Did you move the IP address, if any, from wlan0 to br0? This is > > necessary." > > Not sure what you mean. Do you mean using ifconfig? I hadn't done > > that, but I just tried it and it's still acting the same. (sudo > > ifconfig br0 > > 192.168.1.173/24 up) > > Also on the VM I had set the default gateway to be the ip address of > > the > > vboxnet0 iface. Not sure if that's right either. > > > > -----Original Message----- > > From: Ben Pfaff [mailto:[email protected]] > > Sent: Friday, May 04, 2012 12:07 PM > > To: Ryan White > > Cc: [email protected] > > Subject: Re: [ovs-discuss] simple open vswitch usage? > > > > On Fri, May 04, 2012 at 10:09:45AM -0400, Ryan White wrote: > > > I am a bit of a networking newbie, and I just want to get some > > > simple Open vSwitch usage. For instance, is it possible for a laptop > > > with Open vSwitch and VirtualBox, to connect its virtual machine to > > > the internet using a VBox host-only adapter bridged to wlan0, which > > > is connected to the internet? How would I do this using ovs-vsctl? > > > > > > I tried: > > > ovs-vsctl add-br br0 > > > > > > ovs-vsctl add-port vboxnet0 > > > > > > ovs-vsctl add-port wlan0 > > > > > > > > > > > > and this didn't do anything but make it impossible to even ping > > > between the VM and laptop. > > > > Did you move the IP address, if any, from wlan0 to br0? This is > necessary. > > > > ______________________________________________________________________ > > ____ This message and all attachments are PRIVATE, and contain > > information that is PROPRIETARY to Intelligent Automation, Inc. You > > are not authorized to transmit or otherwise disclose this message or > > any attachments to any third party whatsoever without the express > > written consent of Intelligent Automation, Inc. If you received this > > message in error or you are not willing to view this message or any > > attachments on a confidential basis, please immediately delete this > > email and any attachments and notify Intelligent Automation, Inc. > > > > __________________________________________________________________________ > This message and all attachments are PRIVATE, and contain information that > is PROPRIETARY to Intelligent Automation, Inc. You are not authorized to > transmit or otherwise disclose this message or any attachments to any > third party whatsoever without the express written consent of Intelligent > Automation, Inc. If you received this message in error or you are not > willing to view this message or any attachments on a confidential basis, > please immediately delete this email and any attachments and notify > Intelligent Automation, Inc. > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
