[OpenIndiana-discuss] Some help with ipadm

Albert Lee trisk at nexenta.com
Sat Jul 14 17:19:40 UTC 2012


On Thu, Jul 12, 2012 at 11:16 AM, Gary Gendel <gary at genashor.com> wrote:
> I had things configured originally via ifconfig and then unplumbed the
> interface and recreated it using ipadm but after a reboot, things went weird
> on me.  I figure that it's some remnant left over from my original manual
> configuration after disabling nwam years ago.
>
> I created two persistent interfaces using ipadm:
> bge0/v4
> bge0/v6
>
> what I ended up after reboot was:
>
> # ipadm show-addr
> ADDROBJ           TYPE     STATE        ADDR
> lo0/v4            static   ok           127.0.0.1/8
> lo0/_a            static   ok           127.0.0.2/32
> bge0/?            dhcp     ok           98.221.143.25/21
> lo0/v6            static   ok           ::1/128
> bge0/v4        dhcp     disabled     ?
> bge0/v6           addrconf disabled     ::
>
> Why did it create bge0/? and why are the persistent addresses I created
> disabled? Also, ipadm delete-addr bge0/v6 says that the object doesn't exist
> if that helps.
>
> I've resorted to removing them manually from ipadm.conf, unplumbing the bge0
> interface and then recreated them using ipadm again and I'm back to where I
> should be:
>
> # ipadm show-addr
> ADDROBJ           TYPE     STATE        ADDR
> lo0/v4            static   ok           0.0.0.6/8
> lo0/_a            static   ok           127.0.0.2/32
> bge0/v4           dhcp     ok           98.221.143.25/21
> lo0/v6            static   ok           ::1/128
> bge0/v6           addrconf ok           fe80::209:3dff:fe13:3a3/10
> bge0/v6           addrconf ok 2001:558:6026:8c:44f2:de61:c396:e2f8/128
>
> Any advice would be appreciated.
>
> Thanks,
> Gary
>

Do you still have old hostname or dhcp files in /etc?

-Albert



More information about the OpenIndiana-discuss mailing list