mirror of
https://github.com/ergosteur/ergo-proxmox-scripts.git
synced 2026-10-28 13:00:37 -04:00
sriov-enp4s0.service allocates VFs on the ixgbe ports at boot and applies persistent VF MACs via set-ixgbe-vfmacs-enp4s0.sh, so guests keep stable addresses across host reboots. The VF MAC assignments are currently all commented out. nic-performance-tweaks.service raises ring buffers and txqueuelen on the uplinks and vmbr0. unused/ holds the equivalent pair for the retired enp130s0 adapter. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 lines
733 B
Bash
Executable File
10 lines
733 B
Bash
Executable File
#!/bin/sh -e
|
|
ip link set dev enp130s0f0 vf 0 mac a0:36:9f:5d:3f:40 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f0 vf 1 mac a0:36:9f:5d:3f:41 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f0 vf 2 mac a0:36:9f:5d:3f:42 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f0 vf 3 mac a0:36:9f:5d:3f:43 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f1 vf 0 mac a0:36:9f:5d:3f:50 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f1 vf 1 mac a0:36:9f:5d:3f:51 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f1 vf 2 mac a0:36:9f:5d:3f:52 trust on promisc on allmulticast on
|
|
ip link set dev enp130s0f1 vf 3 mac a0:36:9f:5d:3f:53 trust on promisc on allmulticast on
|