Mám normálně přiřazený VLAN na interface pod eth-WAN
VLAN strčený do bridge local, aby to jelo všude:
[admin@MikroTik] > /interface bridge port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether2-master-local bridge-local 0x80 10 none
1 wlan1 bridge-local 0x80 10 none
2 I vlan.501 bridge-local 0x80 10 none
Takto je routovací tabulka bez aktivace VLAN:
[admin@MikroTik] /ip route> print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=213.55.133.1
gateway-status=213.55.133.1 reachable via ether1-gateway distance=1 scope=30
target-scope=10
1 ADC dst-address=192.168.88.0/24 pref-src=192.168.88.1 gateway=bridge-local
gateway-status=bridge-local reachable distance=0 scope=10
2 ADC dst-address=213.55.133.0/24 pref-src=213.55.133.51 gateway=ether1-gateway
gateway-status=ether1-gateway reachable distance=0 scope=10
Takto po aktivaci VLAN:
[admin@MikroTik] /ip route> print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=213.55.133.1
gateway-status=213.55.133.1 reachable via bridge-local distance=1 scope=30
target-scope=10
1 ADC dst-address=192.168.88.0/24 pref-src=192.168.88.1 gateway=bridge-local
gateway-status=bridge-local reachable distance=0 scope=10
2 ADC dst-address=213.55.133.0/24 pref-src=213.55.133.51 gateway=ether1-gateway,bridge-local
gateway-status=ether1-gateway reachable,bridge-local reachable distance=0 scope=10
Problém tedy je, že se tam nacpe, ten bridge-local a neroutuje to přes WANku, chová se to takto i bez bridge, prostě při aktivaci VLAN to stále routuje přes tu VLAN.
G.