Solaris Common Messages and Troubleshooting Guide

ifconfig: bad address

Cause

System fails to boot with this error message: ifconfig: bad address. When coming up to multi-user ifconfig -a, it indicates the following:


le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
	inet 0.0.0.0 netmask 0 
Once up, if this command succeeds, then all is well:

# ifconfig le0 inet hostname

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 multi-user to mount /var, host name could not be resolved to proper IP address.