Community discussions

MikroTik App
 
xmerlin
just joined
Topic Author
Posts: 3
Joined: Sat Apr 14, 2012 2:59 am

CRS125-24G-1S-RM vlan trunking problem

Mon Nov 16, 2015 4:07 am

Hi to all,
I've configured a CRS125-24G-1S-RM with a trunk and some vlans but I cannot figure how to assign an IP the the default VLAN (0)

here is my configuration

/interface ethernet
set [ find default-name=ether3 ] master-port=ether2
set [ find default-name=ether4 ] master-port=ether2
set [ find default-name=ether5 ] master-port=ether2
set [ find default-name=ether6 ] master-port=ether2
set [ find default-name=ether7 ] master-port=ether2
set [ find default-name=ether8 ] master-port=ether2
set [ find default-name=ether9 ] master-port=ether2
set [ find default-name=ether10 ] master-port=ether2
set [ find default-name=ether11 ] master-port=ether2
set [ find default-name=ether12 ] master-port=ether2
set [ find default-name=ether13 ] master-port=ether2
set [ find default-name=ether14 ] master-port=ether2
set [ find default-name=ether15 ] master-port=ether2
set [ find default-name=ether16 ] master-port=ether2
set [ find default-name=ether17 ] master-port=ether2
set [ find default-name=ether18 ] master-port=ether2
set [ find default-name=ether19 ] master-port=ether2
set [ find default-name=ether20 ] master-port=ether2
set [ find default-name=ether21 ] master-port=ether2
set [ find default-name=ether22 ] master-port=ether2
set [ find default-name=ether23 ] master-port=ether2
set [ find default-name=ether24 ] master-port=ether2
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=\
    ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21,ether22,ether23,ether24 \
    forward-unknown-vlan=no
/interface ethernet switch trunk
add member-ports=ether23,ether24 name=trunk1
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface ethernet switch egress-vlan-tag
add tagged-ports=trunk1 vlan-id=1001
add tagged-ports=trunk1 vlan-id=1003
add tagged-ports=trunk1 vlan-id=3999
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=1001 ports=ether2 sa-learning=yes
add customer-vid=0 new-customer-vid=1001 ports=ether3 sa-learning=yes
add customer-vid=0 new-customer-vid=1001 ports=ether4 sa-learning=yes
add customer-vid=0 new-customer-vid=1001 ports=ether5 sa-learning=yes
add customer-vid=0 new-customer-vid=1001 ports=ether6 sa-learning=yes
add customer-vid=0 new-customer-vid=1001 ports=ether7 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether8 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether9 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether10 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether11 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether12 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether13 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether14 sa-learning=yes
add customer-vid=0 new-customer-vid=1003 ports=ether15 sa-learning=yes
/interface ethernet switch vlan
add ports=trunk1,ether2,ether3,ether4,ether5,ether6,ether7 vlan-id=1001
add ports=trunk1,ether8,ether9,ether10,ether11,ether12,ether13,ether14,ether15 vlan-id=1003
add ports=trunk1 vlan-id=3999
How can I add an ip to vlan 0 sitting on trunk1?

Thank you
 
becs
MikroTik Support
MikroTik Support
Posts: 499
Joined: Thu Jul 07, 2011 8:26 am

Re: CRS125-24G-1S-RM vlan trunking problem

Mon Nov 16, 2015 11:18 am

IP addresses work only on master-port when CRS has a switching configuration. (in your case ether2)
Also you need to allow VLAN0 between trunk1 and switch1-cpu in the VLAN table to make connection.
/ip address
add address=192.168.88.1/24 interface=ether2 network=192.168.88.0
/interface ethernet switch vlan
add ports=trunk1,switch1-cpu vlan-id=0

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], dzo, JesusMarino, RBrogen and 152 guests