1753318 Members
6344 Online
108792 Solutions
New Discussion юеВ

IP ROUTE

 
zsujith
Frequent Advisor

IP ROUTE

Hi,

Could you tell me how to find out which IP route should not be there in netconf file.

Thanks
Sujith
"The most wasted day is that in which we have not laughed."
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: IP ROUTE

This is probably the wrong forum for your question.
What OS version are you using?
Sani
Frequent Advisor

Re: IP ROUTE


Hi ,

Use " netstat -nr " to get Routing tables from your hpux server.


In netconf file ,check for the entries starting with "ROUTE_"


Sani
Ganesan R
Honored Contributor

Re: IP ROUTE

Hi Sujith,

How do we know which routes are not required for you? You can keep the necessary routes and remove the unwanted routes as simple as that.

To know the currently defined routes.

#netstat -nr

To remove a route:
#route delete net 192.168.4.0 192.168.2.1 (here 192.168.4.0 is network and 192.168.2.1 is the gateway)

To delete default route:
#route delete default

To delete all the routes:
# route -f -> Will delete the entire routing table. Be cautious with this command

Best wishes,

Ganesh.