This content has been marked as final. Show 8 replies
The issue is, you have nwam (network auto-magic) enabled and you are trying to
manually configure the IP interfaces. You have to first disable nwam to perform
# svcadm disable network/physical:nwam
# svcadm enable network/physical:default
This will solve your ndpd daemon .
Two birds in one shot .
No. I disabled nwam already. Sorry not shown it in first message
# svcs physical
STATE STIME FMRI
disabled 17:57:42 svc:/network/physical:nwam
online 17:58:10 svc:/network/physical:default
check if there is any /etc/hostname.interface file exists for ipv 6 . Then remove it maybe it is due to the file .
No. There are no /etc/hostname* at all.
# ls -l /etc/ | grep host
-rw-r--r-- 1 root root 27 2011-06-21 08:08 hostid
lrwxrwxrwx 1 root root 12 2011-06-21 04:48 hosts -> ./inet/hosts
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
Check the ipadm man page for more details
Now use ipadm(1M) to create addresses.
If you need to create a static address permanently so that it is re-created on
# ipadm create-addr -T static -a local=172.17.138.79 nxge0/v4
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.