Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-28 Thread Nicholas Papadonis
Issue resolved.

svcadm disable svc:/network/physical:nwam
svcadm enable svc:/network/physical:default

use ipadm to configure static and dhcp interfaces…

> On Mar 25, 2020, at 3:59 PM, Nicholas Papadonis  
> wrote:
> 
> I installed OpenIndiana and am trying to configure a static IP.  I try to 
> delete the address to follow the procedure for a static ip, however this 
> action does not work.
> 
> Any guidance appreciated.  Thanks
> 
> $ ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8 
> e1000g0/_bdhcp ok   10.0.2.15/24 
> e1000g1/_bdhcp ok   192.168.56.102/24 
> 
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm delete-addr e1000g1/_b
> 
> $ sudo ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8 
> e1000g0/_bdhcp ok   10.0.2.15/24 
> e1000g1/_bdhcp ok   192.168.56.102/24 
> 
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm down-addr e1000g1/_b
> ipadm: Could not mark the address down: Persistent operation on temporary 
> object
> 
> I'm reading:
> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html 
> 
> 
> 
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-27 Thread Jonathan Adams
zones set physical:default instead of physical:nwam by default.

if you're in a virtualbox you'll need to follow the instructions at the
link, as provided by Till:
http://docs.openindiana.org/handbook/systems-administration/#configuring-networking

svcadm disable physical:nwam
svcadm enable physical:default
ipadm create-addr -T static -a local=192.168.1.22/24 e1000g0/v4static

etc.

Jon

On Fri, 27 Mar 2020 at 16:19, Nicholas Papadonis <
nick.papadonis...@gmail.com> wrote:

> I should have added I’m running OpenIndiana in a VirtualBox session with a
> host based network adapter.  The similar configuration works on Linux
> distributions.
>
>
> > On Mar 26, 2020, at 12:51 PM, Nicholas Papadonis <
> nick.papadonis...@gmail.com> wrote:
> >
> > Hi Folks,
> >
> > Is this a known issue or am I reading the wrong documentation?
> >
> > Thanks
> >
> >> On Mar 25, 2020, at 3:59 PM, Nicholas Papadonis <
> nick.papadonis...@gmail.com > wrote:
> >>
> >> I installed OpenIndiana and am trying to configure a static IP.  I try
> to delete the address to follow the procedure for a static ip, however this
> action does not work.
> >>
> >> Any guidance appreciated.  Thanks
> >>
> >> $ ipadm show-addr
> >> ADDROBJ   TYPE STATEADDR
> >> lo0/v4static   ok   127.0.0.1/8  >
> >> e1000g0/_bdhcp ok   10.0.2.15/24 <
> http://10.0.2.15/24>
> >> e1000g1/_bdhcp ok   192.168.56.102/24 <
> http://192.168.56.102/24>
> >> lo0/v6static   ok   ::1/128
> >> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> >> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> >>
> >> $ sudo ipadm delete-addr e1000g1/_b
> >>
> >> $ sudo ipadm show-addr
> >> ADDROBJ   TYPE STATEADDR
> >> lo0/v4static   ok   127.0.0.1/8  >
> >> e1000g0/_bdhcp ok   10.0.2.15/24 <
> http://10.0.2.15/24>
> >> e1000g1/_bdhcp ok   192.168.56.102/24 <
> http://192.168.56.102/24>
> >> lo0/v6static   ok   ::1/128
> >> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> >> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> >>
> >> $ sudo ipadm down-addr e1000g1/_b
> >> ipadm: Could not mark the address down: Persistent operation on
> temporary object
> >>
> >> I'm reading:
> >> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html <
> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html>
> >>
> >>
> >>
> >
>
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-27 Thread Nicholas Papadonis
I should have added I’m running OpenIndiana in a VirtualBox session with a host 
based network adapter.  The similar configuration works on Linux distributions.


> On Mar 26, 2020, at 12:51 PM, Nicholas Papadonis 
>  wrote:
> 
> Hi Folks,
> 
> Is this a known issue or am I reading the wrong documentation?
> 
> Thanks
> 
>> On Mar 25, 2020, at 3:59 PM, Nicholas Papadonis > > wrote:
>> 
>> I installed OpenIndiana and am trying to configure a static IP.  I try to 
>> delete the address to follow the procedure for a static ip, however this 
>> action does not work.
>> 
>> Any guidance appreciated.  Thanks
>> 
>> $ ipadm show-addr
>> ADDROBJ   TYPE STATEADDR
>> lo0/v4static   ok   127.0.0.1/8 
>> e1000g0/_bdhcp ok   10.0.2.15/24 
>> e1000g1/_bdhcp ok   192.168.56.102/24 
>> 
>> lo0/v6static   ok   ::1/128
>> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
>> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
>> 
>> $ sudo ipadm delete-addr e1000g1/_b
>> 
>> $ sudo ipadm show-addr
>> ADDROBJ   TYPE STATEADDR
>> lo0/v4static   ok   127.0.0.1/8 
>> e1000g0/_bdhcp ok   10.0.2.15/24 
>> e1000g1/_bdhcp ok   192.168.56.102/24 
>> 
>> lo0/v6static   ok   ::1/128
>> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
>> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
>> 
>> $ sudo ipadm down-addr e1000g1/_b
>> ipadm: Could not mark the address down: Persistent operation on temporary 
>> object
>> 
>> I'm reading:
>> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html 
>> 
>> 
>> 
>> 
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-26 Thread Till Wegmüller
Hi

Yes, You are reading the wrong documentation. Solaris and illumos have
diverged significantly since 2010.

Have a look at the OpenIndiana documentation instead

http://docs.openindiana.org/handbook/systems-administration

Greetings
Till
On 26.03.20 17:51, Nicholas Papadonis wrote:
> Hi Folks,
> 
> Is this a known issue or am I reading the wrong documentation?
> 
> Thanks
> 
>> On Mar 25, 2020, at 3:59 PM, Nicholas Papadonis 
>>  wrote:
>>
>> I installed OpenIndiana and am trying to configure a static IP.  I try to 
>> delete the address to follow the procedure for a static ip, however this 
>> action does not work.
>>
>> Any guidance appreciated.  Thanks
>>
>> $ ipadm show-addr
>> ADDROBJ   TYPE STATEADDR
>> lo0/v4static   ok   127.0.0.1/8 
>> e1000g0/_bdhcp ok   10.0.2.15/24 
>> e1000g1/_bdhcp ok   192.168.56.102/24 
>> 
>> lo0/v6static   ok   ::1/128
>> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
>> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
>>
>> $ sudo ipadm delete-addr e1000g1/_b
>>
>> $ sudo ipadm show-addr
>> ADDROBJ   TYPE STATEADDR
>> lo0/v4static   ok   127.0.0.1/8 
>> e1000g0/_bdhcp ok   10.0.2.15/24 
>> e1000g1/_bdhcp ok   192.168.56.102/24 
>> 
>> lo0/v6static   ok   ::1/128
>> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
>> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
>>
>> $ sudo ipadm down-addr e1000g1/_b
>> ipadm: Could not mark the address down: Persistent operation on temporary 
>> object
>>
>> I'm reading:
>> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html 
>> 
>>
>>
>>
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-26 Thread Nicholas Papadonis
Hi Folks,

Is this a known issue or am I reading the wrong documentation?

Thanks

> On Mar 25, 2020, at 3:59 PM, Nicholas Papadonis  
> wrote:
> 
> I installed OpenIndiana and am trying to configure a static IP.  I try to 
> delete the address to follow the procedure for a static ip, however this 
> action does not work.
> 
> Any guidance appreciated.  Thanks
> 
> $ ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8 
> e1000g0/_bdhcp ok   10.0.2.15/24 
> e1000g1/_bdhcp ok   192.168.56.102/24 
> 
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm delete-addr e1000g1/_b
> 
> $ sudo ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8 
> e1000g0/_bdhcp ok   10.0.2.15/24 
> e1000g1/_bdhcp ok   192.168.56.102/24 
> 
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm down-addr e1000g1/_b
> ipadm: Could not mark the address down: Persistent operation on temporary 
> object
> 
> I'm reading:
> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html 
> 
> 
> 
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-26 Thread Predrag Zecevic


On 25.03.2020 22:00, Till Wegmüller wrote:

Hi you defined dhcp in the Installation wizzard I guess?

In that case the application network automagic is managing the ip
addresses not ipadm commands. You will have to disable the nwam service
first.

use svcadm disable svc:/network/physical:nwam

All entries will then disapear aswell.
Than you can create a static ip with
ipadm create-addr -T static -a a.b.c.d/24 e1000g1/v4

Hope this helps
Greetings
Till


I would like to add:
* check /etc/resolv.conf (for nameserver entry)
* check /etc/nsswitch.conf (for dns resolution)
* define route (like: route -p add default GATEWAY)

Regards.

P.S: See also 
http://docs.openindiana.org/handbook/systems-administration/#manual-configuration-static-ip



On 25.03.20 20:59, Nicholas Papadonis wrote:

I installed OpenIndiana and am trying to configure a static IP.  I try to
delete the address to follow the procedure for a static ip, however this
action does not work.

Any guidance appreciated.  Thanks

$ ipadm show-addr
ADDROBJ   TYPE STATEADDR
lo0/v4static   ok   127.0.0.1/8
e1000g0/_bdhcp ok   10.0.2.15/24
e1000g1/_bdhcp ok   192.168.56.102/24
lo0/v6static   ok   ::1/128
e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10

$ sudo ipadm delete-addr e1000g1/_b

$ sudo ipadm show-addr
ADDROBJ   TYPE STATEADDR
lo0/v4static   ok   127.0.0.1/8
e1000g0/_bdhcp ok   10.0.2.15/24
e1000g1/_bdhcp ok   192.168.56.102/24
lo0/v6static   ok   ::1/128
e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10

$ sudo ipadm down-addr e1000g1/_b
ipadm: Could not mark the address down: Persistent operation on temporary
object

I'm reading:
https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Setting static IP after OpenIndiana boot

2020-03-25 Thread Till Wegmüller
Hi you defined dhcp in the Installation wizzard I guess?

In that case the application network automagic is managing the ip
addresses not ipadm commands. You will have to disable the nwam service
first.

use svcadm disable svc:/network/physical:nwam

All entries will then disapear aswell.
Than you can create a static ip with
ipadm create-addr -T static -a a.b.c.d/24 e1000g1/v4

Hope this helps
Greetings
Till
On 25.03.20 20:59, Nicholas Papadonis wrote:
> I installed OpenIndiana and am trying to configure a static IP.  I try to
> delete the address to follow the procedure for a static ip, however this
> action does not work.
> 
> Any guidance appreciated.  Thanks
> 
> $ ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8
> e1000g0/_bdhcp ok   10.0.2.15/24
> e1000g1/_bdhcp ok   192.168.56.102/24
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm delete-addr e1000g1/_b
> 
> $ sudo ipadm show-addr
> ADDROBJ   TYPE STATEADDR
> lo0/v4static   ok   127.0.0.1/8
> e1000g0/_bdhcp ok   10.0.2.15/24
> e1000g1/_bdhcp ok   192.168.56.102/24
> lo0/v6static   ok   ::1/128
> e1000g0/_aaddrconf ok   fe80::a00:27ff:fefc:14ce/10
> e1000g1/_aaddrconf ok   fe80::a00:27ff:fea4:1a43/10
> 
> $ sudo ipadm down-addr e1000g1/_b
> ipadm: Could not mark the address down: Persistent operation on temporary
> object
> 
> I'm reading:
> https://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss