Interesting Behavior with Solaris 2.8

Neff_Glen at Neff_Glen at
Fri Aug 14 13:16:01 UTC 2009

Many aspects of Solaris' IP stack have been a mystery to me, but why would you be touching /etc/netmasks if you're using DHCP to configure the interfaces?  The subnetmasks should be specified in your dhcpd config.

Also, are you sure this isn't old lease info cached in /etc/dhcp/dhc.* on the solaris host?


 * Glen R. J. Neff
 * RTP TSG Lab Team
 * neff_glen at
 * EMC^2 == E^2

-----Original Message-----
From: dhcp-users-bounces at on behalf of John Tabasz (jtabasz)
Sent: Thu 8/13/2009 7:48 PM
To: Users of ISC DHCP
Subject: Interesting Behavior with Solaris 2.8

I have a Sun V100 running Solaris 2.8. I want dmfe0 to be under the
control of the dhcpagent on Solaris and dmfe1 to be statically
Previous to running a DHCP server in this environment I had no problems
configuring the Sun the way I want them to be. 

My secondary interface, dmfe1 I want to be configured as with
the netmask of This is a legitimate combination of values.
I do the following in order to do this.
#cat /etc/netmasks

#cat /etc/hostname.dmfe1

Before I introduced dhcp to the environment, on booting, the server
would come up with the following interface configuration for dmfe1:

dmfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
        inet netmask ffff0000 broadcast

This looks completely legitimate to me. is a legitimate address
in the subnet 

However, I introduced dhcpd into the environment and use it to deliver
address and dns and hostname information for the other interface only. 
On the client I run 
#echo primary > /etc/dhcp.dmfe0   to allow dhcpagent to control the
When the V100 comes up, even though the dhcpagent should have nothing to
do with the dmfe1 interface, dmfe1 gets configured such with the same
values in the /etc/netmasks and /etc/hostname.dmfe1 files:

dmfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
        inet netmask ffffff00 broadcast

So for some reason the control of dmfe1 is bleeding over from dmfe0, and
it's behaving in a way that looks like it violates subnetmasking rules.

Can anyone comment on this? Do I need to upgrade my dhcpagent rev or

Thanks in Advance,

dhcp-users mailing list
dhcp-users at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4054 bytes
Desc: not available
URL: <>

More information about the dhcp-users mailing list