Thread View: borland.public.delphi.nativeapi
1 messages
1 total messages
Started by Saleem Ebrahim
Wed, 03 Mar 2004 09:58
RasAPI and IP Addressing
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads