Passa al contenuto principale

5. Protocol Description for Multicast Routers

This section describes the part of MLDv2 that applies to multicast routers.

Questa sezione descrive la parte di MLDv2 che si applica ai router multicast.

5.1. Conditions for Querier Election

Multicast routers on a link must elect a single Querier to send periodic General Queries. The election process is as follows:

I router multicast su un collegamento devono eleggere un singolo Querier per inviare interrogazioni generali periodiche. Il processo di elezione è il seguente:

  1. Initially, every router starts as a Querier.

    Inizialmente, ogni router inizia come Querier.

  2. If a router receives a Query from another router with a lower IP address, it becomes a Non-Querier.

    Se un router riceve un'interrogazione da un altro router con un indirizzo IP inferiore, diventa un Non-Querier.

  3. If a Non-Querier does not receive a Query from a router with a lower IP address for a certain period (Other Querier Present Interval), it resumes the role of Querier.

    Se un Non-Querier non riceve un'interrogazione da un router con un indirizzo IP inferiore per un certo periodo (Intervallo di Presenza Altro Querier), riprende il ruolo di Querier.

5.2. Querier Action on Reception of a Query

When a Querier receives a Query:

Quando un Querier riceve un'interrogazione:

  • If the source IP address is lower than its own, it ceases to be a Querier.

    Se l'indirizzo IP sorgente è inferiore al proprio, cessa di essere un Querier.

  • If the source IP address is higher than its own, it remains the Querier.

    Se l'indirizzo IP sorgente è superiore al proprio, rimane il Querier.

  • If the source IP address is equal to its own, the Query is ignored.

    Se l'indirizzo IP sorgente è uguale al proprio, l'interrogazione viene ignorata.

5.3. Sending of Queries

The Querier periodically sends General Queries to solicit membership information. The default [Query Interval] is 125 seconds.

Il Querier invia periodicamente interrogazioni generali per sollecitare informazioni sull'appartenenza. L'[Query Interval] predefinito è 125 secondi.

The Querier also sends Group-Specific or Multicast-Address-and-Source-Specific Queries when it receives State Change Reports indicating that a listener is leaving a group or blocking a source. These queries are used to verify if there are any other listeners interested in the group or source.

Il Querier invia anche interrogazioni specifiche per gruppo o specifiche per indirizzo multicast e sorgente quando riceve rapporti di cambio stato che indicano che un ascoltatore sta lasciando un gruppo o bloccando una sorgente. Queste interrogazioni vengono utilizzate per verificare se ci sono altri ascoltatori interessati al gruppo o alla sorgente.

5.4. Action on Reception of Reports

Routers maintain a state for each attached link, which tracks the multicast addresses and sources of interest. When a router receives a Report, it updates this state.

I router mantengono uno stato per ogni collegamento connesso, che traccia gli indirizzi multicast e le sorgenti di interesse. Quando un router riceve un rapporto, aggiorna questo stato.

  • Current State Reports: Used to refresh the state of existing listeners.

    Rapporti di Stato Corrente: Utilizzati per aggiornare lo stato degli ascoltatori esistenti.

  • State Change Reports: Used to update the state immediately when a listener's interest changes.

    Rapporti di Cambio Stato: Utilizzati per aggiornare lo stato immediatamente quando cambia l'interesse di un ascoltatore.

Based on the state, the router decides whether to forward multicast packets for a specific (S,G) or (*,G) to the link.

In base allo stato, il router decide se inoltrare pacchetti multicast per uno specifico (S,G) o (*,G) al collegamento.