Content deleted Content added
Tags: Reverted Mobile edit Mobile web edit |
Reverting edit(s) by 2001:16A2:C149:1024:FDA6:3A1A:232D:4DB0 (talk) to rev. 1002740304 by Belwine: Unexplained content removal (RW 16) |
||
Line 24:
== Example ==
To route IP traffic destined for the network ''
=== 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>https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/
<syntaxhighlight lang="console">root@router:~# ip route add 10.10.20.0 via 192.168.100.1</syntaxhighlight>
=== Cisco ===
Enterprise-level [[Cisco Systems|Cisco routers]] are configurable using the Cisco IOS command line, rather than a web management interface.
Line 39 ⟶ 40:
'''Router>''' enable
'''Router#''' configure terminal
'''Router(config)#''' ip route 10.10.20.0 255.255.255.0 192.168.
Network configurations are not restricted to a single static route per destination:<ref name="ip route"/>
Line 45 ⟶ 46:
'''Router>''' enable
'''Router#''' configure terminal
'''Router(config)#''' ip route 197.164.73.0 255.255.255.0
'''Router(config)#''' ip route 197.164.74.0 255.255.255.0 197.164.72.2
|