No, it's not possible. Although seems like you can assign 2 nics from the same network to the vm, the things start breaking when we create network rules (firewall/pf/lb) for vm in the network. As we always assume that vm can't have more than one nic in the network.
-Alena. On 9/4/12 11:50 AM, "Facundo Guerrero" <[email protected]> wrote: >It's possible to NAT 1:1 a public IP for each of this Privates IP's? To >do that at this moment i modify the script in the VP. > > >Thanks > >El 04/09/12 03:56, Prasanna Santhanam escribió: >> On Wed, Aug 29, 2012 at 12:36:59PM -0400, Alena Prokharchyk wrote: >>> On 8/29/12 3:13 AM, "Sumita Gorla" <[email protected]> wrote: >>> >>>> Can we use Cloudstack APIs to create a VM with two NICs on the same >>>> shared network >>>> Or isolated network? >>>> >>> >>> No, one nic per user vm network. >> The API can be used to create a VM with multiple nics in the same >> network. The logic to prevent this in the UI only. You just have to >> specify the same NetworkId as a comma-seperated list. so the following >> works atm: >> >> deployVirtualMachine >> &templateId=ttt >> &serviceOfferingId=sss >> &networkId=nn,nn >> >> >> Most likely the default gateway gets clobbered and only one NIC is in >> use at all times. The other being passive. >> >> Just Curious, What would be a use-case for such a requirement though? >> >> Thanks, >> >> > >
