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.

ifconfig bad address le0

Cause

The user installed the recommended 2.5.1 patches. When booting, rootuser.sh
presented the following errors:

ifconfig bad address le0
le0 arp - revarp failed no rarp replies
bad address hme0
hme0 auto-revarp failed: no rarp replies received.

The IP address of interface is set to 0.0.0.0.

System fails to resolve host IP address from /etc/host and no other RARP servers
responded to the system’s request for its IP address.

Action

If dns [NOTFOUND=return] appears before files in /etc/nsswitch.conf,
ifconfig complains at boot-time about bad address. In some cases this can cause
the boot to fail.

ifconfig: host name bad space address

Cause

When the system is booted, this error message is displayed. The
/etc/nsswitch.conf file had the following entries for the hosts line:

hosts: dns nis [NOTFOUND=return] files

Action

Move files to the first entry in the list. Now, when the system boots, it resolves the
interface names from the /etc/hosts file.

ifconfig: SIOCGIFFLAGS: hme0: no such interface

Cause

If you just installed hme interface and are now manually configuring it, you could
receive this error message when running the following:

ifconfig hme0 inet ipaddr netmask + broadcast + -trailers up

Action

If there is no hostname.hme0 file, then the startup scripts do not execute the
ifconfig hme0 plumb command. The user can either create the hostname.hme0 file
or issue the ifconfig hme0 plumb command manually before attempting to
configure the interface.

Comments

Popular posts from this blog

Understanding How ZFS Calculates Used Space

How To Verify Remote System Controller (RSC) is Configured and Current on Sun Fire[TM] 280R/V480/V490/V880/V890 servers

Restart autosys agent