Content deleted Content added
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation) |
m unpiped links using script |
||
Line 1:
{{Short description|Use of fixed routes for routing in networks}}
'''Static routing''' describes a process by which [[routing]] is configured with fixed values
== Uses ==
Line 8 ⟶ 9:
* Static routing has applications in environments with many routes with infrequent changes as it reduces the delay it would take to synchronize the routes from another device.
* On heavily resource constrained devices where routing protocols may not be viable due to lack of computation power, static routes may be used instead.
* Static routes, connected routes, and routes from dynamic configuration protocols can be redistributed by dynamic routing protocols. For instance, a router may have a static or connected route for a local network segment, which is then redistributed over dynamic routing protocols to enable connectivity to that network.<ref>{{Cite web |title=Route Filtering and Redistribution {{!}} Cumulus Linux 5.11 |url=https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-511/Layer-3/Routing/Route-Filtering-and-Redistribution/#route-redistribution |access-date=2024-12-18 |website=docs.nvidia.com}}</ref>
* By using the [[Metrics (networking)|metric]] to reduce the priority of a static route a fallback can be provided for instance when a DHCP server becomes unavailable. This can also prevent a type of lockout situation in which one would be unable to access the device otherwise.
Line 14 ⟶ 15:
Static routing has the following advantages:
* Due to being configured on the device it can serve as a bootstrap for other protocols.<ref>{{Cite web |title=Inter-Router Communication > BGP Fundamentals {{!}} Cisco Press |url=https://www.ciscopress.com/articles/article.asp?p=2756480&seqNum=2 |access-date=2024-12-18 |website=www.ciscopress.com}}</ref>
* It does not require connectivity to work, providing high fault
* Compared to dynamic routing protocols, static routes are much more widely available, for instance, many low-end consumer switches are capable of setting static routes.{{cn|date=December 2024}}
* As static routes are not read from the network, there are also fewer security considerations. Dynamic routing protocols may need to be secured such that an attacker cannot redirect traffic from the outside.<ref>{{Cite web |title=IP Routing Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9500 Switches) - Configuring OSPFv3 Authentication Support with IPsec |url=https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9500/software/release/17-16/configuration_guide/rtng/b_1716_rtng_9500_cg/configuring_ospfv3_authentication_support_with_ipsec.html |access-date=2024-12-18 |website=Cisco |language=en}}</ref>
Line 22 ⟶ 23:
* '''Human error:''' As the routes have to be manually configured this may be a source of human error in the absence of automated configuration management.
* '''Administrative overhead:''' Similarly the routes have to be provided to the devices. This can be remedied by configuration management, but also using simpler means of using a [[template engine]] to generate configuration using repetition or [[IP address management]] software.
* '''Fault tolerance:''' While static routes not being removed during a network failure can be good in that routes continue to function, however, most implementations continue to use a static route as long as the interface the gateway is on is in an ''up'' state. When [[Failure of electronic components|network hardware fails]] it is not necessary ''down''; a [[Hang (computing)|hang]] may cause interfaces to keep running but not
* '''Observability:''' Static routes themselves do not propagate, which means that in a network built using only static routes it is hard to get a big picture of all present routes unless [[Event monitoring|monitored]]. Dynamic routing protocols often transmit topology information or can be connected to debugging tools such as a [[Looking Glass server]].
Line 38 ⟶ 39:
=== Cisco ===
[[
<syntaxhighlight lang="console">
|