1830498 Members
2358 Online
110006 Solutions
New Discussion

route table

 
SOLVED
Go to solution
Sylvie Vezina
Occasional Advisor

route table

Hi, server k410 Unix 10.20 - Since three weeks, we improve problem with route table on this server. For now, problem seems happen when we have WAN problem (viruses, traffic...)we are not able to connect on the other server and it's same for them. To correct problem I make "added route ipadress" and it's ok after that. But, what can you suggest to correct this problem permanently?

Thanks in advance
The best day is today
6 REPLIES 6
Dani Seely
Valued Contributor

Re: route table

Check to see if you have the /etc/defaultrouter configured and if it is configured correctly.
Together We Stand!
Sylvie Vezina
Occasional Advisor

Re: route table

I don't have this file...What can I suppose to find on it? can you give me an example?
The best day is today
Sylvie Vezina
Occasional Advisor

Re: route table

I think that I found my problem, server has lost his default gateway.....is it possible and why?
The best day is today
Tapas Jha
Valued Contributor
Solution

Re: route table

Sylvie,

Have you made the routed entry for defalut gateway permenent?

Try to check what is the default gateway by using netstat -rn. Check whether it's flag is UG or not and on which interface.

Also check /etc/rc.config.d/netconf files whether ROUTE_DESTINATION[],ROUTE_GATEWAY[]..
.. are properly there or not? If not modify it and either restart the server or type
/sbin/init.d/net start .

Also check for any script which may cause your routing table entry delet during shutdown.

Rgds
Tapas
Tapas Jha
Sunil Sharma_1
Honored Contributor

Re: route table

Hi,

You can have only one default gateway in your server and it is defined in /etc/rc.config.d/netconf file.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Bharat Katkar
Honored Contributor

Re: route table

Hi Sylvie,

Check for this
#netstat -rn

Does it show something like this :

default UG 0 lan0 0

Here UG string is important that indicate your link to default gateway is UP and working fine. If not then you have a problem, you need to verify /etc/rc.config.d/netconf file.

ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="IP Address"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

Hope this is what your problem is!!!
all the best.
You need to know a lot to actually know how little you know