How To Install Route?

How To Install Route?

route

Use route cmd to set the route table .

Maintainer: net-tools Team



Section: net

Install route

  • Debian apt-get install net-tools Click to copy
  • Ubuntu apt-get install net-tools Click to copy
  • Alpine OS apk add net-tools Click to copy
  • Arch Linux pacman -S net-tools Click to copy
  • Kali Linux apt-get install net-tools Click to copy
  • CentOS yum install net-tools Click to copy
  • Fedora dnf install net-tools Click to copy
  • Raspbian apt-get install net-tools Click to copy

Use route cmd to set the route table .

How to use route?

Below are few example commands for route that you can use in the terminal.

Display the information of route table:
route -nClick to copy
Add route rule:
sudo route add -net ip_address netmask netmask_address gw gw_addressClick to copy
Delete route rule:
sudo route del -net ip_address netmask netmask_address dev gw_addressClick to copy
Installing route command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of route 2026 package in your OS.