More details on routing bug about v7.8:
As I mentioned here:
http://forum.mikrotik.com/t/vxlan-nat-problem/166047/13
There was a problem with routing when:
the gateway of a routing table is set to IP of VXLAN interface of opposite tunneled router
The problem shows itself when the traffic ignores the gateway route of table traffic routed to
Now I suggest that this bug happens whenever I use IP instead of interface in any routing table on gateway (0.0.0.0/0) even on other protocols such as IPIPv6 and GREv6.
The bug is confirmed on these protocols by me but I think it’s more generic and has something to do with using IP as default route.
So it’s a routing table bug around using IP instead of interface on default route and not a protocol specified bug.
No problem with routes, other than 0.0.0.0/0
The bug occures whenever IP of opposite router interface destined as default gateway instead of interface with the address itself.
To simulate the problem:
- Make a tunnel based on VXLAN or IPIPv6 or GREv6 between two routers.
- Assign an IP address to tunnel interfaces on each side and test the ping of other side IP.
- Add a NAT rule on router2 with internet interface as outgoing interface if you want to test with internet hosts.
- Make a table on router1 with gateway (0.0.0.0/0) of opposite router tunnel interface IP.
- Mangle some clients and mark it with built routing table.
- Set proper NAT rule for the outgoing interface of tunnel on router1 or make the returning route on the opposite router.
- Test it on clients you have mangled. Try to ping the router2 IP of tunnel interface. Timeout happens. Try to ping an internet host and you get the same result.
- To confirm the bug more obviously, edit the built table 0.0.0.0/0 route to a smaller route like 0.0.0.0/1 or even a /32 route.
- Now test that destined subnet route or/32 destination from the same clients and it will be accessible. And even more strange, now you can ping router2 tunneling interface IP from clients!
- Additionally you can edit the same route and assign appropriate interface as gateway instead of IP (if possible in tested protocol), and even 0.0.0.0/0 will work.
Is it a proper topic to report this important bug or should I send email to support?