Skip to content

Instantly share code, notes, and snippets.

@lukaspustina
Last active January 4, 2016 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaspustina/8669217 to your computer and use it in GitHub Desktop.
Save lukaspustina/8669217 to your computer and use it in GitHub Desktop.
auto p2p1
iface p2p1 inet manual
bond-master bond1
auto p2p2
iface p2p2 inet manual
bond-master bond1
auto bond1
iface bond1 inet manual
bond-slaves p2p1 p2p2
bond-mode 802.3ad
bond-miimon 100
bond-xmit_hash_policy layer3+4
pre-up ip link set dev bond1 mtu 9000
auto vlan-ceph
iface vlan-ceph inet static
pre-up ip link add link bond1 name vlan-ceph type vlan id 104
pre-up ip link set dev vlan-ceph mtu 9000
post-down ip link delete vlan-ceph
address 10.102.4.11
netmask 255.255.255.0
network 10.102.4.0
broadcast 10.102.4.255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment