← Back to team overview

openstack team mailing list archive

Re: <ask> Specify starting Ip dchp Openstack

 

192.168.2.21/24 means use 192.168.2.1 thru 192.168.254, ie. the last 8 bits define the network addresses. Have a read of this to explain fully http://www.techrepublic.com/article/ip-subnetting-made-easy/6089187 

" The most important thing to know about chopping up a network is that you can't arbitrarily pick the beginning and ending. The chopping must be along clean binary divisions." 


----- Original Message -----


From: "Iftakhul Anwar" <anwar@xxxxxxxxxxxx> 
To: openstack@xxxxxxxxxxxxxxxxxxx 
Sent: Friday, 21 September, 2012 5:35:26 AM 
Subject: [Openstack] <ask> Specify starting Ip dchp Openstack 

Hi All, 


I've intalled openstack essex on ubuntu 12.04 successfully.But i get confuse about dhcp configuration.i'm running on network 192.168.2.0.my eth0 have ip 192.168.2.20. 
I use float ip= 192.168.2.21/24 then fixed ip range = 172.16.1.30/16 . 


Actually everything running well, i can running instance, accessing instance from ip which get from dhcp.But my dhcp start from 192.168.2.1. i want my dhcp start from 192.168.2.23. 


what should i do to solve this issue ? 




this is my nova.conf 





--dhcpbridge_flagfile=/etc/nova/nova.conf 
--dhcpbridge=/usr/bin/nova-dhcpbridge 
--logdir=/var/log/nova 
--state_path=/var/lib/nova 
--lock_path=/var/lock/nova 
--allow_admin_api=true 
--use_deprecated_auth=false 
--auth_strategy=keystone 
--scheduler_driver=nova.scheduler.simple.SimpleScheduler 
--s3_host=192.168.2.20 
--ec2_host=192.168.2.20 
--rabbit_host=192.168.2.20 
--cc_host=192.168.2.20 
--nova_url= http://192.168.2.20:8774/v1.1/ 
--routing_source_ip=192.168.2.20 
--glance_api_servers= 192.168.2.20:9292 
--image_service=nova.image.glance.GlanceImageService 
--iscsi_ip_prefix=192.168.22 
--sql_connection=mysql:// nova:f00bar@127.0.0.1/nova 
--ec2_url= http://192.168.2.20:8773/services/Cloud 
--keystone_ec2_url= http://192.168.2.20:5000/v2.0/ec2tokens 
--api_paste_config=/etc/nova/api-paste.ini 
--libvirt_type=kvm 
--libvirt_use_virtio_for_bridges=true 
--start_guests_on_host_boot=true 
--resume_guests_state_on_host_boot=true 
--vnc_enabled=true 
--vncproxy_url= http://192.168.2.20:6080 
--vnc_console_proxy_url= http://192.168.2.20:6080 
# network specific settings 
--network_manager=nova.network.manager.FlatDHCPManager 
--public_interface=eth0 
--flat_interface=eth0:1 
--flat_network_bridge=br100 
--fixed_range= 172.16.1.30/16 
--floating_range= 192.168.2.20/24 
--network_size=30 
--flat_network_dhcp_start=172.16.1.31 
--flat_injected=False 
--force_dhcp_release 
--iscsi_helper=tgtadm 
--connection_type=libvirt 
--root_helper=sudo nova-rootwrap 
--verbose 




Help me to solve this 


Thanks -- 
M.Iftakhul Anwar 
Meruvian Integrator 
High Performance Computing / Cloud Computing (HPC/CC) 






Office Phone : 021-93586577 
Mobile Phone : 085215331477 
Blog : http://blog.mervpolis.com/roller/anwar 
FB : http://www.facebook.com/troya.adromeda 
Website : www.meruvian.org 



_______________________________________________ 
Mailing list: https://launchpad.net/~openstack 
Post to : openstack@xxxxxxxxxxxxxxxxxxx 
Unsubscribe : https://launchpad.net/~openstack 
More help : https://help.launchpad.net/ListHelp 


References