There is no difference as far as, route preference over a static-route pointing to a “physical interface name” compare to nexthop ip-address.
Advantage is IP address on physical address could change administratively but it does not require to change the given static route pointing to that physical interface-name (i.e local interface name), as a “static route” always point to a physical interface name, which never change.
in DSL setup you always point (i.e. static-route), to your local dialer interface as you would never know, what is your next hop ip address.
From routing perspective - there is no difference.
But please consider following:
If you use next-hop ip address - your router will have mac address of next hop in it's table. So after finding the next hop for a packet it will be switched towards next router using MAC address from the table.
When you use an outgoing interface in your static route - for all unknown destination ip addresses router will send ARP request which may cause big impact on a router cpu and bandwidth.
The one thing I've noticed regarding a difference from a routing perspective is with NX-OS routing behavior. Being this is in the WAN discussion - so may not be relevant - but it is something I have been burned by so hopefully this will help someone else!
When defining static routes in IOS with a next-hop address, and the L3 interface directly connected to that next-hop goes down - the static route is removed from the routing table.
If you define a static route in NX-OS with next-hop address, and the L3 interface directly connected to the static route goes down - the static route dynamically defines itself to the next most specific match - e.g. the default route. This very well may not be the preferred outcome. If you want it to behave like IOS and remove the static route from the routing table, you need to specify both the physical interface and the next-hop address.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...