Friday, August 20, 2010

Setting Inter VLAN on Mikrotik Router

VLANs based on the definition of independent logical networks within a physical network, as illustrated more easily may be similar but not equal to the distribution of the partition on the HDD.

Some advantages of VLANs, excerpted from http://en.wikipedia.org/wiki/VLAN;

* Increase the number of domain broadcast but reduces the size of each, which automatically reduces network traffic and improve safety.
* Reduce the need to create a subnetwork.
* Reducing the need for hardware, networks can be separated logically, not necessarily physically.
* Adding the control of various types trafiic.
* Create multiple logical does even in a logical switch.


Implementation is done by separating traffic on the wireless client connected using a Virtual Access Point in Access Point AP Mikrotik Router OS-based bridge. Access Router on my network also uses Mikrotik Router OS that then perform shaping and firewall.

Here's a summary of topology;


topologi-mikrotik-vlan1.jpg
Wireless Client connected to each virtual AP with different SSID on an Access Point, which is used in this case is the RB-112 with Mikrotik Router OS v.2.9.35. Wireless Client A (Duren Sawit) also use the RB-112 with Station-WDS configuration, while the Wireless Client B (Cipinang) using Smart radio bridge (SB-2100) with the Infrastructure Client configuration.

In Access Point, create a virtual AP, vap1 and vap2 with the master interface wlan1, which each have a different SSID, but running on a single frequency.

vap1dan2.jpg

Set WDS configuration as usual on the virtual APs using WDS, and then create a VLAN interface on the ethernet interface with a different ID, in this case is VLAN0200DURSAW ID 200 and ID 201 VLAN201CIPINANG

interfacevlan.jpg

Then create two different bridge (br-br-Cipinang and dursaw), each of which contains the interface bridge each VLAN and Virtual AP

interfacebridge.jpg

Give the IP Address and Routing on the VLAN interface to be in governance

ipaddress.jpg

On the Access Router for VLAN interface in accordance with the ID of each and put the gateway IP address on that interface.

ipaddressrouter.jpg

1 comment:

  1. Hello,

    Thanks for providing the good info about setting Inter VLAN on mikrotik router. When the VLAN extends over more than one switch, the inter-switch links have VLAN example on MikroTik Routers. Please keep up the nice work.

    ReplyDelete