[Hi!] And trunk questions ....

Hi all i readed all info about i can about the trunks and vlans for my mikrotik 750 and i’m really frusted i never had problems with pfsense or other linux versions with cisco .. i dont know what im doing wronk…

I created the vlan(s) in either1 (1,5,21) , i created the bridged for assign the ports 2 (for vlan1) 3(for vlan5) 4(for vlan21) , and in anyone doesnt detect the bridge … and not assigned the ip for vlans by dhcp …


[cisco catalyst 2960] -G2 in trunk mode → port 1 routerboard 750 (1,5,21) bridge for all.

If anyone have any configuration or faq (not in wiki and google top 10) im very happyness for read it .

Thanks everyone.

Cisco–

1 default
5 VLAN_VIDEO
21 VLAN0021
!
interface GigabitEthernet0/2
description -Test Port-
switchport mode trunk
spanning-tree portfast trunk ( i tried to use vlan allowed 1,5,21 and doesnt work too.. .)
!

Mikrotik

Flags: D - dynamic, X - disabled, R - running, S - slave

NAME TYPE MTU L2MTU MAX-L2MTU

0 ether1 ether 1500 1526 1526
1 ether2 ether 1500 1524 1524
2 ether3 ether 1500 1524 1524
3 ether4 ether 1500 1524 1524
4 R ether5 ether 1500 1524 1524
5 VLAN1 vlan 1500 1522
6 VLAN5 vlan 1500 1522
7 VLAN21 vlan 1500 1522
8 R br-vlan1 bridge 1500 65535
9 R br-vlan5 bridge 1500 65535
10 R br-vlan21 bridge 1500 65535
[admin@MikroTik] /interface>



[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK INTERFACE

0 172.16.XXX.2/24 172.16.XXX.0 VLAN21
1 172.16.YYY.132/24 172.16.YYY.0 VLAN5
2 172.16.ZZZ.32/24 172.16.ZZZ.0 VLAN1

[admin@MikroTik] /interface vlan> print
Flags: X - disabled, R - running, S - slave

NAME MTU ARP VLAN-

0 VLAN1 1500 enabled
1 VLAN5 1500 enabled
2 VLAN21 1500 enabled


[admin@MikroTik] /interface bridge> print
Flags: X - disabled, R - running
0 R name=“br-vlan1” mtu=1500 l2mtu=65535 arp=enabled
mac-address=00:00:00:00:00:00 protocol-mode=stp priority=0x8000
auto-mac=no admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m

1 R name=“br-vlan5” mtu=1500 l2mtu=65535 arp=enabled
mac-address=00:00:00:00:00:00 protocol-mode=stp priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m

2 R name=“br-vlan21” mtu=1500 l2mtu=65535 arp=enabled
mac-address=00:00:00:00:00:00 protocol-mode=stp priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m

Could you use /export compact to upload a fuller picture?

why not configure each vlan in a different ether and not in a bridge.

I tested 3 vlan in a one ether with cisco 2950 and work fine

Thanks CelticCommons and c0d3rSh3ll , yes , i can assign each vlan for ether but the trunk is moved (also i dont know if the reason is that routerboard 750 have any limition ) and in all faq’s everyone explain the only way for do this is using the bridges … )

http://sygard.no/2011/09/vlan-access-ports-on-mikrotik-routers/
http://puputputri.blogspot.com.es/2009/04/mikrotik-vlan-interface.html
http://mikrotikservers.blogspot.com.es/2012/02/rb250gs-vlan-trunk-configuration.html

[admin@MikroTik] > /export compact

jan/02/1970 22:08:59 by RouterOS 5.17

software id = VIM7-WCL1

/interface bridge
add auto-mac=no name=br-vlan1 protocol-mode=stp
add name=br-vlan5 protocol-mode=stp
add name=br-vlan21 protocol-mode=stp
/interface vlan
add interface=ether1 l2mtu=1522 name=VLAN1 vlan-id=1
add interface=ether1 l2mtu=1522 name=VLAN5 vlan-id=5
add interface=ether1 l2mtu=1522 name=VLAN21 vlan-id=21
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/system logging action
set 3 remote=0.0.0.0
/interface bridge port
add bridge=br-vlan1 interface=ether2
add bridge=br-vlan5 interface=ether3
add bridge=br-vlan21 interface=ether4
/ip address
add address=172.16.YYY.2/24 interface=VLAN21
add address=172.16.ZZZ.132/24 interface=VLAN5
add address=172.16.ZZ.32/24 interface=VLAN1
/ip dns
set max-udp-packet-size=512
/ip neighbor discovery
set VLAN1 disabled=yes
set VLAN5 disabled=yes
set VLAN21 disabled=yes
/queue interface
set ether1 queue=ethernet-default
set ether2 queue=ethernet-default
set ether3 queue=ethernet-default
set ether4 queue=ethernet-default
set ether5 queue=ethernet-default
/system clock
set time-zone-name=Europe/Madrid
/tool e-mail
set starttls=no
/tool graphing interface
add
/tool mac-server
add disabled=no
[admin@MikroTik] >
scheme.png
vlansinotherether.png
trunkether1.png

Hi .. try to make it under bridge VLAN, hope can help U
Screen Shot 2012-06-17 at 12.17.34 PM.png
Screen Shot 2012-06-17 at 12.16.55 PM.png