This deployment guide assumes ESXI servers with VMs attached to the leaf switches. However, this appendix provides alternative configurations for bare metal servers using Ubuntu operating system.
Example of Ubuntu hosts with LACP and tagged VLAN interfaces. Edit the /etc/netplan/50-cloud-init.yaml
file.
$ sudo vi /etc/netplan/50-cloud-init.yaml
network:
version: 2
renderer: network
ethernets:
eports:
match:
name: ens*
bonds:
bond0:
interfaces: [eports]
parameters:
mode: 802.3ad
lacp-rate: slow
mii-monitor-interval: 100
vlans:
bond0.140:
id: 140
link: bond0
dhcp4: no
addresses: [192.168.140.102/24]
gateway4: 192.168.140.254
bond0.50:
id: 50
link: bond0
dhcp4: no
addresses: [192.168.50.102/24]
gateway4: 192.168.50.254
:wq!
Follow with:
sudo netplan apply-d
sudo reboot