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édenteDernière révisionLes deux révisions suivantes | ||
reseaux_administrations [2011/05/01 22:13] – thierry | reseaux_administrations [2011/11/09 21:48] – thierry | ||
---|---|---|---|
Ligne 26: | Ligne 26: | ||
gateway 10.0.4.254 | gateway 10.0.4.254 | ||
bond-slaves eth0 eth1 | bond-slaves eth0 eth1 | ||
- | bond-mode | + | bond-mode |
bond-miimon 100 | bond-miimon 100 | ||
bond-primary eth0 eth1 | bond-primary eth0 eth1 | ||
+ | |||
+ | *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 | ||
+ | |||
+ | |||
+ | Autre exemple: | ||
+ | auto bond0 | ||
+ | iface bond0 inet static | ||
+ | address 10.21.4.11 | ||
+ | netmask 255.255.255.0 | ||
+ | network 10.21.4.0 | ||
+ | broadcast 10.21.4.255 | ||
+ | gateway 10.21.4.254 | ||
+ | bond-slaves none | ||
+ | bond-mode 4 | ||
+ | bond-miimon 100 | ||
+ | | ||
+ | allow-hotplug eth0 | ||
+ | iface eth0 inet manual | ||
+ | bond-master bond0 | ||
+ | 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: | Sur le switch: | ||
#conf t | #conf t | ||
#interface range gi 1/0/3 - 4 | #interface range gi 1/0/3 - 4 | ||
- | # | + | # |
#switchport mode access | #switchport mode access | ||
#switchport access vlan 6 | #switchport access vlan 6 | ||
- | Marche | + | Marche |
+ | *channel-group 1 mode on => bond-mode 0 | ||
+ | *channel-group 1 mode passive | ||
+ | *channel-group 1 mode active | ||
Un " | Un " | ||
Ligne 57: | Ligne 94: | ||
Group Port-channel | Group Port-channel | ||
------+-------------+-----------+----------------------------------------------- | ------+-------------+-----------+----------------------------------------------- | ||
- | 1 Po1(SU) | + | 1 Po1(SU) |
====== Arp ====== | ====== Arp ====== | ||
Ligne 123: | Ligne 161: | ||
====== nfs ====== | ====== nfs ====== | ||
- | Lien: http:// | + | Liens: |
+ | * http:// | ||
+ | * IPTABLES et NFS: http:// | ||
+ | * IPTABLES et NFS: http:// | ||
===== serveur ===== | ===== serveur ===== |
reseaux_administrations.txt · Dernière modification : 2011/11/25 11:21 de thierry