Last active
August 29, 2015 14:00
-
-
Save AlD/11257372 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
uname -a | |
modprobe -o bond0 bonding | |
ip link set eth0 up | |
ip li set bond0 up | |
ifenslave bond0 eth0 | |
ip link add link bond0 name vlan0 type vlan id 123 | |
ip link set vlan0 up | |
for i in eth0 bond0 vlan0; do echo ${i}:; ethtool -k ${i} | grep checksum; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment