BGP peer was configured , and as per BGP rules of advertising , 1) we need static route or 2) ip address on physical interface to advertise the routes to neighbor,
we used static routes but as customer divided their network in smaller subnets like /26 or /28 (for example : 126.96.36.199/24 was divided in 188.8.131.52/26 and 184.108.40.206/26)
we used static route for these smaller subnets to advertise the , (example : ip route-static 220.127.116.11 26 Null 0 , and ip route-static 18.104.22.168 26 Null 0 ,
we were not able to advertise the routes to our neighbor ISP router. so the internal ip pool cannot reach the internet. and they were not reachable from outside.
We advertised the /24 network to bgp neighbor . with change in static-route 22.214.171.124 24 Null 0 , (for example we advertised 126.96.36.199 /24)
with change in route we were able to advertise the routes in Bgp and ISP neighbor accepted the routes
we found that as per Internet Service Provider general policies , they do not accept the routes that are smaller than /24. (for example they will not accept route with subnet /26 or /28)
ISP routing policies should also be acquired for BGP advertisement.