Ask Your Question
0

Unable to ping tenant router gateway from external network

asked 2015-05-05 09:04:38 -0600

raptus gravatar image

updated 2015-05-06 11:04:47 -0600

Hi all,

I am trying to setup openstack juno, by following the tutorial (http://docs.openstack.org/juno/install-guide/install/apt/content/launch-instance-neutron.html (http://docs.openstack.org/juno/instal...)). I have successfully started all of the services, and launched instances. However, verifying connectivity from the physical network to tenant router or instance fails. Here are the details of the setup:

Controller/Network node:
Ubuntu OS
eth0 - 192.168.0.250, gw 192.168.1.1
eth0:1 - 10.0.0.11 (controller)
eth0:2 - 10.0.0.21 (network)
eth0:3 - 10.0.1.21 (tunneling)

Compute node:

Ubuntu OS
eth1 - 192.168.1.22
eth1:1 - 10.0.0.31
eth1:2 - 10.0.1.31

Controller:

** neutron net-list

+--------------------------------------+----------+------------------------------------------------------+
| id                                   | name     | subnets                                              |
+--------------------------------------+----------+------------------------------------------------------+
| 075c0048-2e91-4ec6-88f4-6d9f2c20da8e | n1       | 077aac7d-8b5f-4140-a784-f53895f602a3 192.168.11.0/24 |
| 10e602b3-74dc-4eb1-b0f1-ecacb3cba9e2 | demo-net | cb830a11-a94c-4dd4-af2c-79ff4d5138c3 192.168.10.0/24 |
| b4cb9bc9-44f0-4eab-896a-7d75e955cb8d | ext-net  | dd50171f-2573-4ec7-b385-f675ff65529d 203.0.113.0/24  |
+--------------------------------------------------------------------------------------------------------+

ifconfig:

br-ex     Link encap:Ethernet  HWaddr b6:8c:5d:f8:60:4f  
          inet6 addr: fe80::dc07:f6ff:fe52:2226/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:83 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5546 (5.5 KB)  TX bytes:1768 (1.7 KB)

br-int    Link encap:Ethernet  HWaddr 0a:32:31:c7:c7:4d  
          inet6 addr: fe80::6c0c:30ff:fed8:b700/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:3100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:525602 (525.6 KB)  TX bytes:648 (648.0 B)

br-tun    Link encap:Ethernet  HWaddr 5a:89:3a:1d:60:40  
          inet6 addr: fe80::fc04:92ff:fee0:6028/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:648 (648.0 B)

eth0      Link encap:Ethernet  HWaddr 00:24:81:8e:70:5d  
          inet addr:192.168.1.250  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:81ff:fe8e:705d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:441488 errors:0 dropped:0 overruns:0 frame:0
          TX packets:534903 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:299264228 (299.2 MB)  TX bytes:568425020 (568.4 MB)
          Interrupt:17 

eth0:1    Link encap:Ethernet  HWaddr 00:24:81:8e:70:5d  
          inet addr:10.0.0.11  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:17 

eth0:2    Link encap:Ethernet  HWaddr 00:24:81:8e:70:5d  
          inet addr:10.0.0.21  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-07 11:24:12 -0600

raptus gravatar image

Solved by redoing what was wrong. Attached a wifi interface, remapped the IPs onto that one, cleared IP off the eth0, and added it to br-ex, restarted all the services. Confirmed that the instances can ping the router internal and external address, added routes for network range wrapping the external network subset, reduced the MTU to be able to ssh into instances. Works.

edit flag offensive delete link more

Comments

could you please throw some light on this

Attached a wifi interface - question is attached to what, and how did you do it? what did you do to remap IP to wifi

i appreciate interface configuration on network node, it helps too.

Thanks in advance

adendukuri gravatar imageadendukuri ( 2015-05-30 19:17:11 -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: 2015-05-05 09:04:38 -0600

Seen: 289 times

Last updated: May 06 '15