From: Jerome Limozin <jlimozin () clj ! co ! jp>
To: tru64-unix-managers
Subject: [SUMMARY] How to disable routing for a subnet at boot time?
Date: Tue, 24 Nov 1998 00:19:00 +0000 [thread overview]
Message-ID: <96078728412138.tru64-unix-managers.marc@archive.invalid> (raw)
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 _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
reply other threads:[~1998-11-24 0:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox