Managed OpenStack
Latest
Assign Specific MAC to Instance
Problem
Assign a specific MAC address to a port and attach it to an instance.
Environment
Platform9 Managed OpenStack - All Versions
Procedure
Create a port with a fixed IP and MAC address using the following CLI command.
# openstack port create --network=[Network UUID] --fixed-ip subnet=[Subnet UUID],ip-address=10.128.228.24 --mac-address=fa:16:3e:aa:bb:cc [port_name]
Create a server using and attach the created port to it using the following command.
# openstack server create --image [image UUID] --flavor 1 --port [port UUID] [instance-name]
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
