Как узнать версию склеивания? - PullRequest
0 голосов
/ 09 июля 2019

Я настроил сетевое соединение, интересно, какова моя версия соединения.

Пока я читал это https://www.kernel.org/doc/Documentation/networking/bonding.txt Я видел, как некоторые опции работают только в версии 3.7.0

resend_igmp

    Specifies the number of IGMP membership reports to be issued after
    a failover event. One membership report is issued immediately after
    the failover, subsequent packets are sent in each 200ms interval.

    The valid range is 0 - 255; the default value is 1. A value of 0
    prevents the IGMP membership report from being issued in response
    to the failover event.

    This option is useful for bonding modes balance-rr (0), active-backup
    (1), balance-tlb (5) and balance-alb (6), in which a failover can
    switch the IGMP traffic from one slave to another.  Therefore a fresh
    IGMP report must be issued to cause the switch to forward the incoming
    IGMP traffic over the newly selected slave.

    This option was added for bonding version 3.7.0.

Я ожидаю прочитать мою версию связывания из файла или команды вроде --version

UPDATE

Я нашел решение,

cat /proc/net/bonding/bond0

Первая строка вывода дает версию

Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
...
...
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...