Saturday, 3 June 2017

MIKROTIK:-How to add Secondary IP in Mikroitk interface .

As you can see in my below pictures , i have configured 4 IP address from 4 subnets under one physical interface .



Please follow the below commands and also you can add the multiple IP in GUI as well .



/ip address
add address=192.16.1.1/24 interface=ether6 network=192.16.1.0
add address=192.168.2.1/24 interface=ether6 network=192.168.2.0
add address=192.168.3.1/24 interface=ether6 network=192.168.3.0
add address=192.168.4.1/24 interface=ether6 network=192.168.4.0

2 comments:

  1. With the Mikrotik configured like this, when ether 6 is plugged into a switch, would devices from each of the 4 created networks be able to plug into the same switch and communicate without any issues? Example: eth6 goes into port 1 on the switch, would a device from network 192.16.1.x be able to plug into port 2 and a device from 192.168.2.x plug into port 3 and so on until all 4 networks are connected to the switch?

    Additionally, would this configuration be able to provide DHCP addresses to all of the 4 networks assigned to eth6? Or, would DHCP only work with 192.16.1.1/24 since it is the first address listed.

    ReplyDelete
  2. Also, would all of this be able to work without the need of configuring a Vlan for each network?

    ReplyDelete