[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?
- Subject: Re: [cobalt-developers] can a Qube 3 - Server Gateway have 2 IP addresses configured?
- From: josh <josh@xxxxxxxxxxxxxxxxxx>
- Date: Thu Dec 11 13:47:03 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
The default makes sense for the most common cases.
Take a look at
netstat, ifconfig, and route
You will need to manually set your routes and make choices. You can
only have one practical default path. You will need to set the routes
manually or in a script specifying what IPs the second gateway is to
be used for. The default is always the route to 0.0.0.0, but you can
easily say to use the second for 10.0.0.0 for example, and hundreds of
other addresses. If both are actually on the net you can even try to
figure out which provides the shortest path to various locations with
traceroute.
The command 'netstat -nr' or 'route' will give you an
idea. You will need to look at /etc/sysconfig/network-scripts as
well. I have a RaQ550 so a few things might be in different locations.
On Thu, Dec 11, 2003 at 01:17:22PM -0800, Waillie Ng wrote:
>
> I hope that I'm posting to the right place.... if not any input
> from you gurus would be greatly appreciated...
>
> Since the Qube 3's GUI only allows you to configure 1 IP address
> for the Server Gateway, is there a way to tweak it from some files
> internally so that I can have atleast 2? It has 2 network cards,
> eth0 and eth1, but both default to gateway1...
>
> 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.
>
> My scripting programming language is next to nil and afraid to
> try ifconfig/route add command stuff...
>
> Is this possible? Otherwise I'll need to continue with my
> manual server gateway switch/updates via the GUI whenever
> mail1 or mail2's DSL provider is down....
>
> THANK YOU...
>
> Waillie Ng
> ng@xxxxxxxx
> 1-415-861-2800
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
--
Josh Kuperman
josh@xxxxxxxxxxxxxxxxxx