Can "liberate" ip address on DHCP Sub-net ?

asked 2017-03-06 02:29:06 -0500

mrexojo gravatar image

Hi,

I have to assign ip address concrete with dhcp , but this ip-address currently is in use by other instance

¿can I liberate this ip-address for use "neutron port-update ...." , if Idon't know what instance is using it?

edit retag flag offensive close merge delete

Comments

You can change the port, but I doubt the instance will be aware of it, and it will just continue using its IP address.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-06 08:45:07 -0500 )edit

You can, however, find out which instance uses the port. As admin, run openstack port show. If the device_id is compute:nova, then device_owner is the instance.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-06 08:48:02 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-05-17 01:32:56 -0500

mrexojo gravatar image

Thanks. I had to re-assig ip addresses for the actual instance and for the new instance, with the follow command:

neutron port-update <port_id> --fixed-ip subnet_id=<subnet_id>,ip_address=”<ipaddress>”

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-03-06 02:29:06 -0500

Seen: 115 times

Last updated: May 17 '17