<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 2:17 AM, Adam Kimball <span dir="ltr"><<a href="mailto:baha@linux.vnet.ibm.com" target="_blank">baha@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>
      
    </p>
    <div class="m_3429812565074927812m_1127911837535680887idw-label m_3429812565074927812m_1127911837535680887pim-mailread-mailcontent" id="m_3429812565074927812m_1127911837535680887dwa_widget_label_44">
      <div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10.5pt">
        <div dir="ltr">Greetings,</div>
        <div dir="ltr"> </div>
        <div dir="ltr">I've been attempting to get a working devstack
          configuration for a few days no, and have been running into
          issues with networking. Specifically, after creating a local
          server, I've been unable to connect to it using a public
          interface from the same machine. Here are the steps I've
          attempted thus far:</div>
        <div dir="ltr"> </div>
        <ul dir="ltr">
          <li>Run devstack via stack.sh, with passwords correctly
            initialized
            <ul>
              <li>Note: upon completion, there are two 'default'
                security group entries listed when running 'openstack
                security group list'.</li>
            </ul>
          </li>
          <li>On both security groups, rules were created in an attempt
            to allow ssh and ping
            <ul>
              <li>openstack security group rule create
                $secgroup_uuid --protocol tcp --dst-port 22 --remote-ip
                <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a></li>
              <li>openstack security group rule create
                $secgroup_uuid --protocol udp --dst-port 22 --remote-ip
                <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a></li>
              <li>openstack security group rule create $secgroup_uuid
                --protocol icmp --dst-port -1 --remote-ip <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a></li>
            </ul>
          </li>
          <li>We then launch an instance
            <ul>
              <li>openstack server create --image
                cirros-0.3.4-x86_64-uec --flavor m1.medium test</li>
            </ul>
          </li>
          <li>
            <div>This instance seems to launch fully. It has an address
              from the network named 'public'.</div></li></ul></div></div></div></blockquote><div><br><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">​        'public' networks are external and if your intention is to get public ip for ur instances then create a provider network instead , create a subnet in it and assign it the range of free IP in your network. Now, once you have network in place make sure you map it to correct interface of the host . Now you can boot the VM with the network you just created and it will get one of your public IP.<br><br></div><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">Other way is created a private network. Boot VM on this network. Create external network and assign a pool of free IPs on your public network. Create router and do the needed. Create a FIP and attach it to VM. Its done your VM has now external connectivity.<br><br></div><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"> Hope this help.<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div class="m_3429812565074927812m_1127911837535680887idw-label m_3429812565074927812m_1127911837535680887pim-mailread-mailcontent" id="m_3429812565074927812m_1127911837535680887dwa_widget_label_44"><div dir="ltr" style="font-family:Arial,Helvetica,sans-serif;font-size:10.5pt"><ul dir="ltr"><li>
            <ul>
              <li>
                <div>However, according to the logs, as it's coming up,
                  DHCP seems to fail!</div>
              </li>
              <li>
                <div>I have also tried with Ubuntu, rather than cirros,
                  to check for image corruption.</div>
              </li>
            </ul>
          </li>
        </ul>
        <div dir="ltr">As a result, I'm unable to ping or ssh into the
          instance. Any thoughts or helpful comments?</div>
        <div dir="ltr"> </div>
        <div dir="ltr">Thanks,</div>
        <div dir="ltr">Adam Kimball</div>
      </div>
    </div>
  </div>

<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="m_3429812565074927812gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-family:trebuchet ms,sans-serif">Regards,<br></span></div><span style="font-family:trebuchet ms,sans-serif">Vikash</span><br></div></div>
</div></div>