cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@shapeblue.com>
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
Parameters
==========
nicid = (uuid) NIC ID
virtualmachineid = (uuid) Virtual Machine ID



- Rohit

________________________________
From: Jay Hahn-Steichen <pesher.tehelim@gmail.com>
Sent: Monday, November 20, 2017 12:14:16 PM
To: users@cloudstack.apache.org
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

rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

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