mk switch a vlan
Napsal: 27 Oct 2014 21:51
od chalan
potrebujem pomoct nastavit v podstate primitivnu vec, ktoru bezne nastavujem na l2 switchoch ale na mikrotiku ani za nic... mam rb1100 port 2-5 maju nastaveny master port 1. do portu 5 je strceny streamer, tento port chcem mat acesovy pre vlan 2990 nic viac... v porte 4 mam notas, tento port chcem mat acesovy pre default vlan 0 a tagovany pre vlan 2990, poradi mi niekto ako na to prosim? dakujem
Re: mk switch a vlan
Napsal: 27 Oct 2014 22:50
od Majklik
Re: mk switch a vlan
Napsal: 28 Oct 2014 21:07
od chalan
to som samozrejme cital ale nejde mi to... mne neprichadzaju tagovane pakety z portu kde mam streamer, tento port chcem mat acesovy a len 2990... a potrebujem aby na porte 4 bola acesova defaultna vlan 0 a tagovana 2990 a to neviem nijako nastavit... zda sa mi to v tom mikrotiku velmi nelogicke
Re: mk switch a vlan
Napsal: 30 Oct 2014 10:18
od Majklik
Co tohle:
Kód: Vybrat vše
/interface ethernet
set ether2 master-port=ether1
set ether3 master-port=ether1
set ether4 master-port=ether1
set ether5 master-port=ether1
/interface ethernet switch port
set switch1-cpu vlan-mode=secure vlan-header=always-strip default-vlan-id=1
set ether1 vlan-mode=secure vlan-header=always-strip default-vlan-id=1
set ether2 vlan-mode=secure vlan-header=always-strip default-vlan-id=1
set ether3 vlan-mode=secure vlan-header=always-strip default-vlan-id=1
set ether4 vlan-mode=secure vlan-header=leave-as-is default-vlan-id=1
set ether5 vlan-mode=secure vlan-header=always-strip default-vlan-id=2990
/interface ethernet switch vlan
add ports=switch1-cpu,ether1,ether2,ether3,ether4 switch=switch1 vlan-id=1
add ports=ether4,ether5 switch=switch1 vlan-id=2990