Difference between revisions of "Route (command)"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Network configuration files == | == Network configuration files == | ||
− | * Ubuntu ([[systemd]]): [[networkctl]] | + | * Ubuntu ([[systemd]]): <code>[[networkctl]]</code> |
** <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> |
Revision as of 17:15, 8 December 2019
route
is a Linux command used to view and manipulate the IP routing table in Linux, Unix-like and Windows.
Basic commands
- Add default router:
route add default gw 192.168.1.254 eth0
Network configuration files
- Ubuntu (systemd):
networkctl
/lib/systemd/network
, the volatile runtime network directory/run/systemd/network
/etc/systemd/network
See also
Advertising: