In this instance, wouldn't you want just a single interface and then have 3 IPs on it? The primary flag is a marker for which nictag should be used as the default route.
On Fri, Sep 25, 2015, 14:28 Eric <[email protected]> wrote: > > > On September 25, 2015 5:11:52 PM EDT, Ian Collins <[email protected]> > wrote: > > > > From the vmadm man page: > > > > nics.*.primary > > > > This option selects which NIC's default gateway and > >nameserver values > > will be used for this VM. If a VM has any nics, there must > >always be > > exactly one primary. Setting a new primary will unset the > >old. Trying > > to set two nics to primary is an error. > > > > type: boolean (only true is valid) > > vmtype: OS,KVM > > listable: yes (see above) > > create: yes > > update: yes (setting primary=true on one NIC removes the > >flag from the > > current primary, and sets on the new) > > > >Note "type: boolean (only true is valid)" > > Only one nic is set to primary. I don't think the proper interface is > being chosen when setting the default route during provisioning. If there > is only one nic from the same subnet, it works, but if there are more than > one, it doesn't know which IP should be used as the primary (even though > the primary option is set to a specific nic). > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
