Hi Guys!
I decided to give the VLAN solution a try and fought with it all night with no success.
Now I am trying to understand how the VLAN ideology works.
I found this guide: http://wiki.mikrotik.com/wiki/Vlans_on_Mikrotik_environment
According to the information provided on that page, it seems like when it comes down to VLAN you would always have one or more VLAN access-ports.
You would also have trunk ports which is like a highway with different kinds of traffic running in fixed lanes.
The example provided on the above page is with a trunk between two switches - But I am wondering if it is possible to use the VLAN internally in the RB750’s switch?
I have my WAN on ETH1 and my LAN on ETH2. I am then putting my SERVER 3 on my ETH5. (See attached Drawing)
So am I correct when assuming I would now need to set up a BRIDGE between my ETH1 (WAN) and my ETH5 (SERVER3) + a BRIDGE between my ETH1 (WAN) and my ETH2 (LAN) and then add a VLAN10 for the ETH1-ETH2 traffic and a VLAN20 for the ETH1-ETH5 traffic ?
Will this be enough for a port based VLAN enviroment within the RB750 swtich?
I plan on using these commands:
/interface vlan add name=vlan-10 vlan-id=10 interface=ETH2 disabled=no (Marking traffic from ETH2 with VLAN10 tag)
/interface vlan add name=vlan-20 vlan-id=20 interface=ETH5 disabled=no (Marking traffic from ETH5 with VLAN20 tag)
/interface bridge add name=WAN-ETH2 disabled=no (Create a bridge between WAN and ETH2)
/interface bridge add name=WAN-ETH5 disabled=no (Create a bridge between WAN and ETH5)
/interface bridge port add interface=“vlan-10” bridge=“WAN-ETH2” disabled=no (Allow traffic with VLAN10 tag into WAN-ETH2 brigde)
/interface bridge port add interface=“ETH2” bridge=“WAN-ETH2” disabled=no (Allow traffic to/from ETH2 into WAN-ETH2 brigde)
/interface bridge port add interface=“vlan-20” bridge=“WAN-ETH5” disabled=no (Allow traffic with VLAN20 tag into WAN-ETH5 brigde)
/interface bridge port add interface=“ETH5” bridge=“WAN-ETH5” disabled=no (Allow traffic to/from ETH5 into WAN-ETH5 brigde)
Is is in some way correct or am I way off ? Do I need to add the ETH1 interface to my bridges as this is the interface with my WAN connected ?
Thank you so much guys for helping me with this!
Best Regards
Martin B.
Drawing2.pdf (206 KB)