[Openstack] [Quantum] Need router to create a private (provider) network that uses DHCP

Xu He Jie xuhj at linux.vnet.ibm.com
Fri Nov 30 04:58:09 UTC 2012


On 2012?11?30? 05:44, Ahmed Al-Mehdi wrote:
> Hello,
>
> I have a general Quantum question.  Do I need an external network or 
> even a router, for a VM to get an IP address (through DHCP) from a 
> private network.
Hi, Ahmed,
External network used for floatingip allocation. You needn't create 
external network and router.
>
> I am running into an issue where a VM is timing out getting an IP 
> address.  I used the following commands to create the network and 
> sub-network:
Could you ensure that 'quantum-dhcp-agent' is startup?

Thanks.
Alex
>
> # quantum net-create --tenant-id $put_id_of_project_one net_proj_one 
> --provider:network_type vlan --provider:physical_network physnet1 
> --provider:segmentation_id 1024
> # quantum subnet-create --tenant-id $put_id_of_project_one 
> net_proj_one 10.10.10.0/24 <http://10.10.10.0/24>
>
> # quantum router-create --tenant-id $put_id_of_project_one router_proj_one
> # quantum router-interface-add $put_router_proj_one_id_here 
> $put_subnet_id_here
>
> Thank you,
> Ahmed.
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121130/39f6a2e2/attachment.html>


More information about the Openstack mailing list