sobota, 16 kwietnia 2016

Debian i bonding

Setup:
apt-get install vlan ifensalve
/etc/modules:
bonding
/etc/modprobe.d/bonding.conf:
options bonding max_bonds=0
/etc/network/interfaces:
auto host0
iface host0 inet static
        address 192.168.1.2
        netmask 255.255.255.248
        gateway 192.168.1.1
        bond-slaves eno1 eno2
        bond-mode 802.3ad
        bond-miimon 250
        bond-xmit-hash-policy layer2+3

iproute2 vlan

ip link add link eth0 name eth0.100 type vlan id 100
ip link delete eth0.100

Bonding przez sysfs

modprobe bonding max_bonds=0
echo +host0 > /sys/class/net/bonding_masters
echo 802.3ad > /sys/class/net/host0/bonding/mode
echo +eno1 > /sys/class/net/host0/bonding/slaves
echo +eno2 > /sys/class/net/host0/bonding/slaves

sobota, 11 lipca 2015

niedziela, 23 listopada 2014

czwartek, 2 października 2014

BSD vs GPL

Cytat:

> BSD: "If you love something, set it free.  If it comes back to you, 
> it was meant to be."
>
> GPL: "If you love something, set if free, but put a chain around 
> it's neck to make sure it doesn't get out of sight."

Natrafienie na ten cytat związany jest z  bardzo, bardzo, bardzo wątpliwą zawartością strony: http://aboutthebsds.wordpress.com/ (adresu celowo nie linkuję).
Nie pamiętam bym przez ostanie dwie dekady miał możliwość zapoznania z takim poziomem treści.
Niewątpliwie zawartość strony rozbawiła mnie ale zapoznanie się z treściami zawartymi w powyższym blogu byłoby niesamowitą stratą czasu gdyby nie powyższy cytat.
Cytat nie pojawił się oczywiście na stronie. Napotkałem go na liście dyskusyjnej FreeBSD gdzie był poruszony temat tej nieszczęsnej strony.