 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Saleem Ebrahim Guest
|
Posted: Tue Mar 02, 2004 7:54 am Post subject: RasAPI |
|
|
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 [email]sebrahim (AT) mrpricegroup (DOT) com[/email]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|