Petru Ratiu - Linux bonding meets sysfs

787 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
787
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Petru Ratiu - Linux bonding meets sysfs

  1. 1. Linux bonding meets sysfs (sau ce te faci cand CONFIG_BONDING=y) Petru Ratiu – aprilie 2011
  2. 2. The usual way● modprobe bonding mode=1 miimon=100● alias bond0 bonding options bond0 mode=active-failover miimon=100
  3. 3. The “OMG its buit in!” wayecho “ +bond0” > /sys/class/net/bonding_mastersecho "active-backup" > /sys/class/net/bond0/bonding/modeecho “ 100” > /sys/class/net/bond0/bonding/mode
  4. 4. The “lets pretend we dont have ifenslave” bonus slideifconfig bond0 upecho “ +eth0” > /sys/class/net/bond0/bonding/slavesecho “ +eth1” > /sys/class/net/bond0/bonding/slaves
  5. 5. But why?● Interfete multiple● Reconfigurari fara reboot● Probleme la modprobe -o bond0● Distributii fara scripturi gata facute ;)

×