Ask Your Question
0

Cant ping/connect to instance from external network

asked 2020-02-06 08:47:19 -0600

CovertError gravatar image

updated 2020-02-06 17:48:52 -0600

My problem is that I can't ping/connect to instance from external network now the instance can access the internet so we are good at that part but a machine from the external network just can't ping or connect to my instance.

Instance private IP: 172.168.10.149/24

Instance Floating IP: 10.10.10.182/25

machine's IP 10.10.10.47

edit retag flag offensive close merge delete

Comments

the instance is able to communicate to the outside world. And when it does so it is using the compute nodes IP instead of the floating IP

CovertError gravatar imageCovertError ( 2020-02-07 04:30:17 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-02-07 03:16:24 -0600

jengbers gravatar image

The 'default' security group in OpenStack does not allow ingress ICPM traffic. You could add an allow for ICPM traffic rule to your security group and check if it works after that.

edit flag offensive delete link more

Comments

We have allowed all the traffic on both ingress and egress and we still can ping the instance.

CovertError gravatar imageCovertError ( 2020-02-07 03:48:17 -0600 )edit

Ok, it's hard to give a definitive answer because there is a lot of variation in network setups in OpenStack. I would suggest running tcpdump close to the gateway to your external network and than move closer to the instance. See where it stops.

jengbers gravatar imagejengbers ( 2020-02-11 04:19:31 -0600 )edit
0

answered 2020-02-06 21:40:27 -0600

Check your security group associated with VM, allow both ingress and egress traffic

edit flag offensive delete link more

Comments

We have allowed all the traffic on both ingress and egress and we still can ping the instance.

CovertError gravatar imageCovertError ( 2020-02-07 03:48:26 -0600 )edit

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

1 follower

Stats

Asked: 2020-02-06 08:47:19 -0600

Seen: 49 times

Last updated: Feb 07