Do the "ha link" peer-ip and local IP address must belong to the same subnet?

"ha link" do not need to belong to the same subnet.   "ssf peer" must belong to the same subnet.