4.11.5. DHCP Client service

In Windows Server 2003, the DHCP Client service is running in an svchost.exe instance running under the NETWORK SERVICE logon session. The DNS Client service is running in the same process.

The DHCP Client service runs one RPC service, available on the following endpoint:

Y:\>ifids -p ncalrpc -e dhcpcsvc serveur
Interfaces: 2
  3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5 v1.0
  45776b01-5956-4485-9f80-f428f7d60129 v2.0

In Windows Vista, the following two interfaces are registered in the endpoint mapper database:


[...]

IfId: 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5 version 1.0
Annotation: DHCP Client LRPC Endpoint
UUID: 00000000-0000-0000-0000-000000000000
Binding: ncacn_ip_tcp:127.0.0.1[49154]

IfId: 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6 version 1.0
Annotation: DHCPv6 Client LRPC Endpoint
UUID: 00000000-0000-0000-0000-000000000000
Binding: ncacn_ip_tcp:127.0.0.1[49154]

[...]

In Windows Vista, these interfaces are local-only, using the following endpoints:

Table 4.75. RpcSrvDHCPC operations

InterfaceOperation numberOperation name
3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5 v1.0: RpcSrvDHCPC  
 0x00RpcSrvEnableDhcp
 0x01RpcSrvRenewLease
 0x02RpcSrvRenewLeaseByBroadcast
 0x03RpcSrvReleaseLease
 0x04RpcSrvSetFallbackParams
 0x05RpcSrvGetFallbackParams
 0x06RpcSrvFallbackRefreshParams
 0x07RpcSrvStaticRefreshParams
 0x08RpcSrvRemoveDnsRegistrations
 0x09RpcSrvRequestParams
 0x0aRpcSrvPersistentRequestParams
 0x0bRpcSrvRegisterParams
 0x0cRpcSrvDeRegisterParams
 0x0dRpcSrvEnumInterfaces
 0x0eRpcSrvQueryLeaseInfo
 0x0fRpcSrvSetClassId
 0x10RpcSrvGetClassId
 0x11RpcSrvSetClientId
 0x12RpcSrvGetClientId
 0x13RpcSrvNotifyMediaReconnected
 0x14RpcSrvGetOriginalSubnetMask
 0x15RpcSrvSetMSFTVendorSpecificOptions
 0x16RpcSrvRequestCachedParams
 0x17RpcSrvRegisterConnectionStateNotification
 0x18RpcSrvDeRegisterConnectionStateNotification
 0x19RpcSrvGetNotificationStatus
 0x1aRpcSrvGetDhcpServicedConnections

Table 4.76. dhcpcsvc6 operations

InterfaceOperation numberOperation name
3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6 version 1.0: dhcpcsvc6  
 0x00RpcSrvRequestPrefix
 0x01RpcSrvRenewPrefix
 0x02RpcSrvReleasePrefix
 0x03RpcSrvRequestParams