Static routing: Difference between revisions

Content deleted Content added
Reverting edit(s) by 2001:16A2:C149:1024:FDA6:3A1A:232D:4DB0 (talk) to rev. 979638828 by 7xn: Vandalism (RW 16)
Tags: Reverted Mobile edit Mobile web edit
Line 29:
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/s1-networkscripts-static-routes.html</ref>
 
<
<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 40 ⟶ 39:
'''Router>''' enable
'''Router#''' configure terminal
'''Router(config)#''' ip route 10.10.20.0 255.255.255.0 192.168.100.1
 
Network configurations are not restricted to a single static route per destination:<ref name="ip route"/>