Just to give some more details,when i try to ping outside (4.2.2.2) from
the vm ,on host i did a tcpdump:

root@compute1:~# tcpdump -i virbr3 icmp

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

listening on virbr3, link-type EN10MB (Ethernet), capture size 65535 bytes

12:24:03.735879 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 1, length 64

12:24:04.735605 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 2, length 64

12:24:05.735603 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 3, length 64

12:24:06.735584 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 4, length 64

12:24:07.735617 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 5, length 64

12:24:08.735607 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 6, length 64

12:24:09.735645 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 7, length 64

12:24:10.735596 IP FCH-A672-RicohMPC5000.vtc.csc.com >
b.resolvers.Level3.net: ICMP echo request, id 1192, seq 8, length 64


I am able to reach only till host and not outside.


On Mon, Mar 31, 2014 at 12:20 PM, Shivaramakrishnan Vaidyanathan <
[email protected]> wrote:

> Thanks a lot Gurucharan.
> I am pretty new to openvswitch.Can you provide the command to achieve this?
> Looking forward to your reply.
>
>
> On Mon, Mar 31, 2014 at 12:15 PM, Gurucharan Shetty <[email protected]>wrote:
>
>> On Mon, Mar 31, 2014 at 9:12 AM, Shivaramakrishnan Vaidyanathan
>> <[email protected]> wrote:
>> > So in that case,essentially we cant have multiple gre tunnels?
>> I think you can use unique keys to distinguish (Read "Tunnel Options"
>> in "man ovs-vswitchd.conf.db").
>>
>> > Though I have multiple bridges that vm's  to communicate between each
>> other.
>> > The requirement is I need to have multiple internal bridges for vm's and
>> > just one external bridge.
>> > Is there any alternative?
>> >
>> >
>> > On Mon, Mar 31, 2014 at 11:44 AM, Gurucharan Shetty <[email protected]
>> >
>> > wrote:
>> >>
>> >> On Mon, Mar 31, 2014 at 8:36 AM, Shiva <[email protected]
>> >
>> >> wrote:
>> >> > Hello,
>> >> >
>> >> > I am setting up two gre tunnels between two hosts using the same
>> >> > external
>> >> > bridge.In this case (br1).I use virbr3 and virbr2 for internal
>> >> > communication.
>> >> >
>> >> > This is my config steps:
>> >> > Hypervisor 1:
>> >> > External communication
>> >> > ovs-vsctl add-br br1
>> >> > ovs-vsctl add-port eth0
>> >> > ifconfig br1 p.q.r.s netmask 255.255.255.0
>> >> >
>> >> > Internal bridge for vm communication
>> >> > Tunnel1 :
>> >> >
>> >> > ovs-vsctl add-br virbr3
>> >> > ovs-vsctl show
>> >> > ovs-vsctl add-port virbr3 gre2 -- set interface gre2 type=gre
>> >> > options:remote_ip:a.b.c.d
>> >> >
>> >> > Tunnel2:
>> >> >
>> >> > ovs-vsctl add-br virbr2
>> >> > ovs-vsctl show
>> >> > ovs-vsctl add-port virbr2 gre0 -- set interface gre0 type=gre
>> >> > options:remote_ip:a.b.c.d
>> >> Consider the case for the traffic coming into Hypervisor1. I don't
>> >> think it is possible to figure out which of the two end points the
>> >> packet needs to be delivered to because the 2 gre tunnels are not
>> >> unique.
>> >>
>> >> I think if you delete one of your virbr* in each of the machines, you
>> >> should be able to communicate.
>> >>
>> >>
>> >> >
>> >> >
>> >> > Hypervisor 2:
>> >> > External communication
>> >> > ovs-vsctl add-br br1
>> >> > ovs-vsctl add-port eth0
>> >> > ifconfig br1 a.b.c.d netmask 255.255.255.0
>> >> >
>> >> > Internal bridge for vm communication
>> >> >
>> >> > Tunnel1:
>> >> >
>> >> >
>> >> > ovs-vsctl add-br virbr3
>> >> > ovs-vsctl show
>> >> > ovs-vsctl add-port virbr3 gre2 -- set interface gre2 type=gre
>> >> > options:remote_ip:p.q.r.s
>> >> >
>> >> > Tunnel2:
>> >> >
>> >> > ovs-vsctl add-br virbr2
>> >> > ovs-vsctl show
>> >> > ovs-vsctl add-port virbr3 gre0 -- set interface gre0 type=gre
>> >> > options:remote_ip:p.q.r.s
>> >> >
>> >> >
>> >> > I am not able to communicate outside world from the vm's.I am just
>> able
>> >> > to
>> >> > reach the host on which vm resides and viceversa.Can you please let
>> me
>> >> > know
>> >> > what am i missing here?
>> >> >
>> >> > Your help in this regard is greatly appreciated.
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > discuss mailing list
>> >> > [email protected]
>> >> > http://openvswitch.org/mailman/listinfo/discuss
>> >> >
>> >
>> >
>>
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to