Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Create a port with required details in a virtual network :


neutron port-create --fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR --security-group SECURITY_GROUP <network-id>

After a port is created, attach security group to it.

Once port it is created in a specific network, use nova command to attach the interface to a virtual machine.

nova interface-attach --port-id <port-id> <server-id>