<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    Thanks a lot for a quick response. The network shared is the
    external network right?<br>
    <br>
    Adding the points below just to confirm:<br>
    <br>
    1. external_network is shared (example ext-net).<br>
    2. demo user network demo-net subnet demo-subnet (gateway
    192.168.1.1 range 192.168.1.0/24)<br>
    3. user1 user network user1-net subnet user1-subnet (gateway
    192.168.2.1 range 192.168.2.0/24)<br>
    4. I already have a router demo-router with demo-subnet interface
    added. Also router-gateway-set to ext-net.<br>
    5. I need to add user1-subnet interface to this router using:<br>
            neutron router-interface-add demo-router user1-subnet<br>
    <br>
    Are these steps correct? <br>
    <br>
    Thanks,<br>
    <br>
    Priyanka<br>
    <br>
    <div class="moz-cite-prefix">On Monday 20 July 2015 02:35 PM, Sam
      Stoelinga wrote:<br>
    </div>
    <blockquote
cite="mid:CAJQK-miJKkhsnGX35Ew3ZEQ=ERy=Z1XQjBSLKxB-0XhOLUAKLw@mail.gmail.com"
      type="cite">
      <div dir="ltr">There are several ways to do it. 
        <div><br>
        </div>
        <div>#. You have a single router with external gateway your
          physical external network. Create another private network and
          add an interface of this private network to this router. Make
          this network shared accross tenants.</div>
        <div>#. For each tenant create a router with external gateway
          your physical external network.</div>
        <div><br>
        </div>
        <div>For reference:</div>
        <div><a moz-do-not-send="true"
href="http://docs.openstack.org/admin-guide-cloud/content/tenant-provider-networks.html">http://docs.openstack.org/admin-guide-cloud/content/tenant-provider-networks.html</a><br>
        </div>
        <div><a moz-do-not-send="true"
href="http://docs.openstack.org/icehouse/training-guides/content/operator-network-node.html#operator-openstack-networking-use-cases">http://docs.openstack.org/icehouse/training-guides/content/operator-network-node.html#operator-openstack-networking-use-cases</a><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Jul 20, 2015 at 4:32 PM,
          Priyanka <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ppnaik@cse.iitb.ac.in" target="_blank">ppnaik@cse.iitb.ac.in</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi Sam,<br>
              <br>
              Thanks. So once the external network is shared I need to
              add an interface to the existing router to add the new
              subnet I will  create for the new user similar to
              demo-subnet for demo user?<br>
              <br>
              Thanks,<br>
              <br>
              Priyanka
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On Monday 20 July 2015 11:51 AM, Sam Stoelinga
                    wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">You can do this by making the network
                      that you want to be shared between tenants
                      shared. 
                      <div><br>
                      </div>
                      <div>Both the UI or via CLI support this:<br>
                        neutron net-create --shared public-net<br>
                      </div>
                      <div>or for existing network</div>
                      <div>neutron net-update --shared public-net<br>
                      </div>
                      <div><br>
                      </div>
                      <div>Sam Stoelinga</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Jul 20, 2015 at
                        12:30 PM, Priyanka <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:ppnaik@cse.iitb.ac.in"
                            target="_blank">ppnaik@cse.iitb.ac.in</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Hi,<br>
                          <br>
                          I want to add a new user other than the demo
                          user in openstack juno. But I want the same
                          external network to be used by its VM for
                          internet connectivity. How can I do this?<br>
                          <br>
                          Thanks ,<br>
                          <br>
                          Priyanka<br>
                          <br>
_______________________________________________<br>
                          Mailing list: <a moz-do-not-send="true"
                            href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                            rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                          Post to     : <a moz-do-not-send="true"
                            href="mailto:openstack@lists.openstack.org"
                            target="_blank">openstack@lists.openstack.org</a><br>
                          Unsubscribe : <a moz-do-not-send="true"
                            href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                            rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>