Hi Sagun,

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?

Thanks
- Cathy

Reply via email to