This content has been marked as final. Show 8 replies
What is the output if 'ipadm show-addr'. For example, mine is:
bleonard@solaris:~$ ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
e1000g0/_b dhcp ok 10.0.1.3/24
lo0/v6 static ok ::1/128
e1000g0/_a addrconf ok fe80::21c:7eff:fec3:41bc/10
Then try 'ipadm disable-addr -t ADDROBJ'. So in my case:
bleonard@solaris:~$ sudo ipadm disable-addr -t e1000g0/_a
I know how to create addresses. I have no problem with ip4.
Addresses created and persistent across reboot.
The only problem that there is also bunch of ipv6 interfaces brought up at reboot and NDP daemon.
For now I found workaround:
1. make lo0 controlled by ipadm:
# ipadm delete-if lo0
# ipadm create-if lo0
# ipadm create-addr -T static -a 127.0.0.1/8 lo0/v4
2. Remove lines with "_family=26" from /etc/ipadm/ipadm.conf
That's all I wanted.
# ipadm show-if
IFNAME STATE CURRENT PERSISTENT
lo0 ok -m-v------4- -4-
v1 ok bm--------4- -4-
# routeadm -u
# routeadm | grep ndp
If anyone know how to do the same without editing ipadm.conf please tell.