From c41606674ad5b9f92d5e0af2fbb6c964e969d5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Mon, 13 Sep 2021 14:39:08 +0000 Subject: space_server: networkd: bond all 3 gigabit ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before: - enp1s0: wan - enp2s0: lan (with VLANs) - enp3s0: mgt Changes in this patch: - wan is moved to VLAN id 5 - bond0 is created, replacing lan as lower device for VLANs - mgt config is removed (could be reconfigured as a VLAN, and made a available on a switch port) - all 3 ports are enslaved in bond0 From the switch towards the space server load-balance algorithm src-dst-ip* is used. From the space server towards the switch L3+L4 is used. Therefore a single IP pair will always use the same 1G from the swith to the space server, a client therefore needs to multiplex over multiple IPs in order to *) The src-dst-ip algorithm on the switch hasn't been tested with IPv6 yet. Hopefully we can find a better switch at some point, so we can include the L4 ports in the hashing on the switch. Signed-off-by: Asbjørn Sloth Tønnesen --- roles/space_server/files/networkd/10-wan.network | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/space_server/files/networkd/10-wan.network') diff --git a/roles/space_server/files/networkd/10-wan.network b/roles/space_server/files/networkd/10-wan.network index 36b2230..095bcfe 100644 --- a/roles/space_server/files/networkd/10-wan.network +++ b/roles/space_server/files/networkd/10-wan.network @@ -1,6 +1,9 @@ [Match] Name=wan +[Link] +ARP=yes + [Network] DHCP=no IPv6AcceptRA=no -- cgit v1.2.1