This one has been driving me crazy for the last little bit. I have some CCR1036 and CCR1072 routers that I want to upgrade to a CCR2216-1G-12XS-2XQ. The current configs on the CCR1036 and 1072 use a mixture of S-Tags and C-Tags without any prblems. If I take the same configs and move them to the CCR2216 (changing port names of course) everything works just fine EXCEPT I cant get OSPF to come up on the S-Tags (or any C-Tags behind the S-Tag).
If I untag the S-Tag on the port connected to the CCR2216 and make the proper adjustments to the interfaces and address then OSPF comes up just fine. If I use C-Tags instead of S-Tags once again everything comes up fine.
I thought this might have been related to hardware offloading but the problem occurs when offloading is enabled or not. I have also tried a mixture of routeros versions form 7.6 through 7.12rc1
Does anyone have any thoughts on this?
In this example below, I am using a direct attach cable to connect the two routers together with a basic OSPF PTP setup on the main port, an S-Tag, and S-Tag with a C-Tag under it, and a C-Tag
CCR2216-1g-12xs-2xq export
/interface bridge
add name=loopback
/interface vlan
add interface=sfp28-1 name=vlan10-stag use-service-tag=yes vlan-id=10
add interface=vlan10-stag name=vlan11-stag-ctag vlan-id=11
add interface=sfp28-1 name=vlan12-ctag vlan-id=12
/routing ospf instance
add disabled=no name=ospf-instance-1 router-id=10.10.10.11
/routing ospf area
add disabled=no instance=ospf-instance-1 name=ospf-area-1
/ip address
add address=10.10.10.11 interface=loopback network=10.10.10.11
add address=10.0.0.2 interface=sfp28-1 network=10.0.0.1
add address=10.0.1.2 interface=vlan10-stag network=10.0.1.1
add address=10.0.2.2 interface=vlan11-stag-ctag network=10.0.2.1
add address=10.0.3.2 interface=vlan12-ctag network=10.0.3.1
/routing ospf interface-template
add area=ospf-area-1 disabled=no interfaces=loopback passive
add area=ospf-area-1 cost=10 disabled=no interfaces=sfp28-1 networks=10.0.0.1/32 type=ptp
add area=ospf-area-1 cost=20 disabled=no interfaces=vlan10-stag networks=10.0.1.1/32 type=ptp
add area=ospf-area-1 cost=30 disabled=no interfaces=vlan11-stag-ctag networks=10.0.2.1/32 type=ptp
add area=ospf-area-1 cost=49 disabled=no interfaces=vlan12-ctag networks=10.0.3.1/32 type=ptp
/system logging
add topics=ospf
CCR2004-16G-2S+ export
/interface bridge
add name=loopback
/interface vlan
add interface=sfp-sfpplus1 name=vlan10-stag use-service-tag=yes vlan-id=10
add interface=vlan10-stag name=vlan11-stag-ctag vlan-id=11
add interface=sfp-sfpplus1 name=vlan12-ctag vlan-id=12
/routing ospf instance
add disabled=no name=ospf-instance-1 router-id=10.10.10.10
/routing ospf area
add disabled=no instance=ospf-instance-1 name=ospf-area-1
/ip address
add address=10.0.0.1 interface=sfp-sfpplus1 network=10.0.0.2
add address=10.0.1.1 interface=vlan10-stag network=10.0.1.2
add address=10.0.2.1 interface=vlan11-stag-ctag network=10.0.2.2
add address=10.0.3.1 interface=vlan12-ctag network=10.0.3.2
add address=10.10.10.10 interface=loopback network=10.10.10.10
/routing ospf interface-template
add area=ospf-area-1 disabled=no interfaces=loopback passive
add area=ospf-area-1 cost=10 disabled=no interfaces=sfp-sfpplus1 networks=10.0.0.2/32 type=ptp
add area=ospf-area-1 cost=20 disabled=no interfaces=vlan10-stag networks=10.0.1.2/32 type=ptp
add area=ospf-area-1 cost=30 disabled=no interfaces=vlan11-stag-ctag networks=10.0.2.2/32 type=ptp
add area=ospf-area-1 cost=40 disabled=no interfaces=vlan12-ctag networks=10.0.3.2/32 type=ptp
/system logging
add topics=ospf
2216 neighbors
Flags: V - virtual; D - dynamic
0 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.0.1 router-id=10.10.10.10 state="Full" state-changes=5 adjacency=6m10s timeout=31s
1 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.3.1 router-id=10.10.10.10 state="Full" state-changes=4 adjacency=6m10s timeout=31s
2004 neighbors
Flags: V - virtual; D - dynamic
0 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.2.2 router-id=10.10.10.11 state="Init" state-changes=1 timeout=39s
1 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.1.2 router-id=10.10.10.11 state="Init" state-changes=1 timeout=39s
2 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.0.2 router-id=10.10.10.11 state="Full" state-changes=5 adjacency=7m12s timeout=39s
3 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.3.2 router-id=10.10.10.11 state="Full" state-changes=5 adjacency=7m12s timeout=39s
Where this gets really interesting is if I take the config from the 2216 and put it on another 2004 or a 1009 (changing just the interface name) then all neighbors come up:
0 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.1.1 router-id=10.10.10.10 state="Full" state-changes=5 adjacency=23s timeout=38s
1 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.0.1 router-id=10.10.10.10 state="Full" state-changes=6 adjacency=23s timeout=38s
2 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.2.1 router-id=10.10.10.10 state="Full" state-changes=5 adjacency=23s timeout=38s
3 D instance=ospf-instance-1 area=ospf-area-1 address=10.0.3.1 router-id=10.10.10.10 state="Full" state-changes=5 adjacency=23s timeout=38s
if I take the 2004 config and put it on the 1009 and connect the 1009 to the 2216, OSPF only comes up for the main interface and the C-tag on that interface.
I have not had any luck with mikrotik support who has so far been unable to re-product this. Here, I have been able to reproduce this with three different CCR2216 routers.
If anyone has a CCR2216 and is willing to try and reproduce this I would be forever grateful. I have included exports (based on ones Mikrotik sent saying it was working, though the interface names did not match either the defaults for a CCR2004 or a CCR2216). From what I am tell, multicast traffic under an S-Tag makes it physically to the 2216’s port but gets dropped between the port and routeros.
The CCR2004 and CCR2216 are connected together via direct attach cable, sfp28-1 to sfp-sfpplus1. I also included three packet captures, one from the CCR2216’s sfp28-1 port, one from the CCR2004 sfp-sfpplus1 port, and a third when I put a CRS305 inline.
On the packet capture from the 2216, you can see the OSPF hello messages originating from the 2216 but none from the 2004.
On the packet capture from the 2004 AND the CRS305, you can see the OSPF hello messages originating from both the 2216 and the 2004.
I cant be the only person having this problem, especially over three different CCR2216 routers purchased at different times.
2216-sfp28-1_pcap.txt (19.4 KB)
both_pcap.txt (18.2 KB)
2004-sfpplus1_pcap.txt (22.8 KB)
2216-2204-exports.txt (2.23 KB)
I have the same problem. If the ospf is on Stag vlan the session doesn’t come’s up.
Did you find the solution?