I can not IP address

Hello,

I have asterisk PBX with Linux Centos 7.7 and Rocky 8.10. I setup local network ip address such as 192.168.x.x, 10.10.x.x, and etc. I can ping to ip address gateway ping to other local ip addresses.
But when assigned ip address 114.2.75.238/30 and gateway 114.2.75.237 for Asterisk IP PBX. I can ping to 114.2.75.238 from asterisk pbx (ping itself), but the problem is, i can not ping to gateway ip address 114.2.75.237 and other 114.2.75.xxx ip addresses. This ip address is belong to external provider VoIP provider.
Any suggestion what is caused?

Thank you.

Check Subnet Mask:-

You mentioned using /30, which means:

Network: 114.2.75.236
Usable IPs: 114.2.75.237 (gateway), 114.2.75.238 (your PBX)
Broadcast: 114.2.75.239

Make sure your PBX is configured with:

  • IP: 114.2.75.238
  • Netmask: 255.255.255.252 (or /30)
  • Gateway: 114.2.75.237
    Check Routing Table
    #ip route
    ensure default route added over there
    #ip addr show
    #ip route add default via 114.2.75.237 dev
    check firewall rules
    check ARP Resolution
    #arping -I 114.2.75.237

Hi Raviranjanshahi,

Thank you. I will try.