On Sep 12, 2011, at 10:13 AM, Aishwarya wrote: > Thanks for all your suggestions till now. I was able to establish the gre > tunnel between 2 vms located on the same subnet on 2 different hosts. I am > not able to figure out the configuration steps to establish the gre tunnel > when the vms are located in different subnets, from the available > documentation. This is what I have done till now: > > host1: ip address: 10.0.0.1 > host2: ip address: 10.0.0.2 > > vm on host1 : 192.168.0.14 > vm on host 2: 192.168.0.15 > > bridge br0 created on host 1: ip address : 192.168.0.1 > bridge br0 created on host 2: ip address : 192.168.0.2
Why are you setting an IP address on the bridge interfaces? Maybe I'm not clear on your setup. What devices are the IP addresses on the hosts on? eth0? Are any physical devices attached to your bridges? > The above works ok. Now, as soon as I change one of the vms to be in a > different subnet, and also the bridge on the host of the vm to be in that > same subnet, what else do I need to change to get it working? Did you change the IP address of the other host? Without additional L3 configuration, they're only going to see each other if they're in the same subnet. --Justin _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
