ISC DHCP on a Solaris 10 Container

Bruce Hudson Bruce.Hudson at
Wed Mar 15 15:59:37 UTC 2006

    The problem, to the extent that this is a DHCP problem, seems to be
in "common/discover.c"; which discovers the network interfaces on the
system. The critical code is:

                if ((s = strrchr (ifp -> ifr_name, ':'))) {
                        *s = 0;
This throws away the ":1" from the interface name. ALIAS_NAMES_PERMUTED is
defined for Solaris. I am not sure what will happen if you simply turn it
off but it may be worth a try.

    Failing that, replacing the "*s = 0;" with "continue;" will skip the
aliased interfaces instead of shortening the name. This will fix the "lo0"
problem but will probably not fix your problem is your "real" interface is
also an alias. 
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
UCIS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405

More information about the dhcp-users mailing list