Static routing: Difference between revisions

Content deleted Content added
Reverting edit(s) by 2001:16A2:C149:1024:FDA6:3A1A:232D:4DB0 (talk) to rev. 1002740304 by Belwine: Unexplained content removal (RW 16)
Linux: اصلاح
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 h
<syntaxhighlight lang="console">root@router:~# ip route add 10.10.20.0 via 192.168.100.1</syntaxhighlight>
 
=== Cisco ===