Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
mysterious routes appearing

mysterious routes appearing

2003-06-24       - By Iain Buchanan

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Wed, 2003-06-25 at 05:44, Michael Weber wrote:
> Are you running RIP or OSPF?

AFAIK, no!

>   How about a firewall?

Definately.  What effect might this have on routes appearing?

> If you reboot the machine how long does it take for the routes to show
> up?

I'm guessing as soon as eth0 comes up, although I could be wrong.  I
make this assumption because I fix the routes with route del... and then
as soon as I run ifdown eth0 and ifup eth0, the routes come back.

>   My network scripts are in /etc/rc[3,5].d/S10network.  Try creating
> a script the dumps the route table to a text file and put it in My
> network scripts are in /etc/rc[3,5].d/S11route-dump and see what it
> shows.

I had a look in here and the only place it seems to get routes from
(about line 146) is:
# Add non interface-specific static-routes.
if [ -f /etc/sysconfig/static-routes ]; then
  grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do
            /sbin/route add -$args
  done
fi    

and yes, /etc/sysconfig/static-routes is empty!

> (Or just add the route -n > /var/log/route.dump command to your
> S10network file.)

Ok I tried this, but it didn't tell me much else.  At the beginning of
/etc/rc.d/init.d/S10network I put:
route -n > /var/log/pre-route.dump
which, after a reboot contains (as I expected):

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

and nothing else.  At the end I put:
route -n > /var/log/post-route.dump
which, after a reboot, contains (as I expected):

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
203.16.234.0    172.16.0.8      255.255.255.0   UG    0      0        0 eth0
172.16.0.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
203.39.28.0     172.16.0.4      255.255.255.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         172.16.0.4      0.0.0.0         UG    0      0        0 eth0

Thanks for your help, now how would you analyze this?
--
Iain Buchanan <iain@(protected)>
Q:   What's the difference between USL and the Titanic?
A:   The Titanic had a band.

Earn $52 per hosting referral at Lunarpages.