Ask Your Question
0

destination port unreachable when pinging 8.8.8.8 from instance

asked 2018-03-13 01:16:20 -0500

gaurav_garg gravatar image

Hi all!! I have a running setup of OPNFV XCI single-machine, where 192.168.122.3 is used as controller, 192.168.122.2 used as OPNFV, and 192.168.122.4 is used as compute. When I login into instance , I am unable to ping 8.8.8.8. Though I can ping nodes. The error message -

**

ubuntu@a:~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 10.10.10.1 icmp_seq=1 Destination Port Unreachable From 10.10.10.1 icmp_seq=2 Destination Port Unreachable From 10.10.10.1 icmp_seq=3 Destination Port Unreachable ^C --- 8.8.8.8 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3004ms

**

edit retag flag offensive close merge delete

Comments

Hi Gaurav,

Has this been resolved?

Vivek Verma gravatar imageVivek Verma ( 2018-04-05 01:57:02 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
0

answered 2018-04-02 10:56:47 -0500

Can you check below steps :

  1. Are you able to ping 10.10.10.1 from your VM?
  2. Have you added private network subnet to the router?
  3. Check on the router namespace if you can see your private network subnet IP (10.10.10.1) is added on router port?
edit flag offensive delete link more
0

answered 2018-04-03 04:46:36 -0500

Shahid gravatar image

Hi @gaurav_garg ,

  1. As we have two IP address range so, Launch the Instance in private IP and than associate a floating IP (public IP) on to the Instance.

  2. Allow ICMP rules in the security group (both ingress and egress)along with other rules that you would require.

edit flag offensive delete link more
0

answered 2018-04-01 11:50:25 -0500

yas gravatar image

Hello @gaurav_garg.

  1. Make sure that your instances have floating ip addresses.
  2. Make sure that your security rules allow pinging (egress and ingress rules)
  3. Make sure that you configured the instances to use the correct gateway. The gateway should be accessible by the instances and should exist because when you don't specify the gateway ip to be used by the instances OpenStack neutron will pick the first ip address from the provided network and uses it as a Gateway IP (not always the case)
edit flag offensive delete link more
0

answered 2018-03-15 15:44:58 -0500

rlpple gravatar image

Do you have a floating IP or External network assigned to it? Did you setup your security rules to allow outbound ping?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2018-03-13 01:16:20 -0500

Seen: 454 times

Last updated: Apr 03 '18