On 23 August 2016 at 14:14, Robert Mustacchi <[email protected]> wrote:
> On 8/23/16 14:10 , Evan Rowley wrote:
>> Each SmartOS node has a dual intel NIC. The admin interface is on igb0 and
>> I would like to trunk VLAN 101 on igb1.
> So if you want your KVM VMs to basically have a VNIC whose packets are
> always tagged with the VLAN 101, all you need to do is specify the
> vlan_id 101 in the JSON definition for the network.
>
> There's nothing that you need to do in the GZ, just use the nic tag that
> corresponds to the physical device that the packets need to travel over.
NIC tags are managed via the "nictagadm" command. This command is
documented in a manual page, which is also available online:
https://smartos.org/man/1M/nictagadm
If you use "nictagadm list", you'll likely see that the "admin" NIC
tag exists on igb0 already. You'll want to create a second NIC tag on
igb1, which you can use as Robert describes with the "vlan_id"
property. That property is described in the manual page for vmadm:
https://smartos.org/man/1M/vmadm
Cheers.
--
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org
-------------------------------------------
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