Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209363
| From | basti <mailinglist@unix-solution.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: NIC Bonding 802.3ad LACP without switch |
| Date | 2019-05-29 09:30 +0200 |
| Message-ID | <y31c5-5v4-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <y2ny1-5LH-9@gated-at.bofh.it> <y2o13-5Vp-1@gated-at.bofh.it> <y2oaJ-5Z2-1@gated-at.bofh.it> <y2pzP-6XC-3@gated-at.bofh.it> <y2pTb-74w-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 27.05.19 17:32, Sven Hartge wrote:
> basti <basti@unix-solution.de> wrote:
>
>> also on a network card with 2 NIC's
>
>> srv-a nic ens2f0 ---- ens2f0 srv-b
>> ens2f1 ---- ens2f1
>
>> Can I use a switch that only supoort static LAC to speedup my
>> connection? For example tp-link TL-SG108E ? Or must it support LACP?
>
> For this direct connection you should use "balance-rr" or mode 0.
> This will get you a true 2GBit connection even with only one active
> flow.
>
> All other modes will only use one connection per flow, limiting you to
> 1GBit.
>
> Source: I've been doing bonding with Linux for as long as the bonding
> driver exists.
>
> Grüße,
> Sven.
>
I have try is and it works only in one direction (srv-a -> srv-b).
When I try to transfer files from b to a only some bytes are transmited
(seen in tcpdump). ssh from b to a is working.
the config looks like:
A:
auto ens2f0
iface ens2f0 inet manual
auto ens2f1
iface ens2f1 inet manual
auto bond0
iface bond0 inet static
address 10.0.1.11
netmask 255.255.255.0
network 10.0.1.0
slaves ens2f0 ens2f1
bond-mode 0
bond-miimon 100
bond-downdelay 200
bond-updelay 200
B:
auto ens2f0
iface ens2f0 inet manual
auto ens2f1
iface ens2f1 inet manual
auto bond0
iface bond0 inet static
address 10.0.1.12
netmask 255.255.255.0
network 10.0.1.0
slaves ens2f0 ens2f1
bond-mode 0
bond-miimon 100
bond-downdelay 200
bond-updelay 200
A -> B:
dd if=/dev/vg-01/somefile bs=4M | nc 10.0.1.12 19000
512+0 Datensätze ein
512+0 Datensätze aus
2147483648 Bytes (2,1 GB, 2,0 GiB) kopiert, 9,47551 s, 227 MB/s
B -> A:
dd bs=4M of=/dev/vg01/somefile | ssh root@10.0.1.11 "dd of=/dev/null"
0+0 Datensätze ein
0+0 Datensätze aus
0 Bytes kopiert, 3,8988e-05 s, 0,0 kB/s
SSH:
ssh root@10.0.1.11
Last login: Wed May 29 09:18:54 2019 from 10.0.1.12
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
NIC Bonding 802.3ad LACP without switch basti <mailinglist@unix-solution.de> - 2019-05-27 14:20 +0200
Re: NIC Bonding 802.3ad LACP without switch Sven Hartge <sven@svenhartge.de> - 2019-05-27 15:10 +0200
Re: NIC Bonding 802.3ad LACP without switch Reco <recoverym4n@enotuniq.net> - 2019-05-27 15:10 +0200
Re: NIC Bonding 802.3ad LACP without switch basti <mailinglist@unix-solution.de> - 2019-05-27 15:40 +0200
Re: NIC Bonding 802.3ad LACP without switch Reco <recoverym4n@enotuniq.net> - 2019-05-27 15:50 +0200
Re: NIC Bonding 802.3ad LACP without switch basti <mailinglist@unix-solution.de> - 2019-05-27 16:40 +0200
Re: NIC Bonding 802.3ad LACP without switch Reco <recoverym4n@enotuniq.net> - 2019-05-27 16:50 +0200
Re: NIC Bonding 802.3ad LACP without switch basti <basti@unix-solution.de> - 2019-05-27 17:20 +0200
Re: NIC Bonding 802.3ad LACP without switch Sven Hartge <sven@svenhartge.de> - 2019-05-27 17:40 +0200
Re: NIC Bonding 802.3ad LACP without switch deloptes <deloptes@gmail.com> - 2019-05-27 21:00 +0200
Re: NIC Bonding 802.3ad LACP without switch basti <mailinglist@unix-solution.de> - 2019-05-29 09:30 +0200
Re: NIC Bonding 802.3ad LACP without switch Sven Hartge <sven@svenhartge.de> - 2019-05-29 11:10 +0200
Re: NIC Bonding 802.3ad LACP without switch deloptes <deloptes@gmail.com> - 2019-05-27 20:50 +0200
Re: NIC Bonding 802.3ad LACP without switch Sven Hartge <sven@svenhartge.de> - 2019-05-27 17:40 +0200
csiph-web