xivisi
V2EX  ›  路由器

Linux iptable 如何 实现 PCC 负载均衡?

  •  
  •   xivisi · Oct 26, 2018 · 3899 views
    This topic created in 2782 days ago, the information mentioned may be changed or developed.

    继续之前的帖子: https://v2ex.xtra.eu.org/t/499594#reply2 目前已实现 按照链接继续宁负载均衡。不过虽然实现了负载均衡。但一些多连接的应用(一个程序开多个 TCP 连接到服务器,且做了来源 IP 校验)总是出错

    目前想实现 PCC 方式(根据目的地址,平均打)打标记,不知道怎么设置???

    2 replies    2018-10-27 11:36:24 +08:00
    LGA1150
        1
    LGA1150  
       Oct 26, 2018
    按地址的话可以用 iproute2 nexthop weight 实现
    xivisi
        2
    xivisi  
    OP
       Oct 27, 2018
    @LGA1150 感谢回复。

    我之前的指令弄错了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3200 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 12:22 · PVG 20:22 · LAX 05:22 · JFK 08:22
    ♥ Do have faith in what you're doing.