Compartilhar via


Internet Connection Sharing Reference (Compact 2013)

3/26/2014

To create a gateway device, such as a router, that supports the use of a single Internet connection for multiple devices on a home, small business, corporate branch office network or a local area network (LAN), use Internet connection sharing (ICS) for Windows Embedded Compact. ICS is a collection of technologies and services that convert IP addresses and ports for devices on a LAN to an IP address and port for the public side of the gateway device.

To add this feature to your OS, see Internet Connection Sharing Catalog Items and Sysgen Variables. You may also need some additional things:

Hardware

  • ICS requires a network driver interface specification (NDIS) and at least two network interface card (NIC) devices with the corresponding drivers.
  • One of the NIC devices will connect to the private network when there are other devices also connected that need access to the Internet through ICS.
  • The other NIC will connect to the Internet.

Software

The only other piece of software you may need for configuration is the optional Dynamic Host Configuration Protocol (DHCP) allocator. Use this only if you want to have ICS automatically configure clients on the network using DHCP.

Note

Because there are no APIs to call, you need not do anything else to the image to make ICS work.

For more information, see:

Sample application code is available:

  • Network Address Translation (NAT) editor at %_WINCEROOT%\Public\Common\oak\drivers\netsamp\ipnat\editsamp.
  • Remote user interface; view event logs generated by the Gateway Logging engine at %_WINCEROOT%\public\servers\oak\samples\logging\logger directory.
  • Gateway logger at %_WINCEROOT%\public\servers\oak\samples\logging\logger directory.

Source code for this feature is available at <%_WINCEROOT%\private\winceos\Net\netio\ipnat>

In This Section

Internet Connection Sharing Catalog Items and Sysgen Variables

Differences Between ICS on Windows Desktop and Windows Embedded Compact 7

ICS Functions

Internet Connection Sharing Application Registry Settings

Internet Connection Sharing IP NAT Registry Settings

Internet Connection Sharing Service Registry Settings

Internet Connection Sharing Proxy Registry Settings

Internet Connection Sharing Gateway Logging Registry Settings

Internet Connection Sharing Address Registry Settings

Internet Connection Sharing Auto Dial Registry Settings

Internet Connection Sharing Registry Settings

See Also

Other Resources

Networking