← Back to team overview

openstack team mailing list archive

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

 

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.

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:

# 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

# 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.

Follow ups