Ragazzi sto migrando su questo FGA2130 dal precedente FGA4131 che come da programma sta iniziando a dare cenni di matto sulla radio 5GHz.
Il link Gpon l'avevo sistemato tempo fa sulle due VLAN di tiscali, ora sono riuscito ad "impostare" il bridge per continuare a dare la pppoe anche al 4131 su cui ho ancora f2f2, transmission e strongswan.
Ip ratica c'è una flag sul file /etc/config/gponl3 che imposta mode='routed' su entrambe le veip0_X (una per ciascuna vlan). Questa flag altro nnon fa che applicare un filtro sul mac sorgente ai pacchetti che escono verso lONT, basta settare mode='vattelapesca' per "sbloccare" il bridge che avevo creato al solito modo.
https://github.com/FrancYescO/tch_firmware_extracted/blob/dc07797ab84397f4f6f687b01e825c68ef8e8524/lib/network/gpon.sh#L182
Ah, vi ricordo che qui lo switch hardware non c'è, o almeno non è un modulo discreto del SoC quindi le 4 lan sono tutte uguali e direttamente connesse al SoC.
Ciao Luke,
guardando in giro sembrerebbe che nelle macchine broadcom(si tratta di comandi per switch e quindi non so se applicabili a questo contesto) per il mode possano esserci 3 valori:
One common VLAN configuration option available on Broadcom-based switches, other than "routed," is the "access" mode. The two primary VLAN modes typically supported by Broadcom switches are:
Access Mode: In this mode, a switch port is assigned to a specific VLAN, and it carries untagged traffic for that VLAN. Devices connected to an access port belong to the configured VLAN, and frames sent from or received by those devices are not tagged with a VLAN ID.
Trunk Mode: Trunk mode is used when a switch port needs to carry traffic for multiple VLANs. In this mode, frames are tagged with VLAN IDs to identify which VLAN they belong to. Trunk ports are used to interconnect switches or to connect a switch to a router or server that supports VLAN tagging.
When a Broadcom-based switch is in "
routed" mode, it usually means that the switch has Layer 3 capabilities, and it can perform routing functions between VLANs. In this mode, the switch can act as a router, and VLAN interfaces with IP addresses can be configured to enable inter-VLAN routing.
Si potrebbe provere con "access", ma l'unico esempio di configurazione che sono riuscito a trovare è il seuente:
interface <interface_name>
switchport mode access
switchport access vlan <VLAN_ID>
dove:
<interface_name> is the name or identifier of the interface you want to configure (e.g., GigabitEthernet1/0/1).
<VLAN_ID> is the ID of the VLAN you want to assign to the interface.
Sono molto interessato ad un full bridge che vorrei far andare sul mio Fritz.
Spero possa essere di aiuto.
Saluti
Sergio