Content deleted Content added
mNo edit summary |
Citation bot (talk | contribs) Add: title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_bare_links | #UCB_webform_linked 1257/2179 |
||
Line 1:
'''Static routing''' is a form of [[routing]] that occurs when a router uses a manually-configured routing entry, rather than information from dynamic routing traffic.<ref>[http://www.redbooks.ibm.com/redbooks/pdfs/gg243376.pdf TCP/IP Tutorial and Technical Overview (IBM RedBooks Series)]</ref> In many cases, static routes are manually configured by a [[network administrator]] by adding in entries into a [[routing table]], though this may not always be the case.<ref name=SLA>{{Cite web|url=http://www.cisco.com/c/en/us/td/docs/ios/dial/configuration/guide/12_2sr/dia_12_2sr_book/dia_rel_stc_rtg_bckup.html|title = Cisco IOS Dial Technologies Configuration Guide, Release 12.2SR - Reliable Static Routing Backup Using Object Tracking [Cisco IOS Software Releases 12.2 SR]}}</ref> Unlike [[dynamic routing]], static routes are fixed and do not change if the network is changed or reconfigured. Static routing and [[dynamic routing]] are not mutually exclusive. Both dynamic routing and static routing are usually used on a router to maximise routing efficiency and to provide backups in case dynamic routing information fails to be exchanged. Static routing can also be used in [[stub network]]s, or to provide a [[default route|gateway of last resort]].
== Uses ==
Line 27:
=== Linux ===
In most Linux distributions, a static route can be added using the [[iproute2]] command. The following is typed at a terminal:-<ref name=Linux>{{Cite web|url=https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-networkscripts-static-routes.html|title = 16.4. Static Routes and the Default Gateway Red Hat Enterprise Linux 5}}</ref>
<syntaxhighlight lang="console">root@router:~# ip route add 10.10.20.0 via 192.168.100.1</syntaxhighlight>
|