Re: IP Connection Choose Static or DHCP
- From: "Omar [MS]" <omarm@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 17:53:26 -0800
To set static ip addresses you'll need to edit the registry. You can set the
ip address, subnet mask, DNS servers etc all through the registry. Be sure
to also set EnableDhcp setting to 0. Then you need to rebind the adapter for
the new settings to take effect.
The settings with their names and descriptions can be found here:
http://msdn2.microsoft.com/en-us/library/ms882681.aspx
To switch back to dhcp settings, make sure to set EnableDhcp back to 1, and
again rebind the adapter.
Thanks,
- Omar
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send
email directly to this alias. This alias is for newsgroup purposes only.
"Richard Vantrease" <RichardVantrease@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:8D78FDCF-33E7-4A46-9AC4-BE7F1C2F29DA@xxxxxxxxxxxxxxxx
I have a need for an application that will allow an inexperienced user to
choose what type of connection they need, then I will make the appropriate
changes in Windows Mobile 5.
I am not experienced with the IP Helper API, so if that is your
suggestion,
some VB.Net type calls would be much appreciated.
Background:
My company uses static addressing at most sites with different IP address
ranges assigned to each site. They will not route addresses that are out
of
the pre-defined address range. However at a few sites they have DHCP
configured.
I will be writing an application in VB.Net that will give the user a list
something like:
Site 1
Site 2
Site 3
All Other Sites
Based on their choice I will need to either configure a static IP address
and gateway, or change the configuration to DHCP, then renew the address.
.
- Follow-Ups:
- Re: IP Connection Choose Static or DHCP
- From: Richard Vantrease
- Re: IP Connection Choose Static or DHCP
- Next by Date: Re: Playing Sound while on Call
- Next by thread: Re: IP Connection Choose Static or DHCP
- Index(es):
Relevant Pages
|