On 3/14/2016 4:44 PM, Humberto Ramirez wrote:
> Hi, is there a quick way to temporarily disconnect a NIC on a VM?
> "Unplug the wire" kind of thing... VMWare has a simple check box to do this.
> 
> I could just remove/add the nic to the VM but I'm sure there is a simple
> command that will accomplishes this... Right?

You could use ifconfig from the GZ to bring down the interface from
within a zone:

zlogin <uuid> ifconfig net0 down

Or, possibly use dladm set-linkprop to change the 'state' to up or down.

Attachment: signature.asc
Description: OpenPGP digital signature




-------------------------------------------
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

Reply via email to