[NTLUG:Discuss] how do I delete routing rules/entries permanent?
m m
llliiilll at hotmail.com
Thu Apr 5 13:14:57 CDT 2001
>From: Greg Edwards <greg at nas-inet.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: Wed, 04 Apr 2001 20:19:24 -0500
>
>m m wrote:
> >
> > >From: MadHat <madhat at unspecific.com>
> >
> > >
> > >>>From: MadHat <madhat at unspecific.com>
> >
> > >>>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.
> >
>
>Most of what you've got here seems correct, there is some junk though.
>I know real men use vi but:) I'd start with running (RH 6.2) network
unfortunatelly, I am vi person. if you can point all files related to this
issue, I guess that I can have vi kill (delete) them.
>configurator, its on control panel or netcfg from command line. Use
>"Interfaces" and "Routing" to setup your nics and default route. See
>what you've got after saving this and we can go from there.
It does deleted some. however there are some stays:
before:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
65.10.71.198 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
192.168.100.0 192.168.100.1 255.255.255.0 UG 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 192.168.1.1 255.255.255.0 U 0 0 0 eth1
0.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
0.0.0.0 65.10.71.198 0.0.0.0 UG 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 65.10.71.198 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 65.10.71.198 0.0.0.0 UG 0 0 0 eth0
after:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
65.10.71.198 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 192.168.1.1 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 65.10.71.198 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 65.10.71.198 0.0.0.0 UG 0 0 0 eth0
>
>Warning, netcfg has a bug where if your assinging more than 1 route the
>default can get set wrong. Simply save, exit, and re-run netcfg to
>verify config setup.
>
>--
>Greg Edwards <greg at nas-inet.com>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the Discuss
mailing list