Indice   FAQ  
Iscriviti  Login
Indice Networking & Software di geolocalizzazione Reti LAN

più porte trunk

Argomenti basati sulle reti &........problemi a riguardo

più porte trunk

Messaggioda valerio.93 » mar 19 dic 2023, 9:39

Ciao ragazzi! ho bisogno del vostro aiuto perchè non ci stò togliendo le gambe.
ho la necessità di far arrivare a degli access point che ho sparsi per la mia struttura 2 vlan! io ho già una rete funzionante e la vorrei lasciare così come è.. vorrei solo aggiungere un 3011 per creare la rete GUEST e attaccarci i 3 AP che ho(questi access point sono della ligowave e accettano le VLAN. vi posto il codice di seguito. per adesso è così composto:
è tutto in bridge, la vlan 20 è per la rete 'ufficio' che già ho ed è in dhcp client mentre la vlan 10 è la rete creata dal 3011 che sarà la guest, avrei bisogno di far uscire queste 2 vlan sulle porte 8 9 10.

Codice: Seleziona tutto
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface ethernet
set [ find default-name=ether2 ] name=ether2-guest
set [ find default-name=ether3 ] name=ether3-ufficio
set [ find default-name=ether4 ] name=ether4-ufficio
set [ find default-name=ether6 ] name=ether6-guest
set [ find default-name=ether7 ] name=ether7-ufficio
/interface vlan
add interface=bridge1 name=vlan-guest10 vlan-id=10
add interface=bridge1 name=vlan-ufficio20 vlan-id=20
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=vlan-guest10 name=dhcp1
/interface bridge port
add bridge=bridge1 ingress-filtering=yes interface=ether2-guest pvid=10
add bridge=bridge1 ingress-filtering=yes interface=ether3-ufficio pvid=\
    20
add bridge=bridge1 ingress-filtering=yes interface=ether4-ufficio pvid=\
    20
add bridge=bridge1 ingress-filtering=yes interface=ether6-guest pvid=10
add bridge=bridge1 ingress-filtering=yes interface=ether7-ufficio pvid=\
    20
/interface bridge vlan
add bridge=bridge1 tagged=bridge1 untagged=\
    ether2-guest,ether6-guest vlan-ids=10
add bridge=bridge1 tagged=bridge1 untagged=\
    ether3-ufficio,ether4-ufficio,ether7-ufficio vlan-ids=20
/ip address
add address=192.168.10.1/24 interface=vlan-guest10 network=192.168.10.0
/ip dhcp-client
add disabled=no interface=vlan-ufficio20
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=vlan-ufficio20
valerio.93
Mikrotik-User 10° Liv
Mikrotik-User 10° Liv
 
Messaggi: 25
Iscritto il: mer 16 nov 2016, 22:56
Uso routerOS dalla Versione: v3.x


Torna a Reti LAN

Chi c’è in linea

Visitano il forum: Nessuno e 7 ospiti