Methods and systems are directed to dynamically mirroring a connection
between network devices. Mirroring is managed by forwarding a packet
between a first network device and a second network device. In one
method, the first network device receives the packet from a client and
communicates the packet to the second network device. A forwarding
device, pre-determined from the first and second network devices,
forwards the packet to a server. The first network device receives a
response from the server, and communicates it to the second network
device. The forwarding device forwards the response packet to the client.
In one configuration, the first network device and forwarding device is
an active device, and the second network device is a standby device. In
another configuration, the first network device is a standby device, and
the second network device and forwarding device is an active device.