Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. config_enp7s0="dhcp"
  2. config_enp3s4f0="null"
  3. config_enp3s4f1="null"
  4. config_enp3s6f1="null"
  5. config_enp3s6f0="null"
  6. slaves_bond0="enp3s4f0 enp3s4f1 enp3s6f0 enp3s6f1"
  7. config_bond0="192.168.4.1 netmask 255.255.255.0 broadcast 192.168.4.0"
  8. mode_bond0="balance-rr"
  9. mtu_bond0="16110"
  10.  
  11. echo "bonding">/etc/modules-load.d/bonding.conf
  12. echo "options bonding mode=balance-rr" >/etc/modprobe.d/bonding.conf
  13. echo "options bonding miimon=100">>/etc/modprobe.d/bonding.conf
  14. # round robbin: multiplexes packets to same dest across all ports
  15. #/usr/src/linux/Documentation/networking/bonding.txt
  16. modinfo -p bonding
  17. # module parameters
  18.  
  19. ip link set enp3s4f0 up
  20. ip link set enp3s4f1 up
  21. ip link set enp3s6f0 up
  22. ip link set enp3s6f1 up
  23. ip link set bond0 up
  24. cat /proc/net/bonding/bond0
  25.  
  26. #sudo bash -c "echo 'net.ipv4.tcp_reordering = 32' >> /etc/sysctl.conf"
  27. # may not be needed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement