[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] can a Qube 3 - Server Gateway have 2 IP addresses configured?



On Thu, 2003-12-11 at 16:17, Waillie Ng wrote:

> I'd like to have eth0 - gateway1 and eth1 - gateway2, each gateway 
> is by a separate DSL provide so different IP addresses, using 
> domainname's MXRECORDs pointers to my mail1 and mail2 server, 
> i.e the QUBE 3.

In short yes it's possible. You will need to compile a custom kernel
that has support for multi-path routing. You will need Julian Anastasov
kernel patches as part of your custom kernel.

Once you do that you will need to configure things so that packets sent
from the inside are load balanced via the multipath route. Using NAT
Julians patches catch the route and thus further packets are sent using
the same interface while it is available.

That handles your two gateways from the inside. Now from the outside you
will need to configure BIND. BIND allows a domain to have more than one
IP. You will need to configure bind to support this. You will not be
able to do that using the Cobalt GUI. At least I do not think so.

That's the basic idea. When I lived in CA I had two SDSL lines and load
balanced between the two. I had a dedicated 75mhz machine that booted
off a zip disk and ran using a RAMDISK. It was assume and ran without
any interruption in service for over a year. I never had any downtime.

Now I run two separate dedicated DNS servers. So I was able to really
dial things in. The primary name server resolved mainly to IP's from
ISP1. The secondary name server resolved to IP's from ISP2.

Those three machines were in addition to my XTR which performed none of
those functions. I imagine it's possible all from one machine. However I
am not sure how well things will go with only one name server.

Links

The main one with the others
http://www.docum.org/stef.coene/qos/faq/cache/57.html

I do recommend checking out the entire FAQ @ http://www.docum.org/.
Mainly the ones under routing. There is some other helpful info there. 

-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
http://www.obsidian-studios.com