tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Routing Problem
@ 1997-11-17  9:42 Maurer Felix, IP5
  0 siblings, 0 replies; 3+ messages in thread
From: Maurer Felix, IP5 @ 1997-11-17  9:42 UTC (permalink / raw)
  To: tru64-unix-managers

Thank you to all of you who sended me replies. This has helped me a lot.

My problem was:

Sometimes under some unknowned circonstancies, our firewall system was
overtaking the routing task, instead of leaving this job to the default
router.

The answer is:

I was first confused with static routing setup. Even if static routing
ist used, the routes can be dynamicaly learned over the time.

But the real problem is due to our firewall system, which is trying to
do the routing for specifics internals nodes when the network is shortly
interrupted. We are now investigating on the firewall setup.

In the mean time I were able to force the route over the default router,
using the command arp -s default_router_ip_addr  mac_adress.
_________________________________________________

Felix Maurer                    
Die POST                        Tel: +41-31 338 98 49
Informatik POST               Fax: +41-31 338 98 80
Messaging Management
Engehaldenstrasse 37        mailto:maurerf@post.ch
CH- 3030 Bern                  http://www.post.ch
_________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY:routing problem
@ 2001-02-05 15:51 Nair, Pravin
  0 siblings, 0 replies; 3+ messages in thread
From: Nair, Pravin @ 2001-02-05 15:51 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

Many thanks to everyone who replied ,especially to :
Mackun, Roberto [Roberto.Mackun@Compaq.com]
Fasquelle, Philippe [Philippe.Fasquelle@fr.origin-it.com]
Price, Dan [Dan.Price@COMPAQ.com]


The solution is to either stop the router from redirecting ICMP traffic or
to patch the kernel to prevent modification of routing tables.

#dbx -k /vmunix
(dbx)patch icmp_rejectcodemask=0x20
quit


Original query below :
----------------------------------------
We are encountering a strange routing problem . Intermittently , the system
modifies the routing table information . 

#cat /etc/routes 
default 192.168.1.1

#netstat -rn
Routing tables
Destination 	Gateway		Flags	Refs 	Use	Interface 

Route Tree for Protocol Family 2:
127.0.0.1		127.0.0.1		UHL	10	560643	lo0
129.64/16		192.168.1.254	UGD	0	22		tu0
192.168.1.30	192.168.1.30	UHL	293	13865076	tu0
192.168.10/24	192.168.1.1		UGS	4	383414	tu0
192.168.10.25	192.168.1.1		UGHS	1	10042		tu0
209.219.209/24	192.168.1.254	UGD	0	10 		tu0

Once in a while , the static route to 192.168.10 subnet changes to a dynamic
one
192.168.10/24	192.168.1.254	UGMS	2	204336	tu0

Because of this ,users on the 192.168.10 subnet cannot reach 192.168.1
network.
192.168.1.254 is also the nameserver.The routed and gated daemons are not
running.

When this happens ,I manually add delete the dynamic route and add the
static route:
route add -net 192.168.10/24 192.168.1.1

Please help me find a solution to this problem.

Thanks
Pravin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* summary: routing problem
@ 2003-08-08  8:28 Dr. Martin Körfer
  0 siblings, 0 replies; 3+ messages in thread
From: Dr. Martin Körfer @ 2003-08-08  8:28 UTC (permalink / raw)


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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-08  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-05 15:51 SUMMARY:routing problem Nair, Pravin
  -- strict thread matches above, loose matches on Subject: below --
2003-08-08  8:28 summary: routing problem Dr. Martin Körfer
1997-11-17  9:42 SUMMARY: Routing Problem Maurer Felix, IP5

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox