Difference between revisions of "Route (command)"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
** <code>/lib/systemd/network</code>, the volatile runtime network directory <code>/run/systemd/network</code>
 
** <code>/lib/systemd/network</code>, the volatile runtime network directory <code>/run/systemd/network</code>
 
** <code>/etc/systemd/network</code>
 
** <code>/etc/systemd/network</code>
 +
 +
 +
Related commands: <code>[[ip route]] [show|xxx]</code>
  
 
== See also ==
 
== See also ==

Revision as of 07:07, 30 December 2019

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

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]

See also

Advertising: