Created
August 15, 2016 15:55
-
-
Save winggundamth/f35a633267d40986e5c5885694dcc146 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
sudo mount /dev/sdd1 /mnt | |
sudo vi /etc/apt/sources.list | |
################################ | |
deb file:/mnt/ trusty main restricted | |
################################ | |
sudo apt-get install bridge-utils vlan ifenslave | |
sudo vi /etc/apt/sources.list | |
################################ | |
#deb file:/mnt/ trusty main restricted | |
################################ | |
sudo vi /etc/modules | |
################################ | |
bonding | |
8021q | |
################################ | |
## Enable Intel 10Gbps module | |
echo "options ixgbe allow_unsupported_sfp=1" > /etc/modprobe.d/ixgbe-options.conf | |
depmod -a | |
update-initramfs -u | |
## Configure Interface | |
sudo vi /etc/network/interfaces | |
################################################################################ | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
auto em0 | |
iface em0 inet manual | |
bond-master bond0 | |
auto em1 | |
iface em1 inet manual | |
bond-master bond0 | |
auto bond0 | |
iface bond0 inet manual | |
bond-mode 802.3ad | |
bond-milmon 100 | |
bond-slaves em0 em1 | |
# SSH | |
auto bond0.21 | |
iface bond0.21 inet static | |
address 192.168.21.xx | |
netmask 255.255.255.0 | |
gateway 192.168.21.254 | |
dns-nameservers 119.59.96.133 | |
source /etc/network/interfaces.d/*.cfg | |
################################################################################ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment