Force X550 Intel NIC to auto neg at 2500 due to a driver issue.

This commit is contained in:
Joseph Hanson 2023-07-14 11:09:20 -05:00
parent ce115a6a55
commit d348c2e24f
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 7 additions and 2 deletions

View file

@ -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 description 'Rule: accept_node_speed_exporter'
set firewall name lan-local rule 4 destination port '9798,9100' 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 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 # From LAN to SERVERS
set firewall name lan-servers default-action 'drop' set firewall name lan-servers default-action 'drop'

View file

@ -13,7 +13,7 @@ tee /home/vyos/.gitconfig <<END >/dev/null
email = joe@veri.dev email = joe@veri.dev
name = Joseph Hanson name = Joseph Hanson
END END
# # Add bash aliases for home directory
tee -a /home/vyos/.bash_aliases <<END >/dev/null tee -a /home/vyos/.bash_aliases <<END >/dev/null
export SOPS_AGE_KEY_FILE=/config/secrets/age.key export SOPS_AGE_KEY_FILE=/config/secrets/age.key
export GIT_SSH_COMMAND="ssh -i /config/secrets/id_ed25519" export GIT_SSH_COMMAND="ssh -i /config/secrets/id_ed25519"
@ -21,4 +21,5 @@ export VISUAL=vi
export EDITOR=vi export EDITOR=vi
alias podman="sudo podman" alias podman="sudo podman"
END END
# # Force X550 NIC to 2.5Gbps autonegotiation. Fixes a Intel driver issue.
ethtool -s eth0 speed 2500 duplex full autoneg on