<feed xmlns='http://www.w3.org/2005/Atom'>
<title>labitat-ansible/roles/space_server/files/networkd/10-enp2s0.network, branch 3x1g-bond</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/'/>
<entry>
<title>space_server: bond all 3 gigabit ports, and enjoy 3x1G uplink</title>
<updated>2021-09-13T15:10:49+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-09-13T14:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=a8fab3916c0ec8ec7307de636522f4de8849543b'/>
<id>a8fab3916c0ec8ec7307de636522f4de8849543b</id>
<content type='text'>
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 &lt;asbjorn@labitat.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;asbjorn@labitat.dk&gt;
</pre>
</div>
</content>
</entry>
</feed>
