This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dual internet connection supported?

I have 2 internet connections(one is pppoe, the other standard tcp/ip), i want to know if astaro supports this config and if i will be able to redirect the internal users independently to the internet connection i want and/or be able to "fault tolerance" all to one in case one of the connections fails.

thanks 


This thread was automatically locked due to age.
Parents
  • Most isp's put a load balancer in front of their edge machine..wehter it is the router or a firewall..i am familiar with the larscom boxes that do this..[:)]  
  • Dual Gateways with failover would require some BGP routing and other advanced things that Astaro (and most others) just don't provide at this point. If you want true failover, then you'd need grey-market / routable address space which is very rare as well.  
  • There is a provider which provides contents of individuality except for the usual provider (Internet provider) in Japan. 

    It is very convenient in such a case when it has PPPoE connected at the multi-session. 

    Because a contents provider is connected to exclusive LAN, the Internet becomes the condition which can't be seen. 

    A usual provider is cut only for its sake that contents are seen for a while. 
    (So, the Internet can't be seen for that time.) 

    It is connected to the usual provider again to connect it to the Internet if it finishes seeing contents. 

    If a PPPoE multi-session can be used, it thinks that it is convenient with a thing.   
Reply
  • There is a provider which provides contents of individuality except for the usual provider (Internet provider) in Japan. 

    It is very convenient in such a case when it has PPPoE connected at the multi-session. 

    Because a contents provider is connected to exclusive LAN, the Internet becomes the condition which can't be seen. 

    A usual provider is cut only for its sake that contents are seen for a while. 
    (So, the Internet can't be seen for that time.) 

    It is connected to the usual provider again to connect it to the Internet if it finishes seeing contents. 

    If a PPPoE multi-session can be used, it thinks that it is convenient with a thing.   
Children
  • Sorry for the delay, i've been away from the forum.

    the thing is that i need the 2 internet connections not for load balancing, but to route whicheever station i want to each of the connections.

    the 2 connections have different speed, one is a 512K ADSL PPPoE line for normal browsing, (the other is a national T1 line with 64KBps international).

    so i want to make that for certain IP blocks which i know are in my country the T1 line is used, and for the international IP the DSL line. 
  • It is not officially supported, but there is a routing script I made which will support multiple gateways. I have tested it in a few deployments and it has proven to be quite reliable. You will find it on the Hackers Forum (if you don't mind working on Linux's Command Line Interface)

    I find it most unfortunate whenever Astaro is losing mindshare and customers these months because people think it can't do this or it can't do that. The next release of Astaro at Christmas should have this added, but let's not be so quick to discourage people from trying out the product...

    We've also done a dead gateway fallover for hire (I can't publish that unless the party who paid for its licensed use gets something back for it). My point is, it can do whatever you can do on a hardened Linux...
  • [ QUOTE ]

    so i want to make that for certain IP blocks which i know are in my country the T1 line is used, and for the international IP the DSL line.  

    [/ QUOTE ]

    You can do that easily, you need to define the network blocks in the Network Definitions section.

    Then in the routing section set the default route as the DSL line, and add a route for the defined blocks for the T1.

    That Astaro is perfectly capable of doing, its when you want to do something like failover, redundancy or combining that it goes beyond what the product is able to do right now. 
  • Thanks biffa!!!
    i would've never figured out, in fact, when i refrased my question about the ip block i begun to think about routes...

    ohh another thing, what if i want certain user or PC to go out via a certain connection regardless of the destination?(althought this would be an added extra, i'm happy knowing that i can do it) 
  • That is source routing, and can be done with ip route (if you or somebody you work with happens to be Linux fluent). See the  Policy Routing document.
  • hmmm -200 linux for myself and -500 for the ppl i work with.
    meddling with the astaro guts is out of the question.

    but then, can it be done as biffy said or i must hack astaro? 
  • It's not as scary as you might think; in /sbin/init.d/routes.local you add the rules as mentioned in the Policy Routing Document. We're talking standard Linux routing here, not Astaro internals! The beauty of it is there are a TON of articles you can pull up in a Search Engine to show you how to do the routing on Linux just the way you want. On another post just yesterday, one fellow uncovered how to do route-of-last-resort (Internet) round-robin load balancing for 2 interfaces.

    Ever since the routing script I did has opened up the possibility of multiple gateway routes, people have been starting to also ask for this. I am confident that Astaro will be coming out with a fancy-schmancy GUI for doing it all, but I am giving it a shot right now to enhance the routing script I did to support your (and others!) immediate need for source routing. If there is no unforseen gotcha, I should have it in another day or two.

    So you can enter ip rule adds to the routes.local file, or wait a day or two and I might have an extension for source routing that can be done through the standard Astaro routing page (by defining a network with a suffix of _source__). And in a few months, they will probably come out with even fancier routing capabilities built into the interface, so I don't think you'll regret having been patient...

    P.S.Don't forget; if you do the ip rules, there are many people here who will be quite happy to help you with it; and I think you'll pick up some computer know-how that can be applied at some later time to other tasks (assuming you have the time to learn...)
  • Guillermo; I updated the script to support source routing (it is not accessible from the link previously published in the Hackers Forum). It needs testing though; are you interested in trying it out? (Your expectations should not be that it works on the first go! But sometimes I do pull that off...). If you are too busy, I will be enlisting the help of others...

    I am posting this message in case you don't frequently log on; I will also mail you now...
  • Hi, Secapp
    i am trying to do Source Route, can you send me de script, so i can test it ???
    thanks 
    arlindo.silva@itds.pt