Rajasekhar,
To limit access to specific services for specific IP addresses look to use the Restrict Access to IP Range and change the following IP range to the cidr range of either the internal or external then change the address source to use context variable with the value of ${request.tcp.localAddress}. Please this assertion at the beginning of your policy.
Sincerely,
Stephen Hughes
CA Technologies
Director, CA Support