lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 Dec 2023 10:06:25 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: ditang chen <ditang.c@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: netperf TCP_CRR test fails in bonding
 interfaces(mode 0)

On Sun, 10 Dec 2023 23:16:20 +0800
ditang chen <ditang.c@...il.com> wrote:

> 1. client/server:
> # modprobe bonding
> # ifconfig enp1s3 down
> # ifconfig enp2s3 down
> # echo "+bond0" > /sys/class/net/bonding_masters
> # edho "enp1s3" > /sys/class/net/bond0/bonding/slaves
> # edho "enp2s3" > /sys/class/net/bond0/bonding/slaves
> # ifconfig bond0 up

This is a really old legacy way to configure bonding.
The better method is:

# ip link add dev bond0 type bond
# ip link set dev enp1s3 down master bond0
# ip link set dev enp2s3 down master bond0
# ip link set dev bond0 up

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ