[openstack-dev] [Neutron] Problem connecting from host to router and VM port under DevStack

Eugene Nikanorov enikanorov at mirantis.com
Fri Nov 29 12:52:40 UTC 2013


Hi Paul,

I think you are missing routes on your host. AFAIK devstack adds a route to
the host for default private network. You might need this as well.

Thanks,
Eugene.


On Thu, Nov 28, 2013 at 1:14 AM, Paul Michali <pcm at cisco.com> wrote:

> Hi,
>
> I had this working once, but after rebooting my host and restarting
> devstack, I cannot get it to work. Hoping someone has an idea…
>
> Running latest devstack with OVS and GRE tunnels.
>
> In Openstack, I added a network, subnet, and router, and have opened up
> security groups:
>
> neutron net-create mgmt
> neutron subnet-create --disable-dhcp --name=mgmt-subnet mgmt 192.168.200.0
> /24
> neutron router-create router2
> neutron router-interface-add router2 mgmt-subnet
> sudo ovs-vsctl add-port br-int my_port tag=2 -- set interface my_porttype=internal
> sudo ifconfig my_port 192.168.200.3/24 up
> nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
> nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
>
> From the host, I cannot ping the router interface (192.168.200.1), nor can
> I ping the host (192.168.200.3) from the router's namespace. I had created
> a VM with an interface on the subnet (192.168.200.2), and I can ping the
> router from the VM and vice versa.
>
> With the private and public network, I can ping the router from the host
> w/o any issue.
>
> Any idea as to what I'm missing?
>
> Thanks!
>
> PCM (Paul Michali)
>
> MAIL          pcm at cisco.com
> IRC            pcm_  (irc.freenode.net)
> TW            @pmichali
> GPG key    4525ECC253E31A83
> Fingerprint 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131129/38fe356f/attachment.html>


More information about the OpenStack-dev mailing list