Solaris Common Messages and Troubleshooting Guide

ifconfig: bad address

Cause

System fails to boot with error message: ifconfig: bad address. Upon coming up to multiuser ifconfig -a indicate:


le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
	inet 0.0.0.0 netmask 0 
Once up, command

# ifconfig le0 inet hostname
succeeds, and all is well.

Action

Check /etc/hostname.* for a possible bad entry.

/etc/hosts was linked to /var/named/hosts and /var was a separate file system. Until system comes up in multiuser to mount /var, hostname could not be resolved to proper IP address.