Date: Sat, 29 Apr 2023 12:01:38 +0200 From: Arnaud Houdelette-Langlois <arnaud.houdelette@normandie-univ.fr> To: freebsd-net@FreeBSD.org Subject: Duplicates IP packets when using CARP and ECMP routes. Message-ID: <e57135b2-90a2-b71e-8a7d-b80a2f638b9f@normandie-univ.fr>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------ensIndlmXPF4K7cBMHjd0Qcg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi. We got a freebsd router with both ospf/bpg and multipath routes (ECMP) (using the new bird2 with netlink) . The router got an interface with carp enabled on it (gateway for admin vlan). Packets received on the carp address gets routed on all known routes towards destination. Thus, the destination host receives duplicates ip packets. (which disrupts most udp based protocols) Using a simple alias instead of carp solve the problem. Is this a known problem, or should I fill a PR ? -- Arnaud Houdelette-Langlois Administrateur des infrastructures systèmes et réseaux Normandie Université +33 2 31 56 69 54 --------------ensIndlmXPF4K7cBMHjd0Qcg Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>Hi.</p> <p>We got a freebsd router with both ospf/bpg and multipath routes (ECMP) (using the new bird2 with netlink) . <br> </p> <p>The router got an interface with carp enabled on it (gateway for admin vlan). <br> </p> <p>Packets received on the carp address gets routed on all known routes towards destination. Thus, the destination host receives duplicates ip packets. (which disrupts most udp based protocols)<br> </p> <p>Using a simple alias instead of carp solve the problem. Is this a known problem, or should I fill a PR ?<br> </p> <pre class="moz-signature" cols="72">-- Arnaud Houdelette-Langlois Administrateur des infrastructures systèmes et réseaux Normandie Université +33 2 31 56 69 54</pre> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div> </body> </html> --------------ensIndlmXPF4K7cBMHjd0Qcg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e57135b2-90a2-b71e-8a7d-b80a2f638b9f>