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.
How to check existing route entry in Linux?.
We can check the existing route entry.
How to add route in Linux:-
Here we will know how to add route in Linux routing table:-
route add -net 192.168.10.0 gw 192.168.11.1 netmask 255.255.255.0 dev eth1
If you want to delete route in Linux, click here.