I'm not sure I fully understand the question.

Are you saying that you are losing your ethernet interface(s) and when you
bring them back up, your routing tables are not the same as when you boot?

If so, there are probably a number of ways to fix this.

1. put routes into /etc/sysconfig/static-routes. At least linuxconf can
help you set this up, but don't know the format off the top of my head.

2. Create a file /etc/sysconfig/network-scripts/ifup-local that looks
something like this

#!/bin/sh
#
# local ifup handling. DEVICE passed in
DEVICE=$1

case $DEVICE in
    eth0)
        # put your route statements here
    ;;
    eth1)
        # put your route statements here
    ;;
esac


As far as preventing this from happening, I have no idea. 

I'd actually like to know if there are any built in mechanisms to keep a
dhcp based interface up, or check on it and ifdown/ifup it as needed. Just
today I had to talk my Mom through doing an ifup/ifdown on here DSL
interface after they had a bad storm last night. I'm not sure how it
happened, but they lost their DSL connection and at least today their DSL
modem looked fine. If no-one has a better plan, I'm going to write a
script to monitor the connection. Losing your connection to the box is the
only downfall to trying to maintain a Linux box for your (don't tell her I
said this) near computer illiterate mother who like 1K miles away :)

hth
charles

On Fri, 4 Aug 2000, gigme chittayath wrote:

> 
> 
> Dear friends,
> 
> I am facing a couple of problems , in Linux,
> 
> when i am using it , as masquarating and ipforwarding.
> 
> 1. Eth0 or eth 1 is getting down , and routing table
> 
> is getting updated.
> 
> is there any way to keep the routing table,stable 
> 
> without getting updated, even if an interface is down
> & giving a reboot?
> 
> what are the other possible way to prevent this from
> happening?
> 
> pls advice,
> 
> gigme.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to