Route command is used to show/manipulate the IP routing table. It is primarily used to setup static routes to specific host or networks via an interface.
Let’s start with some very basic…
1. Running route at the command line without any options will display the routing table entries:
2. Learn to add and remove routes from your routing table:
eth0 : Exit interface
gw : GateWay