Skip to content

Instantly share code, notes, and snippets.

@AlD
Last active August 29, 2015 14:00
Show Gist options
  • Save AlD/11257372 to your computer and use it in GitHub Desktop.
Save AlD/11257372 to your computer and use it in GitHub Desktop.
#!/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