> While I am implementing vanity naming, I found the renamed interface cannot 
 > acquire the dhcp address:
 > 
 > # dladm rename-link bge0 link0
 > # ifconfig link0 plumb
 > # ifconfig link0 dhcp
 > ifconfig: link0: interface does not exist or cannot be managed using DHCP
 > 
 > by tracking down this more, the reason for this problem is that in the 
 > insert_ifs() function in usr/src/cmd/cmd-inet/sbin/dhcpagent/interface.c, it 
 > calls its own version of dlpi_open() function, which opens /dev node instead 
 > of the /dev/net node.
 > 
 > Is there any reason why we don't convert this to call the new libdlpi you 
 > just implemented?

Sagun and I ported the DHCP client to use libdlpi a while ago, but I don't
know what happened to those changes -- though after Jim's DHCPv6 changes,
it will probably need to be done over again.  IIRC, it took only a few
hours to do it since the API is pretty similar.

-- 
meem

Reply via email to