PC Review Forums Newsgroups Windows XP Windows XP WMI Re: Identifying a router

Reply

Re: Identifying a router

 
Thread Tools Rate Thread
Old 25-06-2004, 04:47 PM   #1
Sean Gahan
Guest
 
Posts: n/a
Default Re: Identifying a router


Janiv,
In order for ICS to work 2 network cards (with connections) are required.
If the customer goes out and buys a firewall/router, then there is an
assumption that there will only be one network connection from the machine
that was running ICS to the firewall. If this is the case (using only one
network card) then ICS, DHCP, and NAT will be disabled and the network
interface will be set to automatically obtain a new ip. If your client
machine was automatically obtaining it's ip then all you have to do is plug
it in to the firewall and you are done. If the client machine's ip was
statically set, you may have to point to a different gateway and change the
ip scope; if the firewall is a D-Link you are done, if the firewall is a
Linksys you will have to change it. But then, the owness of configuring the
end user's network is on the end user; if the end user really knows nothing
about a computer then they would be automatically obtaining an ip anyway.
Perhaps if you had done some testing with ICS you would have discovered this
too.

Regards,

Sean


"Janiv Ratson" <janiv@aoe6.net> wrote in message
news:ed8ptq5SEHA.2236@TK2MSFTNGP09.phx.gbl...
> Hi,
> I have written a program that set an ICS on an XP PC.
> Now I want to add a new feature (very important one).
> I want my program to identify when a user connects its PC to a router.
>
> My not good solution was, to search for DHCP server in the network,

though,
> the ICS DHCP is the one server that always identified by my program.
> If I manually cancel the ICS, than my program recognize my router.
> I want my program to do it automatically, I want it to recognize that a PC
> with an ICS is now connected to a router, and get a new IP address.
>
> I can programatically remove ICS and than my program identify the router,
> but I dont want to use this solution. Hence, I dont wanna remove the ICS
> manually any time my program is loaded.
>
> Your help is really needed,
> 10x,
> Janiv Ratson.
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off