Operating System - Tru64 Unix
1830161 Members
2745 Online
109999 Solutions
New Discussion

default gateway usage

 
Neil Hoare
New Member

default gateway usage

I have a default gateway defined in my routing tables, however it appears not to be used. If I try to contact a remote address not elsewhere defined in the routing table, then this is unsuccessful - howver if i "force" a route to the remote address, via the default gateway, then this works OK. So is it possible to "turn off" the route to default, even though it is still in the routing table?
Any ideas?
v4.0F pk7

Cheers

Neil


5 REPLIES 5
rachel_11
Advisor

Re: default gateway usage

Hello Neil,

It might be a result of icmp redirect.

How is your
netstat -rn

If you have dynamic routes and you want to prevent them, you can change the value of
icmp_rejectcodemask

Regards,
Rachel
Caesar_3
Esteemed Contributor

Re: default gateway usage

Hello!

Try "route delete "
The parameter is from the netstat -rn

Caesar
Ralf Puchner
Honored Contributor

Re: default gateway usage

First check your /etc/routes file. Is the gateway accessable? If there is no default entry in the file the route was pronounced by an icmp redirect. If you start a routing daemon like routed or gated it will purge invalid routes after a short period of time.
Help() { FirstReadManual(urgently); Go_to_it;; }
Ralf Puchner
Honored Contributor

Re: default gateway usage

PS: use traceroute to check the path to destination. Please give us the output of netstat -rn, the destination and the source adress of the machine for investigation.
Help() { FirstReadManual(urgently); Go_to_it;; }
Neil Hoare
New Member

Re: default gateway usage

Thanks for the replies, I wish I'd got the netstat output earlier, as the machine has been re-booted and the problem cleared - which is no good for me if it re-occurs.

It's best to close this thread due to lack of evidence.

Cheers

Neil