strange syntax error while creating 6to4 tunnel

Hello,

today i started creating a 6to4 bgp tunnel to tunnelbroker (Hurricane Electric) following the guide of tunnelbroker and the mikrotik wiki (http://wiki.mikrotik.com/wiki/Setting_up_an_IPv6_tunnel_via_6to4). While trying to setup the tunnel with the command

/interface 6to4 add mtu=1280 name=he-tunnel-1 local-address=*.*.*.* remote-address=*.*.*.* disabled=no

(real ips replaced with ...)

the RouterOS told me that there are syntax errors, it doesn’t like the “=” between local-address (remote-address) and the IP-address. Is that a issue in the firmware or is the wiki outdated? Is there any solution to fix the problem?

Current firmware: 3.1.9
Upgrade firmware: 3.1.8 (??)
Model: RB2011UiAS-RM

Regards
Thomas

Which RouterOS version (not board firmware) you have? AFAIK the syntax is correct and should work with all of them. I just tried:

/interface 6to4 add mtu=1280 name=he-tunnel-1 local-address=1.2.3.4 remote-address=2.3.4.5 disabled=no

with 6.19 and recent 6.28rc and there’s no problem. But beware versions 6.20 and few more after that, because there was 6to4 mayhem which broke almost everything. It’s fixed in later versions, at least for your scenario with tunnelbroker.

While it’s most probably a RouterOS bug that’s already fixed, I think a workaround even in the buggy version would be to surround the name with quotes, e.g.

/interface 6to4 add mtu=1280 name="he-tunnel-1" local-address=1.2.3.4 remote-address=2.3.4.5 disabled=no

as I’m thinking maybe that RouterOS version interprets the “-1” as part of an arithmetic expression… It shouldn’t though (that’s why this is a bug non the less).