summary: routing problem

From: Dr. Martin Körfer (koerfer@mpch-mainz.mpg.de)
Date: Fri Aug 08 2003 - 04:28:44 EDT


Hi managers,

Thanks for all replies, espacially from Phil Baldwin, Michael Polnick, Fred van
Kempen, Chris Medaglia, Michael Deacy, Oisin McGuinness, Danielle Georgette that
all pointed out, that this dynamical routing behaviour has its origin in "ICMP
redirects".

A method to ignore this was proposed by using the dbx-tool.

Representative for a lot of proposals, I attach the one of Phil Baldwin:

Modifying the /etc/inet.local in the proposed way and restarting
/sbin/init.d/inet was successfull, but deleted also the default-route-entry.
After restarting the network the default-route-entry was retained and the
routing table looked fine.

One error massage appeared, after I restarted "inet":

---
# /sbin/init.d/inet start
Configuring network
hostname: dionysos.mpch-mainz.mpg.de
dbx version 5.1
Type 'help' for help.
stopped at  [thread_block:3208 ,0xfffffc00002e5f1c]      Source not available
0
32
32
----
However it seems to run 
Thanks again
Martin
-------------------------------------------------------------------------------
Hi Martin
thsi may do the job (it stops ICMP redirects - type M in netstat):
/usr/bin/dbx -k /vmunix
p icmp_rejectcodemask
a icmp_rejectcodemask=0x20
p icmp_rejectcodemask
you can run this from root for a running system.
you can also put
### This bit disables icmp redirects (that's the plan)
### Added under advice from Compaq
/usr/bin/dbx -k /vmunix << THE_END 2>/dev/null
p icmp_rejectcodemask
a icmp_rejectcodemask=0x20
p icmp_rejectcodemask
THE_END
into the start script for inet (/sbin/init.d/inet)
you can also try setting pmtu_enabled = 0 in the inet stanza in the
sysconfigtab ( this should take care of P entries in netstat) - this will
need a reboot....
hope this helps
regards
Phil.
-- 
Dr. Martin Körfer
MPI f. Chemie
EDV
J.J.Becherweg 27
D-55128 Mainz
Tel. 49-6131-305488
Fax: 49-6131-305318
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:30 EDT