Contenu connexe
Plus de Asociatia ProLinux
Plus de Asociatia ProLinux (20)
Petru Ratiu - Linux bonding meets sysfs
- 2. The usual way
● modprobe bonding mode=1 miimon=100
● alias bond0 bonding
options bond0 mode=active-failover miimon=100
- 3. The “OMG it's buit in!” way
echo “ +bond0” > /sys/class/net/bonding_masters
echo "active-backup" >
/sys/class/net/bond0/bonding/mode
echo “ 100” > /sys/class/net/bond0/bonding/mode
- 4. The “let's pretend we don't have
ifenslave” bonus slide
ifconfig bond0 up
echo “ +eth0” >
/sys/class/net/bond0/bonding/slaves
echo “ +eth1” >
/sys/class/net/bond0/bonding/slaves
- 5. But why?
● Interfete multiple
● Reconfigurari fara reboot
● Probleme la modprobe -o bond0
● Distributii fara scripturi gata facute ;)