Active gateway and active forwarding