Skip to content

Instantly share code, notes, and snippets.

@adamlwgriffiths
Created June 13, 2023 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamlwgriffiths/7d84cb232bfd96a0bc42d12495906ca2 to your computer and use it in GitHub Desktop.
Save adamlwgriffiths/7d84cb232bfd96a0bc42d12495906ca2 to your computer and use it in GitHub Desktop.
HP z640
# fix issue with periodic hangs caused by HW bug when using HW accelerated packet processing
# this results in network device re-initialisation which is viewable in /var/log/syslog
# and results in VMs breaking connections and disconnecting users
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
# start fix for e1000 hang on HP desktops
post-up /usr/bin/logger -p debug -t ifup "Disabling segmentation offload for en01" && /sbin/ethtool -K $IFACE tso off gso off && /usr/bin/logger -p debug -t ifup "Disabled offload for eno1"
# endfix
iface ens4 inet manual
auto vmbr0
iface vmbr0 inet static
address ...
gateway ...
bridge-ports eno1
bridge-stp off
bridge-fd 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment