Community discussions

MikroTik App
 
User avatar
bigcw
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Mon Sep 08, 2014 2:38 pm

VLAN IP on CRS317

Sat Dec 02, 2017 3:19 pm

Hi

Can someone check I am not doing something silly, please. I can't get a CRS317 to respond to an IP in a bridged VLAN. Here are the relevant bits of config:

As above, it is a CRS317 running RouterOS 'rc' version to enable hardware vlan filtering. I want it to respond on 172.31.9.8 on vlan 24 but does not. However vlan 24 does get trunked through as a device downstream (on port 16) has connectivity through the switch.

Am I missing something obvious or is this a bug?

Thanks, Chris
/interface bridge
add fast-forward=no name=bridge1 protocol-mode=none vlan-filtering=yes
/interface ethernet
set [ find default-name=sfp-sfpplus1 ] name=sfpplus1
set [ find default-name=sfp-sfpplus2 ] name=sfpplus2
set [ find default-name=sfp-sfpplus3 ] name=sfpplus3
set [ find default-name=sfp-sfpplus4 ] name=sfpplus4
set [ find default-name=sfp-sfpplus5 ] name=sfpplus5
set [ find default-name=sfp-sfpplus16 ] name=sfpplus16
/interface vlan
add interface=bridge1 name=MGMT vlan-id=24
/interface bridge port
add bridge=bridge1 interface=sfpplus1
add bridge=bridge1 interface=sfpplus2
add bridge=bridge1 interface=sfpplus3
add bridge=bridge1 interface=sfpplus4 pvid=102
add bridge=bridge1 interface=sfpplus5 pvid=202
add bridge=bridge1 interface=sfpplus16
/interface bridge vlan
add bridge=bridge1 tagged=sfpplus1,sfpplus2,sfpplus16 vlan-ids=24
add bridge=bridge1 tagged=sfpplus1 untagged=sfpplus4 vlan-ids=102
add bridge=bridge1 tagged=sfpplus1 untagged=sfpplus5 vlan-ids=202
add bridge=bridge1 tagged=sfpplus1,sfpplus2,sfpplus3 vlan-ids=112
/ip address
add address=192.168.88.2/24 interface=ether1 network=192.168.88.0
add address=172.31.9.8/24 interface=MGMT network=172.31.9.0
 
User avatar
bigcw
Member Candidate
Member Candidate
Topic Author
Posts: 112
Joined: Mon Sep 08, 2014 2:38 pm

Re: VLAN IP on CRS317

Sat Dec 02, 2017 3:45 pm

Not to worry, I figured it out! :)

For anyone reading in the future, you have to add the bridge itself as a tagged interface in the VLAN.

eg:
/interface bridge vlan
add bridge=bridge1 tagged=bridge1,sfpplus1,sfpplus2,sfpplus16 vlan-ids=24
                          ^^^^^^^ here
                       
Chris
 
ste
Forum Guru
Forum Guru
Posts: 1924
Joined: Sun Feb 13, 2005 11:21 pm

Re: VLAN IP on CRS317

Fri Dec 08, 2017 3:17 pm

Not to worry, I figured it out! :)

For anyone reading in the future, you have to add the bridge itself as a tagged interface in the VLAN.

eg:
/interface bridge vlan
add bridge=bridge1 tagged=bridge1,sfpplus1,sfpplus2,sfpplus16 vlan-ids=24
                          ^^^^^^^ here
                      
Chris
Are you able to reach CRS317 from an accessport in vlan24? I can reach it from the tagged port but not from an untagged port. I see cdp packets but I cant connect with winbox/mac-ping.

Who is online

Users browsing this forum: Bing [Bot] and 75 guests