Ask Your Question
1

qrouter unable to ping external gateway

asked 2013-10-18 19:31:43 -0500

MikeW gravatar image

updated 2014-01-22 15:12:59 -0500

Evgeny gravatar image

I'm currently using a multi-node Grizzly installation of OpenStack with a single compute and control node (all nodes are Virtual Machines). I am able to create VMs, quantum routers, networks, etc, but my quantum router is unable to ping my external network, and vice-versa. As such, I cannot ping my VMs from my external network. I am new to OpenStack (and fairly new to networking in general) so it is entirely possible that I have a misconfiguration of my most basic networking.

I'm able to ping the qrouters external interface from both the router and the external network. I'm also able to ping the internal interface from the router, and am able to ping the created VMs on the private network from the router. I just can't ping from the router to the external gateway, or from the external network to the assigned floating IPs.

Details about my setup:

Operating System: Ubuntu 12.04

External Network: 172.18.116.0/24

Private Network: 10.0.0.0/24

Control Node ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:50:56:a2:13:e6
          inet addr:172.18.116.66  Bcast:172.18.116.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fea2:13e6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15600 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9213 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3239092 (3.2 MB)  TX bytes:2646498 (2.6 MB)

eth1      Link encap:Ethernet  HWaddr 00:50:56:a2:61:66
          inet addr:10.0.0.5  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fea2:6166/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:180 (180.0 B)  TX bytes:1476 (1.4 KB)

int-br-ex Link encap:Ethernet  HWaddr e2:38:92:35:57:97
          inet6 addr: fe80::e038:92ff:fe35:5797/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:471 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20184 (20.1 KB)  TX bytes:7764 (7.7 KB)

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:16436  Metric:1
          RX packets:97224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21886682 (21.8 MB)  TX bytes:21886682 (21.8 MB)

phy-br-ex Link encap:Ethernet  HWaddr 0e:62:cf:c4:a4:f0
          inet6 addr: fe80::c62:cfff:fec4:a4f0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST ...
(more)
edit retag flag offensive close merge delete

Comments

please identify your problem clearly.. Can u ping the guest virtual machines from your external network ? Is internet working on your guest virtual machines ?

Zaino gravatar imageZaino ( 2013-10-20 01:10:09 -0500 )edit

Hi Zain, Currently I cannot ping the guest virtual machines from my external network, nor is internet working on my guest VMs. The problem is that from my router, I cannot reach the external network, thus no VM can reach the external network.

MikeW gravatar imageMikeW ( 2013-10-20 10:21:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-20 14:10:05 -0500

Zaino gravatar image

The problems seems to be with your network connection interfaces.

  • Your external network card (eth0) should not get ip address so disconnect it from ubuntu network manager.
  • Your external bridge (int-br-ex) should get ip address instead of external interface card (eth0).
  • After disconnecting external network card (eth0) interface restart network service.
  • ifconfig to verify that first two points are satisfied.
  • Finally delete your existing openstack network (routers, switches, floating ips etc) and create new openstack network.

For more help please visit post

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: 2013-10-18 19:31:43 -0500

Seen: 1,008 times

Last updated: Oct 20 '13