@heper:
is there a good reason your are making it more complicated by firewalling the "path" through the pfsense?
I am transitioning multi-site company, something like this, star + redundant path topology:
[image: Full_net.png]
First reason, once I've done it goes to the local supporter. Which might firewall, block or screw it up by mistake. So I assume, it is already screwed :) And network must resist to such things from VPS A and B prospective
Another reason, all this schema assume that traffic won't pass through the branch offices. It doesn't make sense anyway - kind of switching terminals in Frankfurt via Chicago
@heper:
so basically if "link-A' goes down, you don't want server2 to be able to reach server1 through the pfsense ?
what do you mean by this?
where ping won't go to the interface on the same machine, but going back through the seemingly direct path.
Let's assume following fragment, where I set metrics on Company C, VPS A and VPS B. And trying to ping some interface (not shown) on VPS B, where central DNS server reside. :
[image: Partial_net.png]
Let's assume,
tun0, 10.2.0.1 is this non P2P interface on VPS B
tun1, is P2P interface on VPS, [VPS B to VPS A P2P segment, path for ping red arrow 2]
If I ping from PC on Company C, ip 10.2.0.1. Ping (request part) goes via tun1 on VPS B (Red arrow 2). And it is last point where it is seen. I assume, #3 is ping suppressed by loop prevention code
If I disable Company A (which doesn't have metric set anywhere yet). Leaving net with VPS A, VPS B, and Company C, ping goes to 10.2.0.1.
Moreover, on VPS B,
ping 10.2.0.1 -I tun1
will drive ping away, as it assume path via Company A as more direct one. Obviously, ping never reach same machine interface, even it is less than 1ms away
Yes, metric is not set up everywhere. Even if Company A maintainer won't screw up, it can be the case for non reachable part.
VPS A to VPS B, metric 50
Company A => VPS 1, metric 10 (very fast line)
Company A => VPS 2, metric 10 (very fast line)
So, Company A will attract traffic to go via it's fast lines just to firewall it.
P.S. What is the editor network used here to quick draw diagrams, local or online? Coming from development field, I don't have any tool set worked out for it yet.