Skip to main content

Pro's/Con's of interface vs IP for static routes

More
18 years 4 months ago #12514 by drizzle
Static routes can be defined by interface or IP addr. What are the pros and cons of using each? I have seen examples of static routes using both techniques but is there a rule of thumb as to when to use an IP and when to use the Interface?
More
18 years 4 months ago #12518 by naughtypaul
Hi

Using the interface is more preferred over using the IP address because there could be instances were you may change the subnet / IP in a network segment. In such scenerios you can keep the routing table untouched since its the same interface connecting to the destination / route to destination.

Thanks
Paul 8)

Thanks
NaughtyPaul
More
18 years 4 months ago #12568 by drizzle
I figured that was the case. I guess it could equated to specifying nodes by hostname vs ip. Sometimes its better to use hostname and other times by the ip addr.

Thanks!
Time to create page: 0.130 seconds