[Linux-HA] route problem
msoffen at iso-ne.com
Wed Jul 6 13:44:22 MDT 2005
you have only 1 IP address for the 2 boxes ?
normally the default gateway will only be activated if you have IP
addresses on network startup.
If you need to bring the interface up/down, Do this:
In that file add:
Replace x.x.x.x with the broadcast address, y.y.y.y with the netmask,
and z.z.z.z with the gateway address.
Then you should have the route added or removed whenever you start or
stop the eth0 interface.
On Wed, 2005-07-06 at 20:38 +0100, Tam wrote:
> We have two FC3_64 boxes with heartbeat installed and it all works
> swimmingly... great application... with one small exception. If the
> machine is rebooted then its necessary to add a route to the gateway
> back in after heartbeat has aliased the IP onto eth0.
> How can i make this permanant and why is the default gateway in
> /etc/sysconfig/network ignored? Its as if because the IP isnt allocated
> to the interface at boot until heartbeat does it the initial gateway
> directive in the network file has no effect.
> Each boot I need to run
> route add default gw <ip address withheld>
> How can I add this permanently or have heartbeat do it at failover time?
> Many thanks for any light that can be shed on this.
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-HA