The old way and new way to add a route to linux

From

route add 1.2.3.4 gw 5.6.7.8

To

ip route add 1.2.3.4 via 5.6.7.8