Sorry Ade, this won't necessarily work and frankly isn't worth $5,000.  ;)

While it will work for outgoing traffic, it definitely won't work for
incoming traffic that uses DNS.

nslookup www.premierlink.com
1.2.3.4, 5.6.7.8

If these two ips are on different lines and in the DNS entry, either can be
used by a client, and both need to be up (ie load balancing).  Without
something like bgp, only one ip will work.  (all traffic will go out one ip,
even if it originated on the other).  If you only put one ip in the dns
entry, then you can't change to the other ip without suffering from
propogation delay.

By the way, network stop && network start isn't necessary.  You can just
change the route:
route del default
route add default gw $newIP

Cory

-----Original Message-----
From: Ade Talabi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 3:43 AM
To: [EMAIL PROTECTED]
Subject: [EUG-LUG:2277] Re: iptables - network layout, etc


Cory Petkovsek,

Write a script to poll the up/downability of the providers...
then switch providers (change the etho-config etc...) and do a soft reboot.

ie /etc/inet.d/network stop
ie /etc/inet.d/network start

Really I should charge about $10K to fully implement this, but take that
this advice is worth
$5,000.

Cory Petkovsek ([EMAIL PROTECTED]) said thusly on [16/08/01 at 01:49]:

> I should also clarify, if they are from two different providers, there is
no
> way known by me!, to do this.

--
"I taught them everything they know, but not everything I know."  (James
Brown) 

Reply via email to