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 STATE ADDR
lo0/v4 static ok 127.0.0.1/8
e1000g0/_b dhcp ok 10.0.2.15/24
e1000g1/_b dhcp ok 192.168.56.102/24
lo0/v6 static ok ::1/128
e1000g0/_a addrconf ok fe80::a00:27ff:fefc:14ce/10
e1000g1/_a addrconf ok fe80::a00:27ff:fea4:1a43/10
$ sudo ipadm delete-addr e1000g1/_b
$ sudo ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
e1000g0/_b dhcp ok 10.0.2.15/24
e1000g1/_b dhcp ok 192.168.56.102/24
lo0/v6 static ok ::1/128
e1000g0/_a addrconf ok fe80::a00:27ff:fefc:14ce/10
e1000g1/_a addrconf 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
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss