[NTLUG:Discuss] how do I delete routing rules/entries permanent?

MadHat madhat at unspecific.com
Wed Apr 4 09:34:06 CDT 2001


At 01:23 PM 4/4/2001 +0000, you wrote:



>>From: MadHat <madhat at unspecific.com>
>>Reply-To: discuss at ntlug.org
>>To: discuss at ntlug.org
>>Subject: Re: [NTLUG:Discuss] how do I delete routing rules/entries
>>permanent?
>>Date: Tue, 03 Apr 2001 13:19:36 -0500
>>
>>At 06:04 PM 4/3/2001 +0000, you wrote:
>>>Hi all:
>>>how do I delete routing rules/entries permanent?
>>>I can delete it, but when I reboot, the deleted rules go back.
>>>Thanks a lot!
>>
>>it would depend on how they are getting added in the first place.
>
>some of them add by netconf, some of them by manually add and some are 
>during installation.

OK, lets get specific.  You can change the IPs to be safer, but I would 
like to know what routes you have.
netstat -rn

to show the routes.  If you know where each one is coming in, that would 
make it easy, but I am thinking this is not the case...  Once we know the 
route, maybe we can figure out where it is coming from.




>>You could just take the delete statement you used to manually remove the
>>route and add it to the startup scripts, after routing is initialized, of
>>course.
>which startup scripts is better? rc.local?

What distribution? Sorry if I wasn't paying attention and you already said 
this, but I don't see it.


>I don't think this is a way to _permanent_ delete the rules.
>this is a _every_time_deletion_ (tempary) on an existing rules at reboot.

No, not the best way, but sometimes it takes a work around so you don't 
have to think about it for a bit, then you can come back with an open mind 
and a clear head.

>Lee said: "on red hat systems, edit /etc/sysconfig/static-routes"
>this does not work.
>
>Jay Urish said:
>
>You want to edit /etc/sysconfig/network
>
>I guess I need more hint on this.
>
>
>
>>
>>
>>>_________________________________________________________________________
>>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>>>
>>>_______________________________________________
>>>http://www.ntlug.org/mailman/listinfo/discuss
>>
>>--
>>MadHat at unspecific.com
>>
>>_______________________________________________
>>http://www.ntlug.org/mailman/listinfo/discuss
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss

--
MadHat at unspecific.com




More information about the Discuss mailing list