<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> gong yong sheng <<a href="mailto:gongysh@linux.vnet.ibm.com">gongysh@linux.vnet.ibm.com</a>><br><span style="font-weight:bold">Date: </span> Wednesday, November 21, 2012 5:25 PM<br><span style="font-weight:bold">To: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Quantum networking question..<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div text="#000000" bgcolor="#FFFFFF"><div class="moz-cite-prefix">On 11/22/2012 08:23 AM, Ahmed Al-Mehdi wrote:<br></div><blockquote cite="mid:CCD2B093.5053%25ahmed@coraid.com" type="cite"><div>Hello,</div><div><br></div><div><span class="Apple-style-span">I have a question about setting up Quantum, following the steps described by Bilel Msekni ( </span><a moz-do-not-send="true" href="https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst">https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst</a> <span class="Apple-style-span">),
 which uses 3 NICs.    </span></div><div><span class="Apple-style-span">(Similar document/setup is also described by OpenStack.org also -  </span><span class="Apple-style-span" style="font-family: Consolas;
          font-size: medium; "><a moz-do-not-send="true" href="https://review.openstack.org/#/c/16096/">https://review.openstack.org/#/c/16096/</a></span><span class="Apple-style-span"> )</span></div><div><br></div><div>Based on the node diagram in Bilel's document, I understand why eth0 needs an IP address that is accessible to internet.    However,</div><div> - Why does eth1 need an IP address, since it will be used for VM network?  </div><div> - Why does eth2 not need an IP address (set to 0.0.0.0) since it is connected to the internet.</div><div><span class="Apple-style-span"><div><br></div><div>In my setup, I set an IP address to eth0 through my corp. DHCP server.  Can I similarly assign an IP address to the other eth port (be it 1 or 2) that needs connection to the internet?</div><div><br></div></span></div></blockquote>
eth1 should not have IP since it will be added into br-eth1. If you want eth1 have IP, you can move the ip to br-eth1:<br>
sudo ip addr <ip> dev br-eth1<br>
sudo ifconfig br-eth1 up<br>
eth2 is connected to br-ex bridge. If u don't need the host to access the internet via eth2, there is no need to assign an IP to eth2 or br-ex<br>
the VM's will be able to access the internet via br-ex, which is via eth2 in turn to access internet.<br><br>
You can assign an IP to br-ex so that your host can use it.<br><blockquote cite="mid:CCD2B093.5053%25ahmed@coraid.com" type="cite"><div><span class="Apple-style-span"><div>Thank you,</div><div>Ahmed.</div><div><br></div></span></div><br><fieldset class="mimeAttachmentHeader"></fieldset> <br><pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></pre></blockquote></div></div></blockquote></span><div><br></div><div>Thank you for your response/comments.  I understand what you are saying, logically makes pretty good sense.  However, my questions were geared towards understanding why the eth ports on the controller-node is configured the way they are as per the document/diagram.  Per the description, it seems the setup is done so the VMs  will have internet access, so why is no IP assigned to eth2.  And why is an IP address assigned to eth1, and where did the IP address come from.  Is there some typo in the document (which I really doubt) or most probably lack of understanding on my part.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div></body></html>