I'm setting up a bunch of static routes (this is a security requirement so don't ask why I'm not using routing protocols).
A static route can either be created by specifying the next hop
126.96.36.199 255.255.255.0 188.8.131.52
Or by secifying the outgoing interface
184.108.40.206 255.255.255.0 GigabitEthernet0/23
In this case Gi 0/23 has an ip of 220.127.116.11 and is directly connected to 18.104.22.168. There are multiple other static routes going out this same interface.
What is the best practice in this situation?
Edit: Based on the difference of answers I had to dig into this some more. From my experience Cisco doesn't give you two ways to do the same thing and this is what I found. Specifying an interface is not recommended if the interface has many destinations. Here are the links I found and thanks Vlad H for the accurate answer.