From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B5137A0506 for ; Mon, 4 Apr 2022 12:29:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB3554281A; Mon, 4 Apr 2022 12:29:20 +0200 (CEST) Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) by mails.dpdk.org (Postfix) with ESMTP id 0DD3240141 for ; Tue, 29 Mar 2022 17:17:51 +0200 (CEST) Received: by mail-vs1-f41.google.com with SMTP id l128so19425736vsc.7 for ; Tue, 29 Mar 2022 08:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=LhCnJ86Jy73LuWeFu0TONzawjXExb7l3XkNLMqLXjnQ=; b=TnKT8hgsQOO+sYFXhrdXBd5GIseg3AQSKYze0N5hwDQ/jPONJmnMYoacMhDS7rjhVA Q6ndtTJB375Z52KPNVfqHAqUcj6SljDtsFQ+lr8/gln8aF0freanZqM8HDpa14zvJ1VE eW7X40djnsnKog7917F4bsijL+GdNiUA72NPsEHpK70orYUe18pcvLbnB1hfnGFVUBFI Tj9yLEmmWEt8Mst/olvGkIatVamzszGD4MzuSI7+29AzoYNZWehrObVSbkYLVTO0T9NB 4IcAiwTbP0e1OjXIvHZiY3rPud4Ke3v2XETW8FbQWOkCV/jnm6XMeE5L6vzH4K6Id5c+ bMww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LhCnJ86Jy73LuWeFu0TONzawjXExb7l3XkNLMqLXjnQ=; b=J7Rw/n+pHk5Udbjeu0C+KRfb3q4k9U6ufpfqTSpUjnv6h2gnD+qBEWHHIRV+ZTfSL1 pC5vPYPZfh3NuI/F5L4GRDL0SMYNHkm9Pj5KnhboBtROd15i6tWX+k+hQ52TlMZNIoWI OGuXKPcAm1lD85JAPnI0f8eufZE9/++SBsZtcaOFE2zjgnzFrw9+YLgYKmPoM3CvoU2/ q3SfzJim4gp8YbG7fyO/02ehSfTRCNl67PhDxL2S7KliCv3v0C63k8DRC37cjzunO94y AgqPIcI7WU7s6mRSK/KEHackxqSIFdclmYERebaOg6emR0dQ8eGFSL/M63iADiNE6EdY baJA== X-Gm-Message-State: AOAM532PdjJ0iUeYYgAxx889O4aXoHnbrF+V2b+alfrcDyHVJsW0rgfG nJ33e9XNk9IwNTxv4pWCySdEozydyjpDZw8h1xJsGTk8D87F8g== X-Google-Smtp-Source: ABdhPJwiSSp2WtAB1/l0K2yPwnlgIbukFTTKxWEBp+tiTxD/V2ufMllU8yNocsUogT9HRqNf00tIRa8H3qCUfgAJUCE= X-Received: by 2002:a05:6102:1490:b0:325:c293:d1bc with SMTP id d16-20020a056102149000b00325c293d1bcmr4500272vsv.76.1648567070086; Tue, 29 Mar 2022 08:17:50 -0700 (PDT) MIME-Version: 1.0 From: Linhua Tang Date: Tue, 29 Mar 2022 16:17:39 +0100 Message-ID: Subject: How to announce VIP with BGP for DPDK application? To: users@dpdk.org Content-Type: multipart/alternative; boundary="00000000000099d97905db5ceedf" X-Mailman-Approved-At: Mon, 04 Apr 2022 12:29:19 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000099d97905db5ceedf Content-Type: text/plain; charset="UTF-8" Hi everyone, I'm new to DPDK, I have a question on how to announce VIP through BGP for my LB based on DPDK. The design looks like this: - I have multiple hosts (virtual machines or physical machines), every host advertising the same VIP, 10.0.0.10 for example. - Each LB host has two NICs, one for DPDK, one for admin purposes. - LB forward the packets to backend servers based on VIP configuration Normally, I use Bird or Quagga for BGP advertising, but I don't know how to make BGP work with DPDK applications. Do I need to implement BGP within the DPDK application? It looks overkilling to me. Looking forward to getting advice from you, or pointing me to any references. Thanks very much. Best wishes, James --00000000000099d97905db5ceedf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

I'm new to DPDK, I hav= e a question on how to announce VIP through BGP for my LB based on DPDK.=C2= =A0

The design looks like this:
  • = I have multiple hosts (virtual machines=C2=A0or physical machines), every h= ost advertising the=C2=A0same VIP, 10.0.0.10 for example.
  • Each LB h= ost has two NICs, one for DPDK, one for admin purposes.
  • LB forward = the packets to backend servers based on VIP configuration
Normally, I use Bird or Quagga for BGP advertising, but I= don't know how to make BGP work with DPDK applications. Do I need to i= mplement BGP within the DPDK application? It looks overkilling to me.
=

Looking forward to getting advice from you, or pointing= me to any references.

Thanks very much.

Best wishes,
James
--00000000000099d97905db5ceedf--