reseaux_administrations
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
reseaux_administrations [2011/05/01 18:36] – thierry | reseaux_administrations [2011/11/25 11:21] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
*http:// | *http:// | ||
*http:// | *http:// | ||
+ | *http:// | ||
Switchs: | Switchs: | ||
*http:// | *http:// | ||
Ligne 17: | Ligne 18: | ||
# aptitude install ifenslave | # aptitude install ifenslave | ||
- | < | + | **'' |
- | # cat /etc/modprobe.d/bonding.conf | + | ... |
- | | + | |
- | | + | |
- | </ | + | address 10.0.4.10 |
+ | netmask 255.255.255.0 | ||
+ | gateway 10.0.4.254 | ||
+ | bond-slaves eth0 eth1 | ||
+ | bond-mode < | ||
+ | bond-miimon 100 | ||
+ | | ||
- | Sur le switch: | + | *bond-mode 0 => Round-robin policy (envoi alternativement d'une interface puis de l' |
+ | *bond-mode 1 => Active-backup policy (active 1 slave, et passe au suivant en cas de defaillance) | ||
+ | *bond-mode 4 => IEEE 802.3ad Dynamic link aggregation | ||
- | #sh ru interface gi 1/0/3 | ||
- | Building configuration... | ||
- | | ||
- | Current configuration : 153 bytes | ||
- | ! | ||
- | interface GigabitEthernet1/ | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | end | ||
- | #sh ru interface gi 1/0/4 | + | Autre exemple: |
- | | + | auto bond0 |
+ | iface bond0 inet static | ||
+ | address 10.21.4.11 | ||
+ | netmask 255.255.255.0 | ||
+ | network 10.21.4.0 | ||
+ | | ||
+ | gateway 10.21.4.254 | ||
+ | bond-slaves none | ||
+ | bond-mode 4 | ||
+ | bond-miimon 100 | ||
| | ||
- | | + | |
- | | + | iface eth0 inet manual |
- | interface | + | bond-master bond0 |
- | description bonding z1 | + | bond-primary eth0 eth1 eth2 |
- | | + | |
- | | + | allow-hotplug eth1 |
- | | + | iface eth1 inet manual |
- | | + | bond-master bond0 |
+ | bond-primary eth0 eth1 eth2 | ||
+ | |||
+ | allow-hotplug eth2 | ||
+ | iface eth2 inet manual | ||
+ | bond-master bond0 | ||
+ | bond-primary eth0 eth1 eth2 | ||
+ | |||
+ | Pour les switchs, voir chez Cisco... | ||
+ | |||
+ | Sur le switch: | ||
+ | | ||
+ | | ||
+ | # | ||
+ | #switchport | ||
+ | #switchport | ||
+ | |||
+ | Marche | ||
+ | *channel-group 1 mode on => bond-mode 0 | ||
+ | *channel-group 1 mode passive | ||
+ | | ||
Un " | Un " | ||
Ligne 56: | Ligne 83: | ||
! | ! | ||
interface Port-channel1 | interface Port-channel1 | ||
+ | | ||
+ | | ||
end | end | ||
Ligne 61: | Ligne 90: | ||
... | ... | ||
Number of channel-groups in use: 1 | Number of channel-groups in use: 1 | ||
- | Number of aggregators: | + | Number of aggregators: |
| | ||
Group Port-channel | Group Port-channel | ||
------+-------------+-----------+----------------------------------------------- | ------+-------------+-----------+----------------------------------------------- | ||
- | 1 Po1(SD) | + | 1 Po1(SU) |
- | 1 Po1(SD) | + | |
====== Arp ====== | ====== Arp ====== | ||
Ligne 132: | Ligne 161: | ||
====== nfs ====== | ====== nfs ====== | ||
- | Lien: http:// | + | Liens: |
+ | * http:// | ||
+ | * IPTABLES et NFS: http:// | ||
+ | * IPTABLES et NFS: http:// | ||
===== serveur ===== | ===== serveur ===== | ||
Ligne 369: | Ligne 401: | ||
====== Tester le debit ====== | ====== Tester le debit ====== | ||
+ | |||
+ | Existe aussi pour windows: http:// | ||
# apt-get install iperf | # apt-get install iperf | ||
Ligne 385: | Ligne 419: | ||
------------------------------------------------------------ | ------------------------------------------------------------ | ||
- | Existe aussi pour windows: http://www.noc.ucf.edu/ | + | En udp: |
+ | |||
+ | Sur le serveur: | ||
+ | # iperf -s -u | ||
+ | |||
+ | Sur le client, il faut preciser la bande passante a tester: | ||
+ | |||
+ | # iperf -c < | ||
+ | Si il y a 0% de perte, a " | ||
+ | |||
+ | |||
====== parser les logs ====== | ====== parser les logs ====== |
reseaux_administrations.1304274967.txt.gz · Dernière modification : 2011/05/01 18:36 de thierry