How to get default route DETAILS without creating one?

How do I get the DETAILS of a default route without actually CREATING a default route?

I am using a Mikrotik (v6.4) to create an ovpn-client to a VPN service.

This all works fine, and if I set “create default route=yes” I get a route to the gateway safely created, for example 64.240.245.129.

However, I DON’T wish to create a default route, and I want to do it manually – so as to set a routing mark on it.

When the OpenVPN client comes up, it creates a dynamic IP address with address=64.240.245.250/25 and network=64.240.245.128.

Should I just “add one” to the network address to get the gateway 64.240.245.129? Is that the correct thing to do (it seems to work)?

My only other option seems to be to create the default route with a very large “distance” so it’s never used, then copy it to a new route, both adding the required routing mark and reducing the distance, and then finally delete the dynamically created route that came with the connection. This seems clumsy.

You can not just add 1 to the network.
For your situation this is the case but it can be different in other cases.
Since your network is a /25 network and the network itself ends with 128 it means that the usable IP’s are between 129 and 254.
In theory the gateway can be anything of that.
I would just let the ovpn-client create a default rule, write down the IP address of the default gateway, and again disable the add-default-route option and create it myself.
The the needed routing marks can be applied.
Another possibility is to acquire the default gateway form the one who is maintaining the ovpn-server. They can tell you what the IP address of your gateway should be.

Does the default getaway IP of your vpn connection changes dynamically? If not, you are safe to add it manually. But if it is changing then you should use the vpn interface as gateway. For example:

/ip route
add dst-address=0.0.0.0/0 gateway=vpn1 routing-mark=whatever