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 Parameters ========== nicid = (uuid) NIC ID virtualmachineid = (uuid) Virtual Machine ID - Rohit ________________________________ From: Jay Hahn-Steichen <[email protected]> Sent: Monday, November 20, 2017 12:14:16 PM To: [email protected] Subject: Any way to cause CloudStack to use non-primary NIC All: 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 segments. 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? Thanks. --jay [email protected] www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue
