On Thu, Jun 5, 2014 at 10:36 AM, Robert Mustacchi via smartos-discuss <
[email protected]> wrote:

>
>
> > On another point, I found an old post in my archives form 2012 where you
> > mentioned the vmadm man page describes how to set up the json for an
> > interface to use an external DHCP server.
> >
> > Is that still an option?  It isn't in the current man page.
>
> It is. You just set nics.*.ip to dhcp. Unless I'm misunderstanding what
> you want.
>

That works for me. DHCP server on a pfsense router, ubuntu vm:

[root@menas2 ~]# vmadm get 1d702610-8248-4cf0-999f-6c65994fa04d
{
  "zonename": "1d702610-8248-4cf0-999f-6c65994fa04d",
  "autoboot": true,
  "brand": "kvm",
....
  "create_timestamp": "2014-05-27T23:10:56.811Z",
...
 "nics": [
    {
      "interface": "net0",
      "mac": "62:c1:ee:17:b9:b3",
      "nic_tag": "admin",
      "ip": "dhcp",
      "model": "virtio",
      "primary": true
    }



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