How to add route in Linux in best way

How to add route in Linux.| Sometimes we need to add IP using route add command in Linux server. This has very important to access the server from client machine. Without proper route entry user unable to access the server.

Table of Contents

How to check existing route entry in Linux?.

We can check the existing route entry.

add route in Linux
add route in Linux

Adding route in Linux:-

Here we will know how to add route in Linux routing table:-

route add -net gw netmask dev eth1

add route in Linux

If you want to delete route in Linux, click here.

Leave a Comment