cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject Re: Any way to cause CloudStack to use non-primary NIC
Date Tue, 21 Nov 2017 09:07:35 GMT
Jay - if you want to switch the default nic of your VM instance to some other nic try this
-- using UI -> go to the VM->Nic->Scroll to the nic you want to set as default, click
the "Set default NIC" button and after the operation completes fix the nic inside your VM.

Alternatively, try the API:

(local) 🐵 > update defaultnicforvirtualmachine -h
(updateDefaultNicForVirtualMachine) Changes the default NIC on a VM
This API is asynchronous.
Required params are nicid virtualmachineid
nicid = (uuid) NIC ID
virtualmachineid = (uuid) Virtual Machine ID

- Rohit

From: Jay Hahn-Steichen <>
Sent: Monday, November 20, 2017 12:14:16 PM
Subject: Any way to cause CloudStack to use non-primary NIC


I would like to experiment with a cloudstack configuration where the
primary NIC (e.g. eth0) is used only for logging into the server directly,
and the cloudstack components use eth1.  The two nics are on different LAN

From my reading of the docs, there is a built-in assumption that cloudstack
will use eth0.  Is there a place/way to change this default behavior?

53 Chandos Place, Covent Garden, London  WC2N 4HSUK

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message