daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Nov 14th, 2016 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@localhost:~# cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. source /etc/network/interfaces.d/*
  6.  
  7. # The loopback network interface
  8. auto lo
  9. iface lo inet loopback
  10.  
  11. # The primary network interface
  12. #auto eth0
  13. #iface eth0 inet static
  14. #   address 95.211.212.65
  15. #   netmask 255.255.255.192
  16. #   network 95.211.212.64
  17. #   broadcast 95.211.212.127
  18. #   gateway 95.211.212.126
  19. #   # dns-* options are implemented by the resolvconf package, if installed
  20. #   dns-nameservers 85.17.150.123 85.17.96.69 62.212.64.122
  21. #   dns-search localdomain
  22.  
  23. #eth0 is manually configured, and slave to the "bond0" bonded NIC
  24. auto eth0
  25. iface eth0 inet manual
  26. bond-master bond0
  27.  
  28. #eth1 ditto, thus creating a 2-link bond.
  29. auto eth1
  30. iface eth1 inet manual
  31. bond-master bond0
  32.  
  33.  
  34. # bond0 is the bonded NIC and can be used like any other normal NIC.
  35. # bond0 is configured using static network information.
  36. auto bond0
  37. iface bond0 inet static
  38.         address 95.211.212.65
  39.         netmask 255.255.255.192
  40.         network 95.211.212.64
  41.         broadcast 95.211.212.127
  42.         gateway 95.211.212.126
  43.         # dns-* options are implemented by the resolvconf package, if installed
  44.         dns-nameservers 85.17.150.123 85.17.96.69 62.212.64.122
  45.         dns-search localdomain
  46. # bond0 uses standard IEEE 802.3ad LACP bonding protocol
  47. bond-mode 4
  48. bond-miimon 100
  49. bond-lacp-rate 1
  50. bond-slaves eth0 eth1
RAW Paste Data
Top