When I add a route using nmcli, the route as reported by ip route show is incorrect:
nmcli connection modify eth2 +ipv4.routes "10.0.6.1/32 10.1.7.1"
10.0.6.1 dev eth2 proto static src 10.1.7.1
This route does not work.
However if I use ip route add the ip route show is correct and the route works:
ip route add 10.0.6.1/32 dev eth2 src 10.1.7.1
10.0.6.1 dev eth2 scope link src 10.1.7.1
I can't seem to find the correct way to add the route using nmcli and have it show up correctly. Any ideas, or is there something I'm missing?