Ask Your Question
0

linuxbridge plugin: can't ping subnet gateway

asked 2013-11-26 03:48:18 -0500

anshul tripathi gravatar image

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

Evgeny gravatar image

I installed openstack-grizzly on ubuntu server 13.04 using https://github.com/ilearnstack/cloudgear This installation uses Linuxbridge. I created an internal network 192.168.0.0/24 . I am able to ping dhcp server which has the ip 192.168.0.3 but not the internal router 192.168.0.1. What am I missing here ? Below is the list of interfaces and bridges.

ifconfig

root@ubuntu:~# ifconfig
brq44b8050f-c8 Link encap:Ethernet  HWaddr 00:50:56:b5:35:3d
          inet6 addr: fe80::20b4:9ff:fe85:a2ab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:514 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20324 (20.3 KB)  TX bytes:468 (468.0 B)

brqa72ca10e-0c Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet6 addr: fe80::687e:c6ff:fecd:2706/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr 00:50:56:b5:35:3c
          inet addr:10.35.141.242  Bcast:10.35.141.255  Mask:255.255.255.128
          inet6 addr: fe80::250:56ff:feb5:353c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28820 errors:0 dropped:15417 overruns:0 frame:0
          TX packets:7834 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2662087 (2.6 MB)  TX bytes:5199535 (5.1 MB)

eth1      Link encap:Ethernet  HWaddr 00:50:56:b5:35:3d
          inet addr:192.168.20.10  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:feb5:353d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:224306 errors:0 dropped:15682 overruns:0 frame:0
          TX packets:537 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:72604285 (72.6 MB)  TX bytes:38032 (38.0 KB)

eth1.1000 Link encap:Ethernet  HWaddr 00:50:56:b5:35:3d
          inet6 addr: fe80::250:56ff:feb5:353d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:525 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:28366 (28.3 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:65536  Metric:1
          RX packets:62595 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62595 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12976510 (12.9 MB)  TX bytes:12976510 ...
(more)
edit retag flag offensive close merge delete

Comments

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-11-26 04:23:04 -0500 )edit

Is there any solution for this problem? I need it urgently

anshul tripathi gravatar imageanshul tripathi ( 2013-11-26 05:20:58 -0500 )edit

There is no interface for any router - I presume you added the a logical interface to the router for the internal subnet? Can you provide 'quantum port-list' and 'sudo ip netns'

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-11-26 06:54:41 -0500 )edit

quantum port-list +--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+ | 529760e6-08f9-4223-86d2-02e2597a79ed | | fa:16:3e:12:2e:51 | {"subnet_id": "7bfde95e-3118-4eab-aef4-3038d372f24d", "ip_address": "192.168.0.1"} | | cae1d2b5-4b6a-4976-bab8-dff4c206c43e | | fa:16:3e:7b:68:b5 | {"subnet_id": "7bfde95e-3118-4eab-aef4-3038d372f24d", "ip_address": "192.168.0.2"} | | dde13c11-d53d-44fe-8cdf-2f29c964d0f2 | | fa:16:3e:15:22:2b | {"subnet_id": "7bfde95e-3118-4eab-aef4-3038d372f24d", "ip_address": "192.168.0.3"} | ip nets returns nothing

anshul tripathi gravatar imageanshul tripathi ( 2013-11-27 05:22:10 -0500 )edit

https://www.dropbox.com/s/d173aomssfya966/quantum.docx here is the link to all the configuration and topology

anshul tripathi gravatar imageanshul tripathi ( 2013-11-27 07:11:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-27 09:39:02 -0500

darragh-oreilly gravatar image

I had a look at the script and it does not install the quantum-l3-agent which is needed to implement the router. So you will need to install and configure it yourself.

It also has use_namespaces=False - I recommend enabling namespaces if you also want to run a router on the same machine.

edit flag offensive delete link more

Comments

thanks for the reply. Do i have make any changes in the interfaces file? I am just using one nic. auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.35.141.91 netmask 255.255.255.0 gateway 10.35.141.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.35.141.1 this is the configuration of the interfaces file

anshul tripathi gravatar imageanshul tripathi ( 2013-11-28 01:42:52 -0500 )edit

Its worked now. Just one more thing. I am able to ping the router 192.168.0.1 but not the vm from the host machine. the vm ip is 192.168.0.2

anshul tripathi gravatar imageanshul tripathi ( 2013-11-28 06:13:59 -0500 )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: 2013-11-26 03:48:18 -0500

Seen: 381 times

Last updated: Nov 27 '13