aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/files/networkd/10-mgt.network
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <asbjorn@labitat.dk>2021-09-13 14:39:08 +0000
committerAsbjørn Sloth Tønnesen <asbjorn@labitat.dk>2021-09-13 15:10:49 +0000
commita8fab3916c0ec8ec7307de636522f4de8849543b (patch)
tree2e3705465ca2866d5977dd6c10c8da7f1e26ef48 /roles/space_server/files/networkd/10-mgt.network
parent30aa929a02402ba58221cbc347fb1580dd79fd32 (diff)
downloadlabitat-ansible-a8fab3916c0ec8ec7307de636522f4de8849543b.tar.gz
labitat-ansible-a8fab3916c0ec8ec7307de636522f4de8849543b.tar.xz
labitat-ansible-a8fab3916c0ec8ec7307de636522f4de8849543b.zip
space_server: bond all 3 gigabit ports, and enjoy 3x1G uplink3x1g-bond
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 <asbjorn@labitat.dk>
Diffstat (limited to 'roles/space_server/files/networkd/10-mgt.network')
-rw-r--r--roles/space_server/files/networkd/10-mgt.network23
1 files changed, 0 insertions, 23 deletions
diff --git a/roles/space_server/files/networkd/10-mgt.network b/roles/space_server/files/networkd/10-mgt.network
deleted file mode 100644
index d2b34b9..0000000
--- a/roles/space_server/files/networkd/10-mgt.network
+++ /dev/null
@@ -1,23 +0,0 @@
-[Match]
-Name=mgt
-
-[Link]
-RequiredForOnline=no
-
-[Network]
-DHCP=no
-IPv6AcceptRA=no
-LinkLocalAddressing=no
-Address=192.168.112.1/24
-IPForward=ipv4
-DHCPServer=yes
-LLMNR=yes
-MulticastDNS=yes
-LLDP=yes
-EmitLLDP=yes
-
-[DHCPServer]
-EmitDNS=yes
-DNS=185.38.175.0
-EmitNTP=no
-EmitTimezone=yes