[OmniOS-discuss] ipadm issues
Theo Schlossnagle
jesus at omniti.com
Wed Dec 17 13:48:57 UTC 2014
I think you have to have an addrconf ipv6 first, then you can add the
static one.
ipadm create-addr -T addrconf mplon0/v6a
ipadm create-addr -T static -a 2001:2620:102d::cb/64 mplon0/v6static
On Wed, Dec 17, 2014 at 2:54 AM, Tobias Oetiker <tobi at oetiker.ch> wrote:
>
> I seem to run into trouble with ipadm ...
>
> here is the latest
>
> root at simplon:~# ipadm show-addr
> ADDROBJ TYPE STATE ADDR
> lo0/v4 static ok 127.0.0.1/8
> mplon0/v4static static ok 118.124.138.203/28
> mplon0/v4intern static ok 192.168.1.4/24
> lo0/v6 static ok ::1/128
> mplon0/v6 addrconf disabled ::
> mplon0/v6a static disabled 2001:2620:102d::cb/64
> root at mplon:~# ipadm enable-addr -t mplon0/v6
> ipadm: could not enable address: Object not found
> root at mplon:~# ipadm enable-addr -t mplon0/v6a
> ipadm: could not enable address: Object not found
>
> I was able to solve this to an extent by removing the ip6 stuff
> from /etc/ipadm.conf, and then running ipdam again but it would not
> let me add permanent config:
>
> root at mplon:~# ipadm create-addr -T static -a 2001:2620:102d::cb/64
> mplon0/v6a
> ipadm: Could not create address: Persistent operation on temporary object
>
> At least adding a temporary address worked:
>
> ipadm create-addr -t -T static -a 2001:2620:102d::cb/64 mplon0/v6a
>
> how to make ipadm see the light ?
>
> cheers
> tobi
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> www.oetiker.ch tobi at oetiker.ch +41 62 775 9902
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
--
Theo Schlossnagle
http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20141217/1f864e59/attachment.html>
More information about the OmniOS-discuss
mailing list