Community discussions

MikroTik App
 
VagnerBecker
just joined
Topic Author
Posts: 18
Joined: Wed Mar 13, 2013 3:49 pm
Location: Brasil

CRS second vlan not work

Thu Nov 27, 2014 6:27 pm

hey guys,

I'm trying to raise two VLANs by CRS125 without success, or rather one works (id = 230) but the second does not. The configuration is as follows. IN port 17 enters the link with the two VLANs (230 and 240) on port 23 out of the vlan id = 230 untagged and on port 24 (should) vlan = 240 untagged

/interface ethernet
set [ find default-name=ether17 ]
set [ find default-name=ether23 ] master-port=ether17
set [ find default-name=ether24 ] master-port=ether17

/interface ethernet switch egress-vlan-tag
add tagged-ports=ether17 vlan-id=230
add tagged-ports=ether17 vlan-id=240

/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=230 ports=ether23 sa-learning=yes
add customer-vid=0 new-customer-vid=240 ports=ether24 sa-learning=yes

/interface ethernet switch vlan
add ports=ether17,ether23 vlan-id=230
add ports=ether17,ether24 vlan-id=240

I'm forgetting something?

Regards,

Vagner Felipe Becker
 
VagnerBecker
just joined
Topic Author
Posts: 18
Joined: Wed Mar 13, 2013 3:49 pm
Location: Brasil

Re: CRS second vlan not work

Sun Nov 30, 2014 5:44 am

50 hits and no one knows ?! I'm intrigued than any other mk product works normally, a simple vlan causing so much headache. I am seriously considering returning the product and put a cisco in place.
 
tirkitneth
newbie
Posts: 31
Joined: Wed Nov 06, 2013 9:17 pm

Re: CRS second vlan not work

Fri Dec 12, 2014 6:39 pm

If you use wireshark to see what packets look like on ether23, you should see packets tagged with vlan id 230. On ether24 you should see packets with vlan id 240.

You want to change the vlan id of packets going out of ether23 and ether24 so you need to add egress-vlan-translation rules.
/interface ethernet switch egress-vlan-translation
add customer-vid=230 new-customer-vid=0 ports=ether23
add customer-vid=240 new-customer-vid=0 ports=ether24

Who is online

Users browsing this forum: BartoszP, jaclaz, jbordeau and 34 guests