Article View: borland.public.delphi.nativeapi
Article #185RasAPI and IP Addressing
From: Saleem Ebrahim
Date: Wed, 03 Mar 2004 09:58
Date: Wed, 03 Mar 2004 09:58
24 lines
1686 bytes
1686 bytes
Hi
I am using RasAPI to dial into a small 4 pc network. Static Ip
address range is 10.0.0.1 to 10.0.0.4 on subnet 255.255.255.0
When I dial using RasAPI (Delphi 7) I do manage to connect but it
gives me a 169.xx.xx.xx address with a subnet of 255.0.0.0.
If I dial using Network and Dialup Connections, I can specify the ip
address that i wish to use. Is there any way that I can specify the
MY IP address when connecting, USING RASAPI. I tried the netsh
command, (netsh interface ip set address "{xxxxxx}" static 10.0.0.200
255.255.255.0) but that referred me to the
"rundll32 netshell.dll HrRenameConnection" command as I need to name
the interface first.
I am using Win2k SP3 and this command does not seem to help. Every
documentation that I found, appears to be for XP.
Thanks in advance.
Saleem
Feel free to reply to sebrahim@mrpricegroup.com
Technical Details
Message-ID:
<f083a81.0403030158.6ce1e697@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,1c22e3ab559ea89,start X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-03-03 01:58:51 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: sebrahim@mrpricegroup.com (Saleem Ebrahim) Newsgroups: borland.public.delphi.nativeapi Subject: RasAPI and IP Addressing Date: 3 Mar 2004 01:58:50 -0800 Organization: http://groups.google.com Lines: 24 Message-ID: <f083a81.0403030158.6ce1e697@posting.google.com> NNTP-Posting-Host: 168.209.97.34 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1078307931 815 127.0.0.1 (3 Mar 2004 09:58:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 3 Mar 2004 09:58:51 +0000 (UTC)