Password: 5w1tch!
Create a VM with Q35, 2 cores, 2GB of RAM and a network device in proxmox.
system-product-name to ENCS5412/K9. For that go to the VM Options and change the SMBIOS settings (type 1) and set the product variable to ENCS5412/K9net0 connected to the default vmbr0 to use for ssh.vmbr1previously now it is the time to use it.
Install almalinux v8.6 from the vault repo, minimal image with sshd, configure only the first net interface (the one not connected to the switch)
enable IOMMU in the hypervisor host
passthrough 0000:0e:00 11ab:be00 to the VM
Install the following packages
yum install pciutilsyum install python3-dnf-plugin-versionlockyum install python3Check that 01:00.0 Ethernet controller: Marvell Technology Group Ltd. Device be00 (rev 01) appears in the PCI listing
Block distro updates at the v8.6 level. (https://avinetworks.com/docs/latest/how-to-tie-a-system-to-a-specific-update/)
echo '8.6' > /etc/yum/vars/releasever<aside> 🚨 Careful as there are kernel patches that are newer than the modules cisco provided, so we need to be careful with module ⇒ kernel compatiblity.
</aside>
mv /etc/sysconfig/network-scripts/ifcfg-enp6s18 /etc/sysconfig/network-scripts/ifcfg-int-LAN
NAME=int-LANBOOTPROTO=noneONBOOT=yesIPV6_AUTOCONF=noTYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=int-LAN
UUID=a5e0c9f5-0420-4aa8-8b6d-8d720337e0d3
DEVICE=int-LAN
ONBOOT=yes
create a file /etc/systemd/network/70-int-LAN-name.link
[Match]
MACAddress=BC:24:11:6C:DA:AB
[Link]
name=int-LAN
Create VLAN interface config
# nmcli con add type vlan con-name int-LAN.2363 ifname int-LAN.2363 dev int-LAN id 2363 ip4 169.254.1.1/16