Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

PCC Dual ISP - Load Balancing with Failover and Routing Packets
#2

PCC is inherently can break a connection session especially in tcp lalo na magkakaiba ang public ip ng mga WANs mo, if one of the line goes down, no matter how good your configuration is, however there are several sites that are "connection friendly", but very rare. (actually i know nothing that actually worked)

this is what happened with the PCC, simple explanation lang ito ha, i will not elaborate more.

supposed.. meron kang dalawang WAN at may public ip din

WAN1 (104.104.10.50)
WAN2 (122.165.33.5)

then, meron kang 2 clients na naka NAT sa mga WAN mo

Client1 (192.168.1.10)
Client2 (192.168.1.20)

supposed si client1 ay dumaan sa WAN1, at si client2 ay dumaan sa WAN2.
then si client1 ay may connection session sa isang server sa internet using the designated WAN na nakuha nya sa PCC,

ang outgoing IP ni client1 ay yung public ip ni WAN1 na 104.104.10.50 at yung server ay may public ip na 105.20.30.2

during the PCC, yung public ip na kilala ng server na may session si client1 ang kilala ng server,

WAN1 (104.104.10.50) --> Server (105.20.30.2) - remember, ang kilala ni server ay ang public ip ni WAN1 na nilabasan ni client1

so once na mag-down ang WAN1, at nag switch over sa WAN2 ang client1 mo, yung server na may session si client1 ay mag "stall and terminate" dahil hindi na bumalik sa server yung public ip ni WAN1, hindi kilala ni server ang Public IP ni WAN2 dahil hindi naman yon ang naging initial public IP ng client1 nung nag initiate ng connection, so considered na broken na agad ang session... walang continuity.

so, how to test it?

for simple test..

mag continuous ping or trace route ka sa client1, tapos idown mo ang isa sa mga WAN mo kung saan dumaan si client1, you will see na mag timeout na agad yan, walang continuity, don't cancel the session ha.

for a better test.

mag connection session ka sa server using TCP like ssh, telnet, ftp, or even mail transfer.
then i-down mo ang isa sa mga WAN na dinaan mo, you will see na broken connection na agad yan. you must re-do your session para sa WAN2 na dumaan, pero yung unang session mo ay terminated na,

sa speedtest nga eh, during the latency test, sa isang WAN lang ang natetest ng speedtest kapag meron kang multiple WAN.

so you understand how PCC is inherently can break connections?

the only way na may continuity ang session mo at may multiple WAN/upstream ka ay kung naka peering ka sa provider mo.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)