<%
Dim ip
ip = Request.ServerVariables("REMOTE_ADDR")

If Condizione Then
Response.Redirect "Index2.asp"
End If
%>

Qualkosa del genere ti riferivi?