[OpenIndiana-discuss] Cannot delete an ADDROBJ in ipadm?

Carsten Grzemba grzemba at contac-dt.de
Fri Dec 1 17:16:54 UTC 2023



Am 30.11.23 14:34 schrieb Philip Kime  <Philip at kime.org.uk>: 
> 
> I was trying to switch from fixed IP to DHCP and finally managed to get it to work but in the process, I created a dhcp addr on the interface with ipadm and now I can't get rid of it:
> 
> root at park:~# ipadm
> ADDROBJ TYPE STATE ADDR
> lo0/v4 static ok 127.0.0.1/8
> rge0/_a dhcp ok 192.168.0.50/24
> lo0/v6 static ok ::1/128
> rge0/? static ok fe80::baae:edff:fedb:1e5c%rge0/10
> rge0/? addrconf ok 2a02:1210:14dd:3100:baae:edff:fedb:1e5c/64
> rge0/addr dhcp disabled ?
> root at park:~# ipadm delete-addr rge0/addr
> ipadm: could not delete address: Object not found
> root at park:~#
> 
> The underlined can't be removed any way I've tried. Does anyone know how to delete it? Network is working fine with DHCP using the /_a ADDROBJ but I want to clean this up.
> On Hipster 2023.05
> 

Do you see any warnings related nwamd or dhcp in /var/adm/messages since system boot?
If yes, please post.


Carsten


More information about the openindiana-discuss mailing list