← Back to team overview

openstack team mailing list archive

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

 

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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


References