Koozali.org: home of the SME Server

Need switching between ISP

tolik

Need switching between ISP
« on: September 15, 2005, 10:02:06 AM »
I have two ISP, one - main, and one - reserved. How I can swithing between provider on SME Server?

Offline arne

  • *****
  • 1,116
  • +0/-4
Need switching between ISP
« Reply #1 on: September 16, 2005, 08:05:32 PM »
Depends a little bit what kind of connection it is a question about. (ADSL .. PPPoE ?? ETC).

Two differnt Internet connections could also be a wariant of a 3-4 NIC installation.
......

Offline arne

  • *****
  • 1,116
  • +0/-4
Need switching between ISP
« Reply #2 on: September 16, 2005, 08:09:35 PM »
http://forums.contribs.org/index.php?topic=28202.0

If i is just a question of switching between 2 different ip connections I think it could be done.

If it is a question of making two diferent PPPoE logons from the sme box, I don't know (Have never used the SME server with direct PPPoE logon, but I understand it can be done.)
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Need switching between ISP
« Reply #3 on: September 16, 2005, 08:10:07 PM »
Quote from: "tolik"
I have two ISP, one - main, and one - reserved. How I can swithing between provider on SME Server?


You log in as admin, select option 2, and reconfigure.

Offline arne

  • *****
  • 1,116
  • +0/-4
Need switching between ISP
« Reply #4 on: September 16, 2005, 08:41:03 PM »
Yes, like CharlieBrady suggest, this would be quite sure be the "clean" and secure way of doing it, but it will involve some physical change of cables (??!).

To use two wan adapters and a script for selecting the one or the other (so you only need to run a script to change provider) could be a bit "dirty" and it could have unvanted side effects (that might be possible to come around).

But it could still be tried on a test installation even though it actually might mess up and destroy the installation.
......

Offline arne

  • *****
  • 1,116
  • +0/-4
Need switching between ISP
« Reply #5 on: September 16, 2005, 09:47:49 PM »
One other safe way of doing it (if you don't want to mess up your sme server) and if you want to make a command line change from Internet connection to internet connection, that is to set up a standard 3 card Linux firewall, in front of the sme server, and then use this aditional gateway to choose Internet connection.

For this purpose you could use any standrd Linux distro for instance the Centos.

This "front gateway" will then have wan1, wan2 and lan/dmz. The Sme server will be connected to the lan/dmz card and keep a fixed internal ip (So that no server functions is not confused with a "local wan address" that is changing.

Will work (as far as I know) only if it is a question of connections without a PPPoE logon from the gateway PC. Don't know how to make it with two different PPPoE logons.
......