Mi sembra di aver capito che di default è possibile impostare un tag management con la quale raggiungi la configurazione e in modalita bridge passano tutti tag quindi è come se fosse un trunk.
Adesso sto giocando con la configurazione delle vlan sul crs328 ma delle cose non mi tornano.
- Codice: Seleziona tutto
#CREO IL BRIDGE
/interface bridge
add name=bridge1
#AGGIUNGO LE PORTE AL BRIDGE CON IL LORO TAG ID SE NON DEFINISCO pvid E' UN TRUNK?
/interface bridge port
add bridge=bridge1 interface=ether1 hw=yes
add bridge=bridge1 interface=ether2 hw=yes pvid=20
add bridge=bridge1 interface=ether3 hw=yes pvid=30
#PER OGNI vlan-ids DEFINISCO LE PORTE TAGGED(trunk) E UNTAGGED(access), NEL CASO DI 24 PORTE DI UNO SWITCH DEVO DEFINIRLE TUTTE?
/interface bridge vlan
add bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=20
add bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=30
#ATTIVO IL FILTERING IN MODO DOPO AVER CONFIGURATO PER NON RESTARE CHIUSO FUORI
/interface bridge
set bridge1 vlan-filtering=yes
Secondo i commenti che ho inserito sto interpretando tutto in maniera corretta?
Nell' esempio il trunk che porta tutte le vlan è su ether1, se volessi avere come trunk anche la ether2 basterebbe fare cosi??
add bridge=bridge1 tagged=ether1
,ether2 untagged=ether2 vlan-ids=20
add bridge=bridge1 tagged=ether1
,ether2 untagged=ether3 vlan-ids=30
Scusate la tediosità.
Grazie