Created
December 15, 2016 20:25
-
-
Save mrhillsman/d4207f11f5d4605db3f19b8f04904ad9 to your computer and use it in GitHub Desktop.
SantaClara Lab Host Interfaces
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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
### NOTE ### | |
# this is for >> DELL << SantaClara nodes | |
# LENOVO: | |
# p2p1 in place of em1 | |
# p2p2 in place of em2 | |
# p1p1 in place of p3p1 | |
# p1p2 in place of p3p2 | |
# UPDATE IP ADDRESSES ACCORDING TO INVENTORY IN GOOGLE DOCS!!! | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# Physical interface 1 | |
auto em1 | |
iface em1 inet manual | |
bond-master bond0 | |
bond-primary em1 | |
# Physical interface 2 | |
auto em2 | |
iface em2 inet manual | |
bond-master bond1 | |
bond-primary em2 | |
# Physical interface 3 | |
auto p3p1 | |
iface p3p1 inet manual | |
bond-master bond0 | |
# Physical interface 4 | |
auto p3p2 | |
iface p3p2 inet manual | |
bond-master bond1 | |
# Bond interface 0 (physical interfaces 1 and 3) | |
auto bond0 | |
iface bond0 inet manual | |
bond-slaves em1 p3p1 | |
bond-mode active-backup | |
bond-miimon 100 | |
bond-downdelay 200 | |
bond-updelay 200 | |
post-up /sbin/ip addr add 172.22.0.128/22 dev bond0 | |
post-down /sbin/ip addr del 172.22.0.128/22 dev bond0 | |
# Bond interface 1 (physical interfaces 2 and 4) | |
auto bond1 | |
iface bond1 inet manual | |
bond-slaves em2 p3p2 | |
bond-mode active-backup | |
bond-miimon 100 | |
bond-downdelay 200 | |
bond-updelay 200 | |
auto bond0.200 | |
iface bond0.200 inet static | |
address 10.3.72.204 | |
netmask 255.255.248.0 | |
gateway 10.3.72.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment