On Sat, 2002-06-29 at 20:02, Chris Watt wrote:
[Snip]
> (balancing load between them) to connect to the Internet. I don't think
> that Redhat ships with iproute2, so probably to get this working you will
> need to do something along the lines of:

Yes, it does.}

[jgostlin@jgostling jgostlin]$ rpm -qf `which ip`
iproute-2.4.7-1

> 1. Read the Advanced Routing and Traffic Control HOWTO at
> http://www.tldp.org/HOWTO/Adv-Routing-HOWTO.html (or any mirror thereof).

It is still required reading.

> 2. Make sure you have equal-cost-multipath routing turned on in your kernel
> (this may require you install the kernel-source package and compile a new
> kernel with this option enabled).

Before compiling a kernel, check if the default kernel already has it.
The kernel-source package has the config files used for the different
kernels supplied by RedHat.

> 3. Get and use the "ip" tool instead of the old "route" command to make
> this stuff actually happen (details in the HOWTO from step 1).

But be sure to first understand how the initscripts initialize the
networking stuff.You will have to disable most, if not all, of this, and
add the new commands in. Hopefully, RedHat will switch all networking
stuff to iproute2 in the near future.

> At 19:36 2002/06/28 -0400, Kalin Mintchev wrote:
> >
> >
> >hi  all,
> >
> >how can i have two default gateways in one linux box?
> >
> >what i tried so far was put another entry for GATEWAY in
> >/etc/sysconfig/networks but after it loads both the second one becomes the
> >"default" one and if that network goes down both ethernet interfaces go
> >down...

As an alternative to iproute2, you can try to configure a dynamic
routing protocol, like RIP (careful) or OSPF (recomended). This might be
tricky, but in the end will make your servers more resilient to network
failures, since they will be aware of them.

RedHat ships the "zebra" package which has support for this routing
protocols and others. You might check it out.

Cheers,
-- 
Javier Gostling
Ingeniero de Sistemas
Virtualia S.A.
[EMAIL PROTECTED]
Fono: +56 (2) 202-6264 x 130
Fax: +56 (2) 342-8763

Av. Kennedy 5757, of 1502
Las Condes
Santiago
Chile



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

Reply via email to