I have a windows CE 5 device with one ethernet port and 1 wireless card, and
one desktop (XP) attached to the ethernet port.

I have to configure the CE device to let the desktop connect to the internet
using the CE device's WiFi card.

I believed that all I had to do was add internet connection sharing
(SYSGEN_GATEWAY) but that is not the case.

The CE device is getting an IP address via a wireless router's DHCP.

My first question is: am I doing something incorrect with the desktop's IP
settings:
* IP address: 192.168.42.1
- Subnet mask: 255.255.255.0
- Default Gateway: [blank] or 192.168.42.30** (the ethernet port's IP address)
- DNS: [blank]***

*I have to keep this IP address since this is where the CE device gets its
boot image.
** I don't know how to configure this address
*** I can only assume that this is incorrect

I have configured the CE device's ICS registry settings this way:

[HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]
"EnablePacketFiltering"=dword:0

[HKEY_LOCAL_MACHINE\COMM\Tcpip\Parms]
"ForwardBroadcasts"=dword:1

[HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]
"EnableDnsProxy"=dword:1
"EnableDhcpAllocator"=dword:1
"PublicInterface"="SDCCF10G1"

So, does anything cry out as incorrect?

Thank you,
Roger

Re: Internet connection sharing by Paul

Paul
Mon Aug 20 15:16:15 CDT 2007

You can't just say, oh, yes enable the DHCP allocator. You have to tell it
what range of IP addresses it can allocate to your PC on the Ethernet side.
Read the help page "Connection Sharing Registry Settings". It seems to me
that you also have to set the PrivateInterface.

If you are going to have the PC have a statically-assigned IP address,
you'll have to set the DNS server addresses to something suitable for the
Internet statically, too. The gateway assigned, statically, to the PC
should be the IP address, on the wired Ethernet side of the Windows CE
device. That, I would presume, has to be statically assigned in the
bootloader, as you have things set up now.

Paul T.

"Roger Williamson" <RogerWilliamson@discussions.microsoft.com> wrote in
message news:700ABA7A-4DAD-4084-8449-68B08EDF225C@microsoft.com...
>I have a windows CE 5 device with one ethernet port and 1 wireless card,
>and
> one desktop (XP) attached to the ethernet port.
>
> I have to configure the CE device to let the desktop connect to the
> internet
> using the CE device's WiFi card.
>
> I believed that all I had to do was add internet connection sharing
> (SYSGEN_GATEWAY) but that is not the case.
>
> The CE device is getting an IP address via a wireless router's DHCP.
>
> My first question is: am I doing something incorrect with the desktop's IP
> settings:
> * IP address: 192.168.42.1
> - Subnet mask: 255.255.255.0
> - Default Gateway: [blank] or 192.168.42.30** (the ethernet port's IP
> address)
> - DNS: [blank]***
>
> *I have to keep this IP address since this is where the CE device gets its
> boot image.
> ** I don't know how to configure this address
> *** I can only assume that this is incorrect
>
> I have configured the CE device's ICS registry settings this way:
>
> [HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]
> "EnablePacketFiltering"=dword:0
>
> [HKEY_LOCAL_MACHINE\COMM\Tcpip\Parms]
> "ForwardBroadcasts"=dword:1
>
> [HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]
> "EnableDnsProxy"=dword:1
> "EnableDhcpAllocator"=dword:1
> "PublicInterface"="SDCCF10G1"
>
> So, does anything cry out as incorrect?
>
> Thank you,
> Roger



Re: Internet connection sharing by RogerWilliamson

RogerWilliamson
Mon Aug 20 16:10:05 CDT 2007

Paul,

I have a few questions, since that article was a little vague. (and my
tech-vocabulary has the oddest gaps)

Is the private interface the name of the adapter which connects to the
device needing a connection, and the public interface the name of the adapter
which leads out to the destination network(or the internet)?

Also, should the 'default gateway' of the machine needing the connection
be the IP address of the public or the private interface?

Thank you,
Roger

"Paul G. Tobey [eMVP]" wrote:

> You can't just say, oh, yes enable the DHCP allocator. You have to tell it
> what range of IP addresses it can allocate to your PC on the Ethernet side.
> Read the help page "Connection Sharing Registry Settings". It seems to me
> that you also have to set the PrivateInterface.
>
> If you are going to have the PC have a statically-assigned IP address,
> you'll have to set the DNS server addresses to something suitable for the
> Internet statically, too. The gateway assigned, statically, to the PC
> should be the IP address, on the wired Ethernet side of the Windows CE
> device. That, I would presume, has to be statically assigned in the
> bootloader, as you have things set up now.
>
> Paul T.

Re: Internet connection sharing by Paul

Paul
Mon Aug 20 17:31:46 CDT 2007

I don't have an actual gateway device in my hands, but as I understand it
the private interface is the side on which the devices which are going to
share the connection are located. The public interface is the Internet
side. You're right about the fuzziness of the documentation. Please use
the Send Feedback link on any page where you find the docs to be unclear to
tell the documentation team about it. They directly get every single one of
those emails and profess to use them, so let them know, please!

Paul T.

"Roger Williamson" <RogerWilliamson@discussions.microsoft.com> wrote in
message news:6506E109-A740-49C6-B5C4-024A3F31795D@microsoft.com...
> Paul,
>
> I have a few questions, since that article was a little vague. (and my
> tech-vocabulary has the oddest gaps)
>
> Is the private interface the name of the adapter which connects to the
> device needing a connection, and the public interface the name of the
> adapter
> which leads out to the destination network(or the internet)?
>
> Also, should the 'default gateway' of the machine needing the connection
> be the IP address of the public or the private interface?
>
> Thank you,
> Roger
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> You can't just say, oh, yes enable the DHCP allocator. You have to tell
>> it
>> what range of IP addresses it can allocate to your PC on the Ethernet
>> side.
>> Read the help page "Connection Sharing Registry Settings". It seems to
>> me
>> that you also have to set the PrivateInterface.
>>
>> If you are going to have the PC have a statically-assigned IP address,
>> you'll have to set the DNS server addresses to something suitable for the
>> Internet statically, too. The gateway assigned, statically, to the PC
>> should be the IP address, on the wired Ethernet side of the Windows CE
>> device. That, I would presume, has to be statically assigned in the
>> bootloader, as you have things set up now.
>>
>> Paul T.