Revision history [back]

openstack port create --network net1 --fixed-ip subnet=subnet1,ip-address=192.168.2.40 port1

below link could help,

http://ibm-blue-box-help.github.io/help-documentation/openstack/userdocs/Creating-an-Instance-with-a-Specific-Fixed-IP/