<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you try <div>$ dmesg | grep eth</div><div>thanks</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co - Razique Mahroua</b></span><span class="Apple-style-span" style="color: rgb(19, 112, 138); font-family: Helvetica; "><b> </b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span><img height="125" width="125" id="8f1eb5e7-c4d7-4175-a735-1275e419531a" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></div>
<br><div><div>Le 8 nov. 2012 à 18:05, Stephen Liu <<a href="mailto:satimis@yahoo.com">satimis@yahoo.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hi,<br><br>Thanks for your advice. <br><br>I see. eth0 and eth1 are virtual NIC.<br><br>Performed following steps;<br><br># ifconfig<br>eth0 Link encap:Ethernet HWaddr 00:26:18:44:b6:1a <br> inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0<br> inet6 addr: fe80::226:18ff:fe44:b61a/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:2437 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:2216 errors:0 dropped:0 overruns:0
carrier:1<br> collisions:0 txqueuelen:1000 <br> RX bytes:2427087 (2.4 MB) TX bytes:344276 (344.2 KB)<br> Interrupt:42 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:368 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:368 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0
txqueuelen:0 <br> RX bytes:61669 (61.6 KB) TX bytes:61669 (61.6 KB)<br><br># apt-get install bridge-utils<br><br># gedit /etc/network/interfaces<br>auto lo<br>iface lo inet loopback<br><br>auto eth0 <br> iface eth0 inet static<br> address 192.168.0.11<br> network 192.168.0.0<br> netmask 255.255.255.0<br> broadcast 192.168.0.255<br> gateway 192.168.0.1<br><br>auto eth1<br> iface eth1 inet static<br> address 192.168.22.1<br> network 192.168.22.0<br> netmask 255.255.255.0<br> broadcast 192.168.22.255<br><br># /etc/init.d/networking restart<br> * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces<br> * Reconfiguring network
interfaces... * Disconnecting iSCSI targets<br> ...done.<br> * Stopping iSCSI initiator service<br> ...done.<br> * Starting iSCSI initiator service iscsid<br> ...done.<br> * Setting up iSCSI targets<br> ...done.<br>ssh stop/waiting<br>ssh start/running, process 3301<br>Cannot find device "eth1"<br>Failed to bring up
eth1.<br> [ OK ]<br><br># ifconfig<br>eth0 Link encap:Ethernet HWaddr 00:26:18:44:b6:1a <br> inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0<br> inet6 addr: fe80::226:18ff:fe44:b61a/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1<br> RX packets:2839 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:2693 errors:0 dropped:0 overruns:0 carrier:2<br> collisions:0 txqueuelen:1000 <br> RX bytes:2532982 (2.5 MB) TX bytes:401990 (401.9 KB)<br> Interrupt:42 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:552
errors:0 dropped:0 overruns:0 frame:0<br> TX packets:552 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:91141 (91.1 KB) TX bytes:91141 (91.1 KB)<br><br><br><div># cat /etc/udev/rules.d/70-persistent-net.rules <br>.......<br>.......<br># PCI device 0x1969:/sys/devices/pci0000:00/0000:00:06.0/0000:02:00.0 (ATL1E)<br>SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:18:44:b6:1a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"</div><div><br></div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Sorry I forgot how to edit this file. I did it many times in the past.</div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Please advise. TIA</div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">B.R.</div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Stephen L<br><span></span></div><div style="font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Razique Mahroua <<a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a>><br> <b><span style="font-weight: bold;">To:</span></b> Stephen Liu <<a href="mailto:satimis@yahoo.com">satimis@yahoo.com</a>> <br><b><span style="font-weight: bold;">Cc:</span></b> "<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, November 9, 2012 12:07 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack-operators] About NIC<br> </font> </div> <br><div id="yiv934166331">Hey there, please find my answers above <div><div>
<span class="yiv934166331Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><span class="yiv934166331Apple-style-span" style="font-family:Helvetica;"><span class="yiv934166331Apple-style-span" style="font-family:Helvetica;"><b style="color:rgb(19, 112, 138);">Nuage & Co - Razique Mahroua</b></span><span class="yiv934166331Apple-style-span" style="color:rgb(19, 112, 138);font-family:Helvetica;"><b> </b></span><span class="yiv934166331Apple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="yiv934166331Apple-style-span" style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><span class="yiv934166331Apple-style-span" style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="yiv934166331Apple-style-span" color="#13708a"><a rel="nofollow" ymailto="mailto:razique.mahroua@gmail.com" target="_blank" href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="yiv934166331Apple-interchange-newline"><span></span><span style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="font-weight: normal; "></span></span><span><span><NUAGECO-LOGO-Fblan_petit.jpg></span></span>
</span></span></span></div>
<br><div><div>Le 8 nov. 2012 à 15:48, Stephen Liu <<a rel="nofollow" ymailto="mailto:satimis@yahoo.com" target="_blank" href="mailto:satimis@yahoo.com">satimis@yahoo.com</a>> a écrit :</div><br class="yiv934166331Apple-interchange-newline"><blockquote type="cite"><div style="background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:12pt;"><div>Hi all,</div><div><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">I'm following;</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">Installing OpenStack Essex (2012.1) on Ubuntu 12.04 ("Precise Pangolin")<br><a rel="nofollow" target="_blank" href="http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin">http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin</a></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">to install OpenStack on Ubuntu 12.04
desktop 64bit.</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">According to "Step 1: Prepare your System"</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><a rel="nofollow" target="_blank" href="http://www.hastexo.com/resources/docs/installing-openstack-essex-4-ubuntu-1204-precise-pangolin/step-1-prepare-your-system">http://www.hastexo.com/resources/docs/installing-openstack-essex-4-ubuntu-1204-precise-pangolin/step-1-prepare-your-system</a></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica,
sans-serif;background-color:transparent;font-style:normal;">it needs 2 NICs for the test.
Please advise;</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">1) <br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">Can I have one NIC to continue the test? If NO then I'll install an additional NIC on this PC.</div></div></blockquote>Yes you can only have one NIC, make sure to update all the settings accordingly.</div><div>You can also create an alias (eth0:0) or a new ip on the interface (ip addr add XXXX/Y dev eth0)</div><div><br><blockquote type="cite"><div style="background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:12pt;"><div style="font-size:16px;font-family:arial, helvetica,
sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">2)</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">I suppose</div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;"><code>auto eth1<br>iface eth1 inet static<br>address 192.168.22.1</code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>.....</code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;">....</div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><br><code></code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>is to connect Internet? The setting on my router is "192.168.0.0 up". Can I set the address according to the settings on my router?</code></div></div></blockquote>It depends on what you are trying yo achieve, but if you have an extra interface, it won't need to access to the internet, eth0 would be good for that<br><blockquote type="cite"><div style="background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:12pt;"><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><br><code></code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>3)</code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>I suppose eth0 is for internal connection. Should I set the entries exactly identical to the instruction?</code></div></div></blockquote>Nope, totally up to you. I usually have three interfaces : eth0 for internet acces, eth1 for internal network and eth3 for rescue/admin access</div><div><br><blockquote type="cite"><div style="background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:12pt;"><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><br><code></code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>TIA</code></div></div></blockquote>sure :)</div><div><br><blockquote type="cite"><div><div style="background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:12pt;"><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><br><code></code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>B.R.</code></div><div style="font-size:16px;font-family:monospace;background-color:transparent;font-style:normal;"><code>Stephen L<br></code></div></div></div>_______________________________________________<br>OpenStack-operators mailing list<br><a rel="nofollow" ymailto="mailto:OpenStack-operators@lists.openstack.org" target="_blank" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br></blockquote></div><br></div></div><br><br> </div> </div> </blockquote></div> </div></blockquote></div><br></div></body></html>