daily pastebin goal
52%
SHARE
TWEET

ZFS HA Cluster network interface examples

a guest Jul 29th, 2016 729 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Example configuration files for `/etc/sysconfig/network-scripts/`:
  2.  
  3. # /etc/sysconfig/network-scripts/ifcfg-bond0
  4. DEVICE=bond0
  5. BOOTPROTO=none
  6. ONBOOT=yes
  7. USERCTL=no
  8. BONDING_OPTS="mode=4 miimon=100"
  9.  
  10. # /etc/sysconfig/network-scripts/ifcfg-bond0.2
  11. DEVICE=bond0.2
  12. BOOTPROTO=none
  13. ONBOOT=yes
  14. IPADDR=172.16.40.15
  15. NETMASK=255.255.255.0
  16. GATEWAY=172.16.40.1
  17. USERCTL=no
  18. VLAN=yes
  19. TYPE=Ethernet
  20. IPV6INIT=no
  21.  
  22. # /etc/sysconfig/network-scripts/ifcfg-bond0.777
  23. DEVICE=bond0.777
  24. BOOTPROTO=none
  25. ONBOOT=yes
  26. IPADDR=192.168.77.11
  27. NETMASK=255.255.255.0
  28. USERCTL=no
  29. VLAN=yes
  30. TYPE=Ethernet
  31. IPV6INIT=no
  32.  
  33. # /etc/sysconfig/network-scripts/ifcfg-enp3s0f0
  34. NAME="enp3s0f0"
  35. DEVICE="enp3s0f0"
  36. ONBOOT=yes
  37. NETBOOT=yes
  38. IPV6INIT=yes
  39. BOOTPROTO=none
  40. TYPE=Ethernet
  41. MASTER=bond0
  42. SLAVE=yes
  43.  
  44. # /etc/sysconfig/network-scripts/ifcfg-enp3s0f1
  45. NAME="enp3s0f1"
  46. DEVICE="enp3s0f1"
  47. ONBOOT=yes
  48. NETBOOT=yes
  49. IPV6INIT=yes
  50. BOOTPROTO=none
  51. TYPE=Ethernet
  52. MASTER=bond0
  53. SLAVE=yes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top