Skip to main content

OpenStack: ssh timeout with GRE tunnels

I configured my OpenStack installation and all went Ok. I used the Open vSwitch plugin with GRE tunnels and although I had ping connectivity, when I try to connect to instances through ssh I got a time out. The problem seemed to be in the tunnel MTU size. I had to lower the mtu size on instances to prevent packet fragmentation over GRE tunnel.

Edit /etc/neutron/dhcp_agent.ini file, add this line:

# Override the default dnsmasq settings with this file
dnsmasq_config_file = /etc/neutron/dnsmasq/dnsmasq-neutron.conf

 

Create file  /etc/neutron/dnsmasq/dnsmasq-neutron.conf and add these values:

dhcp-option-force=26,1400

 

Finally restart neutron server

# service neutron-server restart

 

References:

http://docs.openstack.org/admin-guide-cloud/content/openvswitch_plugin.html

One thought to “OpenStack: ssh timeout with GRE tunnels”

  1. This is very satisfactorily composed. The article was informational to readers who possess a good value for articles. We look ahead for even more of the very same. He has outlined each and every little thing extremely nicely and briefly.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.