❗️Toto je původní verze internetového fóra ISPforum.cz do února 2020 bez možnosti registrace nových uživatelů. Aktivní verzi fóra naleznete na adrese https://telekomunikace.cz

VLAN na RB493G

Návody a problémy s konfigurací.
imhotepcz
Příspěvky: 10
Registrován: 12 years ago

VLAN na RB493G

Příspěvekod imhotepcz » 9 years ago

Zkoušel jsem podle tohohle nadstavit vlány
http://wiki.mikrotik.com/wiki/Manual:Sw ... figuration
ale nedaří se

potřebuji aby port ether9-green mel vlany 10 a 20 a jako zdroj slouží fyzické síťovky ether7-orange (vlana 20) a ether8-blue (vlana 10)

na všech portech jsou DHCP a jednotlivé oddělené sítě

povedlo se udělat přesně toto

toto mi to kazí a bez toho to nejde - Create a group of switched ports.

/interface ethernet
set ether3 master-port=ether2
set ether4 master-port=ether2
set ether5 master-port=ether2


• Assign "vlan-mode" and "vlan-header" mode for each port and "default-vlan-id" on ingress for each access port. Set "vlan-mode=secure" to ensure strict use of VLAN table. Set "vlan-header=always-strip" for access ports - it removes VLAN header from frame when it leaves the switch chip. Set "vlan-header=add-if-missing" for trunk port - it adds VLAN header to untagged frames. "Default-vlan-id" specifies what VLAN ID is added for ingress traffic of the access port.

/interface ethernet switch port
set ether2 vlan-mode=secure vlan-header=always-strip default-vlan-id=200
set ether3 vlan-mode=secure vlan-header=always-strip default-vlan-id=300
set ether4 vlan-mode=secure vlan-header=always-strip default-vlan-id=400
set ether5 vlan-mode=secure vlan-header=add-if-missing



• Add VLAN table entries to allow frames with specific VLAN IDs between ports.

/interface ethernet switch vlan
add ports=ether2,ether5 switch=switch1 vlan-id=200
add ports=ether3,ether5 switch=switch1 vlan-id=300
add ports=ether4,ether5 switch=switch1 vlan-id=400
0 x