From d348c2e24f5ff1e6c569172807b2dbb28dde33eb Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 14 Jul 2023 11:09:20 -0500 Subject: [PATCH] Force X550 Intel NIC to auto neg at 2500 due to a driver issue. --- config-parts/firewall-name.sh | 4 ++++ scripts/vyos-postconfig-bootup.script | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config-parts/firewall-name.sh b/config-parts/firewall-name.sh index af4db21..932b9b9 100644 --- a/config-parts/firewall-name.sh +++ b/config-parts/firewall-name.sh @@ -240,6 +240,10 @@ set firewall name lan-local rule 4 action 'accept' set firewall name lan-local rule 4 description 'Rule: accept_node_speed_exporter' set firewall name lan-local rule 4 destination port '9798,9100' set firewall name lan-local rule 4 protocol 'tcp' +set firewall name lan-local rule 5 action 'accept' +set firewall name lan-local rule 5 description 'Rule: accept perfmon3' +set firewall name lan-local rule 5 destination port '5201' +set firewall name lan-local rule 5 protocol 'tcp' # From LAN to SERVERS set firewall name lan-servers default-action 'drop' diff --git a/scripts/vyos-postconfig-bootup.script b/scripts/vyos-postconfig-bootup.script index f8fcecc..40be7bd 100755 --- a/scripts/vyos-postconfig-bootup.script +++ b/scripts/vyos-postconfig-bootup.script @@ -13,7 +13,7 @@ tee /home/vyos/.gitconfig </dev/null email = joe@veri.dev name = Joseph Hanson END -# +# Add bash aliases for home directory tee -a /home/vyos/.bash_aliases </dev/null export SOPS_AGE_KEY_FILE=/config/secrets/age.key export GIT_SSH_COMMAND="ssh -i /config/secrets/id_ed25519" @@ -21,4 +21,5 @@ export VISUAL=vi export EDITOR=vi alias podman="sudo podman" END -# +# Force X550 NIC to 2.5Gbps autonegotiation. Fixes a Intel driver issue. +ethtool -s eth0 speed 2500 duplex full autoneg on \ No newline at end of file