Instances can be attached to networks in a variety of ways. At the first boot, an instance can be attached to a network using the
nova boot command. Running instances can be attached to networks using the
nova interface-attach command. Both methods are explained in the upcoming sections.
Instances are attached to networks at the first boot through the
nova boot command, the dashboard, or the Nova API. The following
nova boot flag provides a network interface to an instance:
--nic net-id=<UUID of Neutron network>
By passing the
--nic flag multiple times, it is possible to attach an instance to more than one Neutron network. The following
nova boot command demonstrates ...