The create command actually fails with a different error: root@park:~# ipadm enable-addr rge0/addr ipadm: persistent operation not supported for enable-addr
so I tried altering the .conf file which contained: _ifname=rge0;_families=26;_ifclass=0; _ifname=rge0;_aobjname=rge0/addr;_dhcp=-1,no; _ifname=rge0;_aobjname=rge0/addr;reqhost=; I deleted the lines related to the broken rge0/addr object and rebooted and the broken entry in ipadm was gone. Thanks for the help. PK -- Dr Phil. Philip Kime BA (Hons) Msc (Dist) PhD > On 1 Dec 2023, at 18:54, Udo Grabowski (IMK) <[email protected]> wrote: > > On 30/11/2023 14:33, Philip Kime wrote: >> 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@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@park:~# ipadm delete-addr rge0/addr >> ipadm: could not delete address: Object not found >> root@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 >> ... > > You can try to fix /etc/ipadm/ipadm.conf in your favourite editor. > But be careful, ipadm is very picky on the format of that file, > apparent inconsistencies and oddities are intended, don't "fix" > them ... > > Then reboot. > -- > Dr.Udo Grabowski Inst.f.Meteorology & Climate Research IMK-ASF-SAT > http://www.imk-asf.kit.edu/english/sat.php > KIT - Karlsruhe Institute of Technology http://www.kit.edu > Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026 > > _______________________________________________ > openindiana-discuss mailing list > [email protected] > https://openindiana.org/mailman/listinfo/openindiana-discuss
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
