BASIC CONFIGURATION IN MIKROTIK DEVICE : SWITCH MODE

in #networking8 years ago (edited)

Hi all, this is my first post in my networking blog.


in our house or office, we need the presence of some devices that permit to communicate with each other and to world. In this guide I will speak how to configure the basic device in our network: the SWITCH. 

There a lot of switch in commerce easy for the user and that doesn’t need configuration. But how it works?
The switch is very different of a hub, the last one use every ports like a single one, so it can create collisions in communication with end devices connected to the hub(pc or other).For this reason the hub can’t permit a full duplex communication. 

The switch use every ports like different channels, in this way a full duplex communication is allowed without a presence of collision. 


The mikrotik devices are the best choice low price/performance and can be used in switch mode, we can obtain it in two type of configuration: 

1) Create a bridge
2) Create master/slave ports  

BRIDGE 

In command line interface (or with the mikrotik tool winbox that you can download in official site) you must create a bridge interface

   /interface bridge add name=bridge 

Then you must add single interface in bridge that you have created

 /interface bridge port add bridge=bridge1 interface=ether1
/interface bridge port add bridge=bridge1 interface=ether2
/interface bridge port add bridge=bridge1 interface=ether3
…  

MASTER/SLAVE PORTS 

In first thing you must decide which interface is the master (in my example is ether1), the master port is usually the port that is connected to the router. 

In command line interface you must put this configuration:

/interface ethernet set ether1 master-port=none
/interface ethernet set ether2 master-port=ether1
/interface ethernet set ether3 master-port=ether1
… 

  Now you have got a mikrotik switch :D 

  STAY TUNED and follow me!!!  


#tutorial #networking #guide #switch #router #mikrotik #bridge