Configuring VLAN Trunking on MT Router to Cisco C2924 Switch

Try to add vlans to the bridges.

should i create new interfaces with VLAN{ID} and add that interface to the existing bridge (BRIDGE1=ETH+WLAN) ??

Try exactly this.

Something like this is what you are looking for…you can repeat to add more VLANs

/interface bridge
add name=VLAN100-Bridge

/interface vlan
add interface=ether1 l2mtu=1594 name=vlan100-ether1 vlan-id=100
add interface=wlan1 l2mtu=1596 name=vlan100-wlan vlan-id=100

/interface bridge port
add bridge=VLAN100-Bridge interface=vlan100-ether1
add bridge=VLAN100-Bridge interface=vlan100-wlan

oh wow!!!

thanks a lot for that code… will try it.

so one thing got clear… VLAN are forwarded using their ID and not their IP Address… am i right?

Hi Mates


What if want to createT TRUNK between Cisco 2960 switch and mikrotik crs125-24g-1s-2hnd-in,

Cisco 2960
#switchport mode trunk
#no shut

VLAN 1 -192.168.200.0/24 - Management ip address.


mikrotik crs125-24g-1s-2hnd-in

Ether 24 trunk.
Ether 24 - IP address 192.168.200.100/24 (I dont’ have any idea here)
default gateway - 192.168.200.1

Ether 1- VLAN 126
Ether 2- 10 VLAN 30


/interface ethernet
set ether1 master-port=ether24
set ether2 master-port=ether24
set ether3 master-port=ether24
set ether4 master-port=ether24
set ether5 master-port=ether24
set ether6 master-port=ether24
set ether7 master-port=ether24
set ether8 master-port=ether24
set ether9 master-port=ether24
set ether10 master-port=ether24

TRUNK PORT
/interface ethernet switch egress-vlan-tag add tagged-ports=ether24,switch1-cpu vlan-id=30 add tagged-ports=ether24 vlan-id=126


ACCESS PORT
/interface ethernet switch ingress-vlan-translation add customer-vid=0 new-customer-vid=30 ports=
ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,switch1-cpu
sa-learning=yes
/interface ethernet switch ingress-vlan-translation add customer-vid=0 new-customer-vid=126 ports=
ether1,switch1-cpu
sa-learning=yes




NOTE:

Problem is i can access see access and trunk configuration is working perfectly.
but issue is i can’t access 192.168.200.100 (mokrotik switch IP address) from cisco network .

I can’t ping vlan1 trunk ip address of Mikrotik switch.
Please explain where i am doing wrong.



Thanks
Abbas