tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] How to disable routing for a subnet at boot time?
@ 1998-11-24  0:19 Jerome Limozin
  0 siblings, 0 replies; only message in thread
From: Jerome Limozin @ 1998-11-24  0:19 UTC (permalink / raw)
  To: tru64-unix-managers

My question :
> 
> Hello managers,
> 
> I have an AlphaServer 4100, DU 3.2g, with 2 ethernet card.
> first ethernet card as ip address 202.35.81.100 (netmask 255.255.255.0)
> second one has IP address 202.35.82.222 (same netmask)
> 
> at boot time, two routes are automatically defined:
>  network 202.35.81.0 -> use interface 202.35.81.100
>  network 202.35.82.0 -> use interface 202.35.82.222
> 
> This is perfectly normal, I think.
> The problem is : I don't want the second route! I don't want to use the
> second card for general routing, I just want to use it to route to
> specific host.
> I can delete the route after boot, with route delete command, but I want
> it to be automatic at boot time. How should I do?


Thanks all,

I finally decided to create a boot script /etc/rc3.d/S12routedelete (a
link to /sbin/init.d/routedelete), which delete the unwanted route at
boot time.

I was suggested to remove the route info from /etc/routes file, but
unfortunately, this route was not mentionned in this file.
I still don't know how and when exactly the routes to my 2 subnets are
defined, but I found a workaround..

JL


     _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ 
    _/  Jerome Limozin - System administrator _/
   _/  Credit Lyonnais, Japan Branch         _/
  _/  Fax : (81) 3 5512 5796                _/
 _/  jlimozin@clj.co.jp  /  jlz@iname.com  _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-24  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-24  0:19 [SUMMARY] How to disable routing for a subnet at boot time? Jerome Limozin

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