<div dir="ltr"><div><div><div><div>hi,<br><br></div>according to this doc: <a href="http://docs.oracle.com/cd/E19455-01/806-5529/6jehkcs2t/index.html">http://docs.oracle.com/cd/E19455-01/806-5529/6jehkcs2t/index.html</a><br>
<br>I have create a /etc/dhcp.interface (vnic1) file. Then rebooted and I have link, but things are a bit strange:<br><br># ipadm show-addr<br>ADDROBJ           TYPE     STATE        ADDR<br>lo0/v4            static   ok           <a href="http://127.0.0.1/8">127.0.0.1/8</a><br>
vnic1/?           dhcp     ok           <a href="http://192.168.0.171/24">192.168.0.171/24</a><br>lo0/v6            static   ok           ::1/128<br>vnic1/v4          dhcp     disabled     ?<br><br></div>So I deleted the vnic1 interface, recreated it with just ipadm create-if vnic1 and rebooted with the /etc/dhcp.interface file and now it works:<br>
<br># ipadm show-addr<br>ADDROBJ           TYPE     STATE        ADDR<br>lo0/v4            static   ok           <a href="http://127.0.0.1/8">127.0.0.1/8</a><br>vnic1/?           dhcp     ok           <a href="http://192.168.0.171/24">192.168.0.171/24</a><br>
lo0/v6            static   ok           ::1/128<br><br></div>Is this the right way to do it?<br><br>-- <br></div>groet,<br>Natxo<br><div><div><div><div><div><div><div><div class="gmail_extra"><br></div></div></div></div></div>
</div></div></div></div>