[OmniOS-discuss] vnic zone disabled after reboot
Zach Malone
zmalone at omniti.com
Mon Aug 18 14:49:28 UTC 2014
Hello Natxo,
If you create /etc/ files to configure an interface, ipadm will no
longer be the primary way to administer them. ipadm replaces the old
/etc/ and methods of interface creation. You can still use both, but
they tend to step on each other's toes.
I'd try http://omnios.omniti.com/wiki.php/GeneralAdministration#SettingupdynamicDHCPnetworking
instead, which should leave you with enabled permanent interfaces that
can be managed via ipadm.
--Zach
On Sat, Aug 16, 2014 at 9:59 AM, Natxo Asenjo <natxo.asenjo at gmail.com> wrote:
> hi,
>
> according to this doc:
> http://docs.oracle.com/cd/E19455-01/806-5529/6jehkcs2t/index.html
>
> I have create a /etc/dhcp.interface (vnic1) file. Then rebooted and I have
> link, but things are a bit strange:
>
> # ipadm show-addr
> ADDROBJ TYPE STATE ADDR
> lo0/v4 static ok 127.0.0.1/8
> vnic1/? dhcp ok 192.168.0.171/24
> lo0/v6 static ok ::1/128
> vnic1/v4 dhcp disabled ?
>
> 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:
>
> # ipadm show-addr
> ADDROBJ TYPE STATE ADDR
> lo0/v4 static ok 127.0.0.1/8
> vnic1/? dhcp ok 192.168.0.171/24
> lo0/v6 static ok ::1/128
>
> Is this the right way to do it?
>
> --
> groet,
> Natxo
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
More information about the OmniOS-discuss
mailing list