On Fri, Jun 2, 2017, at 09:50 AM, Hanno Hirschberger wrote:
> Hello everyone,
>
> I'm currently using SmartOS (build: SmartOS 20160218T022556Z x86_64) for
> a bunch of different KVM virtualized machines. Normally these machines
> are getting a vnic on the external network interface to communicate with
> the outside. Now I need to create two machines which are linked together
> in a private network. I want to use an etherstub and two vnics (one for
> each machine) linked to that etherstub to achieve this.
>
> While this is no problem to do in a bash on SmartOS, I'd love to use a
> more cleaner approach with the JSON machine descriptors - if possible!
> But I don't know what to write in the machine settings JSON file. So
> maybe you can help me out. Is that possible or do I have to do this
> outside of the 'vmadm' command?
>
You can create a persistent etherstub with nictagadm:
nictagadm add -l estub1
Then you can use estub1 as your nic_tag property.
-Ryan
-------------------------------------------
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