 | | | Hi
I tried to setup the same but did not work. The only difference is I have directly connected host1 and host2 over one ethernet card.
Host1 (etho)---------------------------------(eth0)Host2 10.193.1.1 10.193.1.2
I could ping these IP addresses from both hosts
- Created one VM on each host with 10.1.1.10 and 10.1.1.20.
- Created one openvswitch bro on each host and assigned IP 10.193.1.1 (bro on host1) and 10.193.1.2 (bro on host2) - Created GRE tunnels on each host - sudo ovs-vsctl add-port br0 gre0 -- set Interface gre0 type=gre options:remote_ip=10.193.1.2 (on host1) - sudo ovs-vsctl add-port br0 gre0 -- set
Interface gre0 type=gre options:remote_ip=10.193.1.1 (on Host2)
- -Added ports tap0, gre0 and eth0 to br0 in each host
Tried to ping from VM1 at host 1 to VM2 at Host2 - 10.1.1.20 and did not work
The route table: Host1:
Destination Gateway Genmask Flags Metric Ref Use Iface 10.193.1.0 * 255.255.255.0 U 0 0 0 br0
Host2:
Destination Gateway Genmask Flags Metric Ref Use
Iface 10.193.1.0 * 255.255.255.0 U 0 0 0 br0
Question:
1. Should I add any vifs for VMS in bro?
2. When you ping across VMs, how the switch knows to send it to gre port. Just flodding as other l2 ports? If so, should we assign the same vlan to gre0 as applied to tp0.. ( rightnow, I have added ports with no tag option(default)
Please see if anything I miss
Thanks =Senthil
| | |
| |
|
|
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss