setup network priority then routing to multiple providers

Linux Advanced Routing and Traffic Control

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

 



I have two providers similar to http://lartc.org/howto/lartc.rpdb.multiple-links.html

                                                                 ________
                                          +------------+        /
                                          |            |       |
                            +-------------+ Provider 1 +-------
        __                  |             |            |     /
    ___/  \_         +------+-------+     +------------+    |
  _/        \__      |     if1      |                      /
 /             \     |              |                      |
| Local network -----+ Linux router |                      |     Internet
 \_           __/    |              |                      |
   \__     __/       |     if2      |                      \
      \___/          +------+-------+     +------------+    |
                            |             |            |     \
                            +-------------+ Provider 2 +-------
                                          |            |       |
                                          +------------+        \________


The two providers provide different quality of network.

* Provider 1
    * low latency
    * low packet loss rate
    * small bandwidth (100Mbps)
    * sometimes go offline for a couple of minutes
* Provider 2
    * higher latency
    * higher packet loss rate
    * big bandwidth (1000Mbps)
    * never go offline


Our network usage is bigger than 100Mbps during the day and less than 100Mbps during the night.

My goal is the following:

* split the network flows into different priorities. ssh & telnet traffic most high, web traffic priority 2nd high, etc… BT traffic most low.
* put as much higher priority traffic as possible (up to 100Mbps) to provider 1 and the rest of the traffic to provider 2
* If provider 1 get unavailable, switch all the traffic to provider 2. When provider 1 gets back online, switch the traffic back.

I don’t have a clue how to set this up.

Thanks.--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux