[ovs-discuss] Ping failing when 2 switches are connected using a bond
Herdoiza, David Alejandro
david.herdoiza at hpe.com
Thu Jan 14 15:05:08 UTC 2016
I've been using balance-slb but I've tested with active-backup too with the same results.
Yes both sides are using the same type
and the output of that command for switch 1 is:
bash-4.3# ovs-appctl bond/show lag0
---- lag0 ----
bond_mode: balance-slb
bond may use recirculation: no, Recirc-ID : -1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 8608 ms
lacp_status: off
active slave mac: 70:72:cf:61:ba:9f(2)
slave 2: enabled
active slave
may_enable: true
slave 3: enabled
may_enable: true
And for switch 2 is:
bash-4.3# ovs-appctl bond/show lag0
---- lag0 ----
bond_mode: balance-slb
bond may use recirculation: no, Recirc-ID : -1
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 8200 ms
lacp_status: off
active slave mac: 70:72:cf:45:e0:55(3)
slave 2: enabled
may_enable: true
slave 3: enabled
active slave
may_enable: true
thanks for your help!
David
-----Original Message-----
From: Justin Pettit [mailto:jpettit at ovn.org]
Sent: miércoles 13 de enero de 2016 04:32 p.m.
To: Herdoiza, David Alejandro
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] Ping failing when 2 switches are connected using a bond
What bond type are you using? Are both sides using the same type? What do you see when you run "ovs-appctl bond/show <port>" for bond ports?
--Justin
> On Jan 13, 2016, at 7:03 AM, Herdoiza, David Alejandro <david.herdoiza at hpe.com> wrote:
>
> Hi,
>
> I have the following topology:
>
> +---+ +-----------+ +------------+ +---+
> | | | +--------+ | | |
> |h1 +-----+ Switch1 | | Switch2 +----+ h2|
> | | | +--------+ | | |
> +---+ +-----------+ +------------+ +---+
>
> I have connected 2 ovs switches using a bond, the problem is that in the second switch all ARP packets are being dropped for some reason, so the second switch is not learning any MAC causing the ping between the hosts to fail.
>
> I’ve been debugging the flows of the second switch without success:
>
> bash-4.3# ovs-ofctl dump-flows br0
> NXST_FLOW reply (xid=0x4):
> cookie=0x0, duration=1386.031s, table=0, n_packets=431, n_bytes=27534,
> idle_age=914, priority=0 actions=NORMAL
>
> bash-4.3# ovs-appctl dpif/dump-flows br0
> skb_priority(0),recirc_id(0),in_port(5),eth(src=86:72:a1:42:0e:7b,dst=
> ff:ff:ff:ff:ff:ff),eth_type(0x0806), packets:2, bytes:120,
> used:0.645s, actions:drop
>
> I have to mention that I am using OpenVswitch 2.3.1
>
> Thanks,
> David
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
More information about the discuss
mailing list