<div dir="ltr"><div><div>Hi <span class=""><font color="#888888">Prashanth</font></span><br><br></div>whether can share your netwrok interface setting /etc/netwrok/interface.<br><br></div><div>I am not sure the setting .<br>
<br><div>physical_interface_mappings = physnet2:eth2</div></div><div><br><br></div><div>what I need to setting in eth2?<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 11:38 PM, Prashanth Prahalad <span dir="ltr"><<a href="mailto:prashanth.prahal@gmail.com" target="_blank">prashanth.prahal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Folks,<div><br></div><div>I'm setting up quantum with linux bridge. I might have configured this incorrectly and looking for some help on what could be going on. </div>
<div><br></div><div>This is my quantum.conf and linuxbridge_conf.ini - which tries to setup the linux bridge over eth2.<br>
</div><div><br></div><div><div>[DEFAULT]</div><div>auth_strategy = keystone</div><div>allow_overlapping_ips = True</div><div>policy_file = /etc/quantum/policy.json</div><div>debug = True</div><div>verbose = True</div>
<div>service_plugins = quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin</div><div>core_plugin = quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2</div><div>rabbit_password = openstack</div>
<div>rabbit_host = localhost</div><div>rpc_backend = quantum.openstack.common.rpc.impl_kombu</div><div>state_path = /opt/stack/data/quantum</div><div>debug = True</div><div>verbose = True</div><div>lock_path = $state_path/lock<br>
</div><div>log_file = quantum.log<br></div><div>log_dir = /var/log/quantum</div><div>bind_host = 0.0.0.0<br></div><div>bind_port = 9696<br></div><div><......></div></div><div><div><br></div><div>linuxbridge_conf.ini<br>
</div><div><br></div><div><div>[VLANS]</div><div>tenant_network_type = vlan</div><div>network_vlan_ranges = physnet2:1000:2999<br></div><div>[DATABASE]<br></div><div>sql_connection = mysql://root:openstack@localhost/quantum_linux_bridge?charset=utf8</div>
<div>reconnect_interval = 2</div><div>[LINUX_BRIDGE]<br></div><div>physical_interface_mappings = physnet2:eth2</div><div>[AGENT]<br></div><div>root_helper = sudo /usr/local/bin/quantum-rootwrap /etc/quantum/rootwrap.conf</div>
<div>polling_interval = 2</div><div>[SECURITYGROUP]<br></div><div>firewall_driver = quantum.agent.linux.iptables_firewall.IptablesFirewallDriver</div></div><div><br></div><div>But when the VM is booted up, it comes up over brq3c2d19b3-fa instead of br-eth2</div>
<div><br></div><div><div>bridge name bridge id STP enabled interfaces</div><div>br-eth2 8000.000cfc01f473 no eth2</div><div>brq057a0be8-e9 8000.96f0115f0c03 no tapa0dcbf6a-73</div>
<div>brq34f87736-91 8000.32245b5d90b7 no tap22c7ffb1-9f</div><div> tap874fecfb-ac</div><div>
brq3c2d19b3-fa 8000.3a84ed127b7a no tapadbf1b11-e9</div><div> tapc6c54b78-87</div><div> tapcf424b48-54</div>
<div> tapdb58671d-bd</div><div> tapdb661e2b-ff</div>
<div><br></div><div>Here's a list of commands :</div><div><br></div></div><div><div>quantum net-create sharednet1 --shared --provider:network_type=flat - provider:physical_network=physnet2<br></div><div>quantum subnet-create sharednet1 <a href="http://30.0.0.0/24" target="_blank">30.0.0.0/24</a></div>
<div><div><br></div><div>+--------------------------------------+------------+------------------------------------------------------+</div><div>| id | name | subnets |</div>
<div>+--------------------------------------+------------+------------------------------------------------------+</div><div>| 057a0be8-e9f9-4e23-a97b-08d2bdb67ad2 | public | 92b32336-76d2-4fa3-a5eb-e1a4b76c648c <a href="http://172.24.4.224/28" target="_blank">172.24.4.224/28</a> |</div>
<div>| 34f87736-91d6-4f00-ad11-fe39e76638ce | private | f315bfd5-5f8a-4fa4-bca2-0814998cf8d5 <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> |</div><div>| 3c2d19b3-fa72-4bcb-916b-8d54e0e879b1 | sharednet1 | 4691c3ca-b769-4454-9997-1b4dd851d602 <a href="http://30.0.0.0/24" target="_blank">30.0.0.0/24</a> |</div>
<div>+--------------------------------------+------------+------------------------------------------------------+</div></div><div><br></div><div>nova boot --image cirros --flavor m1.tiny --nic net-id=3c2d19b3-fa72-4bcb-916b-8d54e0e879b1 --key-name test my_first_server</div>
</div><div><br></div><div>Anything I'm missing ?</div><div><br></div><div>Thanks !</div><span class="HOEnZb"><font color="#888888"><div>Prashanth</div></font></span></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shake Chen<br><br>
</div>