VLAN Trunk Creation and Inter-VLAN Routing

Hi All,

I need some desperate guidance/walkthrough assistance. I have been scanning the web Manual for RouterOS and have not been able to find an answer. I have a RB1100 running RouterOS v4.15. I have 3 ethernet ports (port3,4,5) configured as vlans with IDs and Interface IP’s as such: ether3=Vlan-id 30=172.16.3.254, ether4=Vlan-id 40=172.16.4.254…I following the following link during creation: http://wiki.mikrotik.com/wiki/VLAN in particular the ‘Create trunks and implement routing between VLANs’ section. There is no further information on how to actually create a 802.11Q trunk port carrying all three VLANs. I need this trunk on port 7 of my RB1100 additionally I need to enable routing between the VLANs on the RB1100.

I have a wireless ethernet bridge that will connect the trunk port of the RB1100 to a trunk port on a RB250GS. I followed the following walk through http://wiki.mikrotik.com/wiki/SwOS/Router-On-A-Stick for creating VLANs on the RB250GS. I need port 1 and port 2 to be trunk ports (carrying all 3 VLANs) and port 3 to carry VLAN 30, port 4 VLAN 40, port 5 VLAN 50. Port 1 will receive the trunk from my wireless bridge from the RB1100 and port 2 will carry all 3 VLANs through another wireless bridge to yet another RB250GS that will offer access to VLANs 30,40,50. The wiki article calls out step 6 but there are no further details on how to exactly “bind your IP addresses to a VLAN interface” Is this what I did on my RB1100?

Any setup assistance/guidance would be greatly appreciated!

Thanks!

I’m a little confused by your post, particularly the notation you show for the commands you ran.

A trunk is simply Cisco parlance for a link that has several VLANs on it. To create trunks crest multiple VLAN interfaces on the same physical interfaces. Since it is a router you then often assign IPs to the VLAN interfaces.
Since an RB1100 is a router, you don’t enable routing between the VLAN interfaces. As a router it will out of the box route between all connected interfaces, after all that is its main purpose.

Here a trunk on ether7 for VLANs 10 and 20:

# turn off switch chp just in case
/interface ethernet { set [find name=ether7] master-port=none }
# create VLAN interfaces
/interface vlan
add disabled=no interface=ether7 vlan-id=10 name=vlan10
add disabled=no interface=ether7 vlan-id=20 name=vlan20
# assign IPs
/ip address
add address=10.0.10.1/24 interface=vlan10
add address=10.0.20.1/24 interface=vlan20

That’s it.