Ask Your Question
1

cannot ping the router on the tenant interface

asked 2014-11-27 04:38:17 -0500

fresher gravatar image

updated 2014-11-29 04:08:02 -0500

dbaxps gravatar image

i created a subnet in the ext-net using the following command:

neutron subnet-create ext-net --name ext-subnet \
--allocation-pool start=10.129.2.108,end=10.129.2.150 \
--disable-dhcp --gateway 10.129.1.250 10.129.0.0/16

I created a router using

neutron router-create demo-router 

added a interface using 

neutron router-interface-add demo-router demo-subnet

attached it to external network using command

neutron router-gateway-set demo-router ext-net

All these steps worked fine as per the guide i am following:

http://docs.openstack.org/icehouse/in...

But I cannot ping to this router external IP i.e. 10.129.2.108

neutron router-list shows:

+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| id                                   | name        | external_gateway_info                                                       |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| aa004dfa-c882-4187-8242-8b8c2f961660 | demo-router | {"network_id": "0b4ceee5-7108-4b64-93fb-0f7c81ad3a01", "enable_snat": true} |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+

sudo ip netns exec qrouter-aa004dfa-c882-4187-8242-8b8c2f961660 ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1176 (1.1 KB)  TX bytes:1176 (1.1 KB)

qg-7c3ed541-23 Link encap:Ethernet  HWaddr fa:16:3e:55:c7:97  
          inet addr:10.129.2.108  Bcast:10.129.255.255  Mask:255.255.0.0
          inet6 addr: fe80::f816:3eff:fe55:c797/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:864 (864.0 B)

qr-5fbc0cd7-96 Link encap:Ethernet  HWaddr fa:16:3e:49:64:76  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe49:6476/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:140 (140.0 B)  TX bytes:738 (738.0 B)

As per the guide the br-ex had to be connected to the external network interface which i assumed is the one which does not have an IP assigned (the third interface on the network node). So, how can the external network connect to this router through this interface?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-29 04:21:49 -0500

dbaxps gravatar image
  1. Enable security ICMP rules. 2. Can you ping 10.129.2.108 like:

    ip netns exec qdhcp-private-net-id ping 10.129.2.108

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: 2014-11-27 04:38:17 -0500

Seen: 251 times

Last updated: Nov 29 '14