Hi Jesse, Ok.. this solution does not seem to work for me. The problem is that as soon as I take the physical interface eth0 off the network(i.e. assign it an ip of 0), all networking stops for me and the machine hangs. This happens every time. I tried the gre tunnel and that seems to work for me. But I want to know if that can be used to connect vms in multiple subnets as well?
Thanks, Aish On Fri, Sep 9, 2011 at 7:57 PM, Jesse Gross <[email protected]> wrote: > That's correct but please don't drop on the mailing list in your responses. > > On Fri, Sep 9, 2011 at 7:48 PM, Aishwarya <[email protected]> wrote: > > Hi Jesse, > > > > Let me know if the following is correct according to what you explained: > > > > > > Initially, host1 has physical ip address 10.0.0.1(eth0 on the physical > > host). The vm on host1 has ip address 192.168.0.1(eth0 on the vm) > > > > Now I create an interface tap0 on host1(which is specified for the vm > when > > it starts up) and also a bridge br0. I add the tap0 port to br0. now, i > > remove the ip address of eth0 and assign the ip address 10.0.0.1 to br0. > Is > > that right? > > > > I repeat the same on host 2. > > > > Thanks, > > Aish > > > > > > On Fri, Sep 9, 2011 at 7:16 PM, Jesse Gross <[email protected]> wrote: > >> > >> On Fri, Sep 9, 2011 at 7:08 PM, Aishwarya <[email protected]> wrote: > >> > Hi Jesse, > >> > I dont understand... do i need to add eth0 to the bridge or not? Also, > >> > ultimately I want these vms to talk over the network... i.e. vm1 > located > >> > on > >> > host1 should be able to talk to vm2 located on host2 where host1 and > >> > host2 > >> > are connected over a network to each other... Could you elaborate a > >> > little > >> > bit more on what you mean? > >> > >> You need to move the IP address, which is independent of the Ethernet > >> interface. The physical interface needs to be part of the bridge as > >> do the VM interfaces. The IP address needs to be on the bridge > >> interface, which is created automatically and is used to connect to > >> the hypervisor. > > > > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
