Mikrotik VLAN pomoć
Pozdrav,
molio bi pomoć nekoga iskusnijeg sa mikrotik routerOS.
Ukratko radi se o uređaju crs125-24g-1s-2hnd-in na kojem pokušavam složiti VLAN-ove.
Postojeći switch sam zamjenio sa navedenim uređajem te sam navedeni uređaj konfigurirao prema uputama pronađenim na wiki stranicama mikrotika.
Radi se o 4 VLAN-a podjeljena na 2 kable ( po 2 taggirana ulaza na svakom pojedinom portu) radi se o VLAN-ovima oznaka 5,10,20,30
VLANovi 5 i 10 su zaduženi za wifi, dok druga 2 VLANa su za druge subnete.
Konfigurirano je na slijedeći način
VLAN5 i 10 dolaze na port 15, gdje su raspoređeni na portove 13,14 i 16 te bridgani na virtualni AP. To funkcionira. Problem nastaje sa VLANovima 20 i 30 koji su konfigurirani na ulaznom portu 19, te raspoređeni na portove 17,18,20,21,22,23,24. E to ne radi. A opet kada sam kreirao dodatne virtualne AP-ove i bridgao ih sa VLANom 20 i 30 kada se spojim na te virtualne AP-ove uredno dobijem IP od DHCP-a, ali na fizičkim portovima ne ( dobijem Apipu 169.254.... )
Konfigurirao sam na slijedeći način :
HTML:
/interface ethernet
set ether13-slave-local master-port=ether15-master-local
set ether14-slave-local master-port=ether15-master-local
set ether16-slave-local master-port=ether15-master-local
set ether17-slave-local master-port=ether19-master-local
set ether18-slave-local master-port=ether19-master-local
set ether20-slave-local master-port=ether19-master-local
set ether21-slave-local master-port=ether19-master-local
set ether22-slave-local master-port=ether19-master-local
set ether23-slave-local master-port=ether19-master-local
set ether24-slave-local master-port=ether19-master-local
/interface ethernet switch ingress-vlan-translation
add ports=ether13-slave-local customer-vid=0 new-customer-vid=10 sa-learning=yes
add ports=ether14-slave-local customer-vid=0 new-customer-vid=10 sa-learning=yes
add ports=ether16-slave-local customer-vid=0 new-customer-vid=5 sa-learning=yes
add ports=ether17-slave-local customer-vid=0 new-customer-vid=30 sa-learning=yes
add ports=ether18-slave-local customer-vid=0 new-customer-vid=30 sa-learning=yes
add ports=ether20-slave-local customer-vid=0 new-customer-vid=20 sa-learning=yes
add ports=ether21-slave-local customer-vid=0 new-customer-vid=20 sa-learning=yes
add ports=ether22-slave-local customer-vid=0 new-customer-vid=20 sa-learning=yes
add ports=ether23-slave-local customer-vid=0 new-customer-vid=20 sa-learning=yes
add ports=ether24-slave-local customer-vid=0 new-customer-vid=20 sa-learning=yes
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether15-master-local vlan-id=5
add tagged-ports=ether15-master-local vlan-id=10
add tagged-ports=ether19-master-local vlan-id=20
add tagged-ports=ether19-master-local vlan-id=30
/interface ethernet switch vlan
add ports=ether15-master-local,ether16-slave-local vlan-id=5 learn=yes
add ports=ether15-master-local,ether13-slave-local,ether14-slave-local vlan-id=10 learn=yes
add ports=ether19-master-local,ether17-slave-local,ether18-slave-local vlan-id=20 learn=yes
add ports=ether19-master-local,ether20-slave-local,ether21-slave-local,ether22-slave-local,ether23-slave-local,ether24-slave-local vlan-id=30 learn=yes
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether13-slave-local,ether14-slave-local,ether15-master-local,ether16-slave-local,ether17-slave-local,ether18-slave-local,ether19-master-local,ether20-slave-local,ether21-slave-local,ether22-slave-local,ether23-slave-local,ether24-slave-local
Ja više ne znam što bi pokušao, pa ako ima koji iskusniji da mi ukaže gdje sam pogriješio ili jednostavno nemam sreće pa sam dobio defektni switch.
Unaprijed Vam hvala
LP
|