why is nexthop ip print reversed with the ping command?

Solution 1:

This seems to be a bug in iputils with Ubuntu.

https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1892108