Today Theo Schlossnagle wrote:

> 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

oh ... I did that ... sorry ... not mentioned ... same problem ...
ipadm only accepts the setting with the -t switch

cheers
tobi

>
> On Wed, Dec 17, 2014 at 2:54 AM, Tobias Oetiker <t...@oetiker.ch> wrote:
> >
> > I seem to run into trouble with ipadm ...
> >
> > here is the latest
> >
> >  root@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@mplon:~# ipadm  enable-addr -t mplon0/v6
> >  ipadm: could not enable address: Object not found
> >  root@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@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 t...@oetiker.ch +41 62 775 9902
> >
> > _______________________________________________
> > OmniOS-discuss mailing list
> > OmniOS-discuss@lists.omniti.com
> > http://lists.omniti.com/mailman/listinfo/omnios-discuss
> >
>
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch t...@oetiker.ch +41 62 775 9902

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to