Hoi,

On Fri, Jun 17, 2022 at 8:41 AM Chinmaya Aggarwal <chinmaya.agar...@hsc.com>
wrote:

> Hi,
>
> We configure linux kernel physical interface on VPP using below steps:-
>
> 1. Whitelisting the physical interface in /etc/vpp/startup.conf.
> 2. Bringing the kernel interface down.
> 3. Restarting vpp service.
>
> Is there a similar way by which we can configure linux bond interface in
> VPP? I don't see pci address for bond interface in linux.
>
No, you cannot create a bond in Linux and make use of that in VPP. Bonding
is a kernel driver that makes use of physical network card (and their
driver), so you will not see a PCI address for a bonded ethernet device in
Linux.

However, you can do it the other way around -- create the bond in VPP and
then expose it in Linux using the Linux Control Plane.
See an example of this in https://ipng.ch/s/articles/2021/08/25/vpp-4.html

There's another way of creating the bond in startup.conf -- search for the
string eth_bond0 in the documentation here:
https://my-vpp-docs.readthedocs.io/en/latest/gettingstarted/users/configuring/startup.html


groet,
Pim
-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21552): https://lists.fd.io/g/vpp-dev/message/21552
Mute This Topic: https://lists.fd.io/mt/91816581/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • ... Chinmaya Aggarwal
    • ... Pim van Pelt
      • ... Dave Wallace
        • ... Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via lists.fd.io

Reply via email to