Created
September 28, 2017 06:29
-
-
Save mpurzynski/34d3de9f1ed3c8e9df93179753bad925 to your computer and use it in GitHub Desktop.
interfaces on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| allow-hotplug p2p1 | |
| auto p2p1 | |
| iface p2p1 inet manual | |
| pre-up /opt/snf/sbin/myri_start_stop start myri_timesource=0 | |
| up ip link set $IFACE promisc on arp off up | |
| down ip link set $IFACE promisc off down | |
| post-up ethtool -G $IFACE rx 32768; for i in rx tx autoneg tso ufo gso gro lro txnocachecopy rxhash ntuple; do ethtool -K $IFACE $i off; done | |
| post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6 | |
| post-up ifconfig $IFACE mtu 9000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment