Using v4.11 on a small and, so far, rather simple network (2 RB1100s and 3 RB450Gs) we enabled OSPF with MD5 authentication. Everything seemed to operate normally for 4+ weeks. Yesterday, we started getting MD5 authentication errors on one of the links. The error was "wrong authentication type." Nothing seemed to correct the problem so we disabled MD5 authentication on both ends of that link.
Today we started getting errors on a second link. These errors are "invalid sequence number" - with sequence numbers that are offset by one. Rather than debug this one, we have disabled MD5 on this link as well.
Searching messages on the forum I notice two places where people raised MD5 questions and the first response asked whether the routers clocks were synchronized. Ours are not, but searching the web I can find no explanation of why MD5 authentication might require that the router clocks be synchronized.
1. Do router clocks have to by synchronized for MD5 authentication to work?
2. If so, why?
While investigating these problems we also tried exporting the configuration of one of the operational RB 450Gs and loading it onto another 450G in the lab. On our production network we had used 32 ASCII character MD5 authentication keys that we entered through Winbox. When we tried to enter this 32 character key onto the lab router via a script, we got a script error "Value of authentication key should not be longer than 16." I can't find this limitation in the MikroTik documentation.
3. What are the restrictions on MD5 authentication keys?
4. Is there anything else we might be doing wrong?
Thanks for any help here,
Brough
PS: Here's a diagram of our initial network.