Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I ping a NAP from CLI

2 posters

Go down

How do I ping a NAP from CLI Empty How do I ping a NAP from CLI

Post by paratus Sun Oct 25, 2020 8:23 am

Is there a command to test for remote NAPs reachability on CLI?


paratus

Number of Messages : 8
Point : 14
Registration Date : 2019-07-08

Back to top Go down

How do I ping a NAP from CLI Empty Re: How do I ping a NAP from CLI

Post by Admin Wed Oct 28, 2020 2:37 am

You can use the Centos ping command to check the connectivity between your SBC and the far end. Please use in following format

#ping -I interface destination
Example;
#ping -I voip0 8.8.8.8

Admin
Admin

Number of Messages : 506
Point : 1193
Registration Date : 2017-11-27

http://freesbc.yetkinforum.com

Back to top Go down

How do I ping a NAP from CLI Empty Re: How do I ping a NAP from CLI

Post by paratus Wed Oct 28, 2020 6:24 am

ping -I voip0.3001 196.1.30.98
12:22:09.225041 IP 197.234.70.22 > 197.234.70.22: ICMP host 196.1.30.98 unreachable, length 92
12:22:09.225048 IP 197.234.70.22 > 197.234.70.22: ICMP host 196.1.30.98 unreachable, length 92
12:22:09.225053 IP 197.234.70.22 > 197.234.70.22: ICMP host 196.1.30.98 unreachable, length 92

I tried that, no luck, Ping from sbc out doesn't work, but ping from out in is working.

paratus

Number of Messages : 8
Point : 14
Registration Date : 2019-07-08

Back to top Go down

How do I ping a NAP from CLI Empty Re: How do I ping a NAP from CLI

Post by Admin Wed Oct 28, 2020 7:18 am

You need to check your other network elements if one of them blocking to reach to 196.1.30.98.

Admin
Admin

Number of Messages : 506
Point : 1193
Registration Date : 2017-11-27

http://freesbc.yetkinforum.com

Back to top Go down

How do I ping a NAP from CLI Empty Re: How do I ping a NAP from CLI

Post by paratus Wed Oct 28, 2020 7:30 am

12:22:09.225041 IP 197.234.70.22 > 197.234.70.22: ICMP host 196.1.30.98 unreachable, length 92
This part looks to me more like internal FW.

Because local lan is working:
13:29:05.524467 IP 197.234.70.22 > 197.234.70.19: ICMP echo request, id 422, seq 1, length 64
13:29:05.524467 IP 197.234.70.22 > 197.234.70.19: ICMP echo request, id 422, seq 1, length 64
13:29:05.525025 ethertype IPv4, IP 197.234.70.19 > 197.234.70.22: ICMP echo reply, id 422, seq 1, length 64
13:29:05.525025 IP 197.234.70.19 > 197.234.70.22: ICMP echo reply, id 422, seq 1, length 64

paratus

Number of Messages : 8
Point : 14
Registration Date : 2019-07-08

Back to top Go down

How do I ping a NAP from CLI Empty Re: How do I ping a NAP from CLI

Post by Admin Wed Oct 28, 2020 7:36 am

Would you try the following command and check if packets go out from the sbc?
traceroute -i <interface> <host>

Admin
Admin

Number of Messages : 506
Point : 1193
Registration Date : 2017-11-27

http://freesbc.yetkinforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum