Hi Jesse,

Sorry to bother you with so many questions. But my question from the
beginning has been how to configure gre tunnel for vm-to-vm communication
using openvswitch. I have got it to work for vms in the same subnet, but am
not able to for vms in different subnets. It would be very helpful to me if
you could guide me through the configuration steps.

Thanks,
Aish

On Fri, Sep 9, 2011 at 9:03 PM, Jesse Gross <[email protected]> wrote:

> I think at this point these questions don't particularly relate to
> Open vSwitch, so perhaps some background reading on general network
> principles would be appropriate first.
>
> On Fri, Sep 9, 2011 at 8:21 PM, Aishwarya <[email protected]> wrote:
> > Hi Jesse,
> >
> > I was doing the following:
> >
> > ifconfig eth0 0.0.0.0 up from teh terminal.
> >
> > Regarding gre tunnel, if one vm has an ip address of 192.168.0.1/24 and
> the
> > other has an ipaddress of 192.168.10.1/24, how do i configure gre to
> make
> > these 2 communicate. Right now, i have created a bridge br0 on both
> physical
> > hosts, and added an interface of type gre to it. It works as long as both
> > vms and bridges are in the same subnet. It stops working as soon as i
> change
> > ip address of vm2 to be a different subnet.
> >
> > Thanks,
> > AIsh
> >
> > On Fri, Sep 9, 2011 at 8:15 PM, Jesse Gross <[email protected]> wrote:
> >>
> >> On Fri, Sep 9, 2011 at 8:08 PM, Aishwarya <[email protected]> wrote:
> >> > 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.
> >>
> >> You should probably use the console to make networking changes.
> >>
> >> > 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?
> >>
> >> Yes.
> >
> >
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to