In article < >,
Camac <> wrote:
:I have mulptiple remote sites configured with site-to-site IPSEC VPN's
:back to the HQ. Most remote sites have 837 routers while the HQ has a

IX.
:My
:question is ... do you know a way that I can specify which peer should
:be used primarily, I would like to provide lower bandwidth on the
:second 'redundant' line and would like this peer to be used only if
:the primary one is not available. Does the VPN 'attempt' the first

eer in the list always or does it vary?
On a PIX that has been rebooted, the first peer listed will be
the first tried, and traffic will not be sent to the second
peer unless the first becomes unreachable. However, the PIX would
then continue to use that second peer until it became unreachable:
it will not go back to the first peer automatically. Even clearing
the current security associations is not enough to force the
traffic back to the first peer: according to the command reference,
The peer that packets are actually sent to is determined by the
last peer that the PIX Firewall received either traffic or a
negotiation request from for a given data flow.
Thus, if a VPN link times out due to inactivity, then when more
data becomes available, the PIX will attempt to go back to the
peer it was last using, -not- go to the first peer on the list.
Ah, I just noticed an interesting point. Suppose the first peer
connection goes down, and the PIX proceeds to the second peer. Suppose
the link comes back up, and traffic becomes available to the first
remote peer's tunnel. The first remote peer would then attempt to form
an IPSec connection back to the PIX in order to transfer that data.
That's a negotiation request, so if that quoted sentance is correct,
the PIX outbound traffic would then switch over to the first peer
because of the negotion request clause.
This works both ways, though: if the connection has been great on the
first peer, but the second peer gets traffic and so tries to negotiate
a tunnel back to the PIX, then the second peer would then be the latest
one that tried to negotiate, so the traffic would switch over to the
second peer even though there was no problem with the first!
Heh, if your latencies were just right, then if that clause is
accurate, you could end up switching right back again, because there
might be a packet in transit from the first peer that arrives after the
PIX completed the switch to the second peer, so the first would be the
"last peer that the PIX Firewall received" traffic from. I do not,
though, know what [if anything] happens to security associations if a
peer comes along and tries to negotiate that flow. If the old SA's are
kept so that tunnels are built to both peers, then you could
potentially end up switching between the two indefinitely, as responses
come back from the other end and so trigger swapping. Somehow, I
suspect that the quoted sentance is a simplification
This logic is premised upon the remote peer receiving traffic that
needs to be tunneled and so attempting to negotiate. The circumstances
under which it received that traffic would depend on how you configure
the device which choses which of the remote VPN peers to route to. And
the stability of the swap could [if the clause is accurate] depend
whether there is traffic in transit because of latencies in
transmission or latencies in switching over to the new device.
Obviously, the design around the peer choice was not designed with
fallback connections in mind.
--
Everyone has a "Good Cause" for which they are prepared to spam.
-- Roberson's Law of the Internet