Questo contenuto non è disponibile nella lingua selezionata.

7.5. Verifying Network Configuration Bonding for Redundancy


Network redundancy is a process when devices are used for backup purposes to prevent or recover from a failure of a specific system. The following procedure describes how to verify the network configuration for bonding in redundancy:
Procedure
  1. Ping the destination IP from the bond interface. For example:
    ~]# ping -I bond0 DSTADDRping -I bond0 DSTADDRping -I bond0 DSTADDR
    Copy to Clipboard Toggle word wrap
  2. View which interface is in active mode:
    ~]# cat /sys/class/net/bond0/bonding/active_slave
    enp1s0
    Copy to Clipboard Toggle word wrap
    enp1s0 is the active port interface.
  3. Set the active port interface down:
    ~]# ip link set enp1s0 downip link set enp1s0 downip link set enp1s0 down
    Copy to Clipboard Toggle word wrap
  4. Check if the backup interface is up:
    ~]# cat /sys/class/net/bond0/bonding/active_slave
    enp2s0
    Copy to Clipboard Toggle word wrap
    enp2s0 is now the active port interface.
  5. Check if you can still ping the destination IP from the bond interface:
    ~]# ping -I bond0 DSTADDRping -I bond0 DSTADDRping -I bond0 DSTADDR
    Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat