<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div>Hi Nicolas,<br>
<br>
    You need another interface ( say eth1 UP & running ) .   Configure br100 to use eth1 .<br>
<br>
<br>
<br>
typically your configuration will look like the below ..<br>
<br>
<br>
<p style="font-family: courier new,monospace;"><b>/etc/network/interfaces</b></p>
<span style="font-family: courier new,monospace;"># This file describes the network interfaces available on your system</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># and how to activate them. For more information, see interfaces(5).</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># The loopback network interface</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">auto lo</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface lo inet loopback</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># The primary network interface</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">allow-hotplug eth0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface eth0 inet dhcp</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">auto eth1 <br>
<br>
auto br100</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface br100 inet static</span><a id="configuring-flat-networking"><span style="font-family: monospace;"><br>
        </span>bridge_ports   eth1<br>
</a><span style="font-family: courier new,monospace;">        address 10.0.0.1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        netmask 255.255.255.0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        bridge_stp off</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        bridge_fd 0</span> <br>
<br>
<br>
<br>
nova.conf will have the following lines too..<br>
<br>
<pre class="programlisting"><a id="d6e2752">--fixed_range=10.0.0.0/24<br>--network_size=256<br>--network_manager=nova.network.manager.FlatManager<br>--flat_interface=eth1<br>--flat_injected=False<br>--public_interface=eth0<br></a></pre>
<br>
<br>
<br>
<br>
<br>
<div style="font-family: Tahoma; font-size: 13px;">Meena Raja<br>
Consultant<br>
__________________________________________<br>
<span class="heading"><b>WIPRO TECHNOLOGIES<br>
</b></span>No 53/1 Ganapa Towers ,Near Madivala Police Station , Hosur Main Road ,Bangalore-560068<br>
Hand Phone : +91-9880549725 | Desk : +91-80-39912554 |Fax No: +91-80-25502160<br>
Email : raja.meena@wipro.com | Website : www.wipro.com<br>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF553319"><font color="#000000" face="Tahoma" size="2"><b>From:</b> openstack-bounces+raja.meena=wipro.com@lists.launchpad.net [openstack-bounces+raja.meena=wipro.com@lists.launchpad.net] on behalf of Nicolas de BONFILS
 [ndebonfils@gmail.com]<br>
<b>Sent:</b> Monday, April 09, 2012 3:57 PM<br>
<b>To:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> [Openstack] Instance can't reach dhcp or metadata<br>
</font><br>
</div>
<div></div>
<div>Hi stackers,<br>
<br>
I got, using devstack, openstack running. I can launch instance correctly (as seen in horizon state) but the instance can't reach the dhcp or the metadata.<br>
<br>
Here the topology (as it <i>should</i> be, but I maybe need to configured otherwise in the conf) of my server (one box only) :<br>
<ul>
<li>router : 192.168.23.1</li><li>server <br>
<ul>
<li>ip : 192.168.23.5 (with dhcp but always the same)<br>
</li><li>interface with external (network and internet) : eth0</li><li>interface for openvswitch bridge : br100</li><li>interface for nova/quantum/melange bridge : br100</li></ul>
</li><li>openstack
<ul>
<li>glance with file backend </li><li>quantum and melange for networking</li><li>openvswitch as plugin<br>
</li></ul>
</li></ul>
<p>You can find all the config files and log here : <a href="https://gist.github.com/2342747" target="_blank">
https://gist.github.com/2342747</a>.<br>
And networking info below.</p>
<p>Any tips, or pointing misconfiguration will be very appreciated.<br>
</p>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p style="font-family: courier new,monospace;"><b>/etc/network/interfaces</b></p>
<p><span style="font-family: courier new,monospace;"># This file describes the network interfaces available on your system</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># and how to activate them. For more information, see interfaces(5).</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># The loopback network interface</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">auto lo</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface lo inet loopback</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># The primary network interface</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">allow-hotplug eth0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface eth0 inet dhcp</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">auto br100</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        iface br100 inet static</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        address 10.0.0.1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        netmask 255.255.255.0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        bridge_stp off</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        bridge_fd 0</span> <br>
</p>
</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p style="font-family: courier new,monospace;"><b>ip addr show</b></p>
<p><span style="font-family: courier new,monospace;">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet <a href="http://127.0.0.1/8" target="_blank">
127.0.0.1/8</a> scope host lo</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet <a href="http://169.254.169.254/32" target="_blank">
169.254.169.254/32</a> scope link lo</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 ::1/128 scope host </span>
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">2: ipddp0: <BROADCAST,MULTICAST,NOARP> mtu 585 qdisc noop state DOWN qlen 1000</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ip/ddp 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether f4:XX:04:10:XX:XX brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet <a href="http://192.168.23.5/24" target="_blank">
192.168.23.5/24</a> brd 192.168.23.255 scope global eth0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 XX:e35:XX:dce0:XX:4ff:fe10:675b/64 scope global dynamic
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft 86091sec preferred_lft 86091sec</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 XX::f66d:XX:fe10:XX/64 scope link
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">18: tap9cec6d69-f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 12:23:4b:e3:3e:e7 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">19: tapba4b75d8-10: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether ce:40:f0:7c:48:b1 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">20: tap828bc57f-57: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 52:69:4a:f4:45:d7 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">23: br100: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether f2:a9:d2:11:8b:49 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet <a href="http://10.0.0.1/24" target="_blank">
10.0.0.1/24</a> brd 10.0.0.255 scope global br100</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 fe80::f0a9:d2ff:fe11:8b49/64 scope link
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">24: tapcf8c4c18-f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether d2:9f:4e:cf:ce:fa brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">25: tap60c76595-d6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 76:90:ce:a4:25:6c brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">26: tap34019134-5f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 2e:4f:bc:16:07:71 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">31: tap90748d8d-5d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 26:45:91:52:12:bd brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 fe80::2445:91ff:fe52:12bd/64 scope link
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">32: tapf937eb70-ff: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether 42:4e:31:c3:77:ba brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 fe80::404e:31ff:fec3:77ba/64 scope link
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">33: tap010cac48-f4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 500</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    link/ether b6:3e:1c:ee:ca:45 brd ff:ff:ff:ff:ff:ff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    inet6 fe80::b43e:1cff:feee:ca45/64 scope link
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">       valid_lft forever preferred_lft forever</span><br>
</p>
</blockquote>
<div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; font-family: courier new,monospace;">
<b>nova-manage service list</b><br>
<br>
Binary           Host                                 Zone             Status     State Updated_At<br>
nova-compute     192.168.23.5                    nova             enabled    :-)   2012-04-09 11:12:33<br>
nova-network     192.168.23.5                    nova             enabled    :-)   2012-04-09 11:12:32<br>
nova-volume      192.168.23.5                    nova             enabled    :-)   2012-04-09 11:12:32<br>
nova-scheduler   192.168.23.5                    nova             enabled    :-)   2012-04-09 11:12:32<br>
nova-cert        192.168.23.5                   nova             enabled    :-)   2012-04-09 11:12:32<br>
nova-consoleauth 192.168.23.5                    nova             enabled    :-)   2012-04-09 11:12:31<br>
</blockquote>
<div><br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; font-family: courier new,monospace;">
<b>brctl show</b><br>
<br>
bridge name     bridge id               STP enabled     interfaces<br>
</blockquote>
</div>
</div>
<br>
<br>
Thanks,<br clear="all">
<div><br>
</div>
---
<div>Nicolas</div>
<br>
</div>
</div>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>