Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The global RAS Server registry settings specify settings that will be common to all connections. You can use these settings to configure how the RAS server allocates IP addresses for client connections.

The global RAS Server settings are located under the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Parmsregistry key.

Server IP Address Configuration

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Parmskey.

Value : type Description

UseAutoIPAddresses: REG_DWORD

Default setting is 1. Specifies whether the RAS server will generate and allocate random IP addresses from the AutoIP subnet pool instead of through the static pool or DHCP.

Note:
This registry setting was added for Windows CE .NET 4.1 and later.

UseDhcpAddresses: REG_DWORD

Default setting is 0. Specifies whether the server should obtain addresses from a Dynamic Host Configuration Protocol (DHCP) server rather than a static pool.

If this value is set to 1, the RAS server will lease IP addresses from a DHCP server. Setting this value to 1 will preclude the use of AutoIP or static addressing.

AutoIPSubnet: REG_DWORD

Default setting is 0xC0A80000 = 192.168.x.x. Specifies the AutoIP subnet pool.

AutoIPSubnetMask: REG_DWORD

Default setting is 0xFFFF0000. Specifies the subnet mask for the AutoIPSubnetsetting.

StaticIPAddrStart: REG_DWORD

Default setting is 0xC0A8FE01 = 192.168.254.1. Specifies the first address if a static IP address pool is being used. If neither DHCP nor AutoIP is enabled, the RAS server will use addresses from the static address pool, allocating the lowest address not currently in use by the RAS server when it needs to allocate an IP address.

StaticIpAddrCount: REG_DWORD

Default setting is 254. Specifies the number of static IP addresses following StaticIpAddrStartin an IP address pool.

Miscellaneous Server Configuration Settings

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Parmskey.

Value : type Description

AuthFailHoldSeconds: REG_DWORD

Default setting is 30. Specifies the number of seconds for which RAS Server blocks authentication after the number of unsuccessful login attempts specified by AuthFailMax.

AuthFailMax: REG_DWORD

Default setting is 3. Specifies the number of consecutive unsuccessful login attempts after which RAS Server blocks additional login attempts for AuthFailHoldSeconds.

AuthenticationMethods: REG_DWORD

Default setting is:

  • PAP

  • MD5-CHAP

  • MS-CHAP

  • MS-CHAPv2 allowed

  • EAP prohibited

This value specifies which authentication types are allowed. It is a bitmask consisting of the following constants defined in sdk\inc\ras.h:

  • RASEO_ProhibitPAP

  • RASEO_ProhibitCHAP

  • RASEO_ProhibitMsCHAP

  • RASEO_ProhibitMsCHAP2

  • RASEO_ProhibitEAP

Setting this value to 0 will allow all authentication types; setting it to 0xFFFFFFFF will disable authentication.

Note:
The Windows Embedded CE EAP implementation does not currently support the authenticator role. Therefore, even if the RAS server is set to enable EAP clients, it will not be able to successfully connect using EAP authentication.

Flags: REG_DWORD

Default setting is 0. This value specifies a set of server configuration options. It is a bitmask of the following option values:

  • 0x01 - Requires data encryption on client connections

  • 0x02 - Allows unauthenticated access to the server

  • 0x04 - Prevents the use of VJ header compression

  • 0x08 - Prevents the use of data compression

Server Startup Settings

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Parmskey.

Value : type Description

Enable: REG_DWORD

Default setting is 0. Specifies whether the server is enabled or not. This is the master server enable switch. Setting it to 1 causes the server to be enabled at system startup time.

StartupDelaySeconds: DWORD

Default setting is 20. Specifies the number of seconds to wait at boot time before starting the RAS server. This setting allows other parts of the system to complete initialization, for example, networking adapters and DHCP, prior to initializing the RAS server.