<html><body><div style="color:#000; background-color:#fff; 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="color: rgb(0, 0, 0); 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="color: rgb(0, 0, 0); font-size: 16px;
 font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Please advise.  TIA</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">B.R.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Stephen L<br><span></span></div><div style="color: rgb(0, 0, 0); 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 <razique.mahroua@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Stephen Liu <satimis@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "openstack-operators@lists.openstack.org" <openstack-operators@lists.openstack.org> <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"><div>Hey there, please find my answers above <div><div>
<span class="yiv934166331Apple-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-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="color:rgb(0, 0, 0);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="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 id="yiv934166331a0e95b36-8d2d-4498-9e36-1ab3f4518dc5" src="cid:1.1307784122@web125101.mail.ne1.yahoo.com" height="125" width="125"></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><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></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><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></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><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></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><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></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>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br></blockquote></div><br></div></div></div><br><br> </div> </div> </blockquote></div>   </div></body></html>