Difference between revisions of "Route (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 25: Line 25:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[/proc/net/]]route</code>
 
* <code>[[/proc/net/]]route</code>
* [[Ip]]
+
* <code>[[ip]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 06:01, 21 October 2020

route is a Linux command and Windows used to view and manipulate the IP routing table in Linux, Unix-like and Windows.


Basic Linux commands

  • Add default router: route add default gw 192.168.1.254 eth0
  • netstat -rn

Basic Windows commands

  • route delete 10.10.10.10
  • route print


Network configuration files

  • Ubuntu (systemd): networkctl
    • /lib/systemd/network, the volatile runtime network directory /run/systemd/network
    • /etc/systemd/network


Related commands: ip route [show|xxx]


PAN-OS

show routing route

Related terms

See also

Advertising: