Setting the Gateway IP (in TCP/IP Settings) via program 
Author Message
 Setting the Gateway IP (in TCP/IP Settings) via program

Dear All,

I am trying to change the Gateway IP address of
my system via progrem. I could identify that the
gateway ip settings were stored in the registry at:
(in NT)
HKLM\CurrentControlSet\"AdapterName"\Tcpip\DefaultGateway

I am able to change the binary values in the registry
and set it to the required IP value via the program using.
(This does even get displayed in the properties dialog of
the Tcp/Ip)

But it doesn't become effective. When I try an IPCONFIG
it still displays the old IP as the gateway IP. Can I
have any utitilies available with NT/2000 to do this.
Please help ASAP.

Thanks.

Regards,
Abhilash



Sun, 13 Jun 2004 15:30:58 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Setting TCP/IP settings in Dial-up Networking.

2. help with setting up dial-up connection and internet tcp/ip settings through vbasic 4.0

3. help with setting up dial-up connection and internet tcp/ip settings through vbasic 4.0

4. help with setting up dial-up connection and internet tcp/ip settings through vbasic 4.0

5. Setting TCP/IP Address

6. Setting TCP\IP Properties with WMI

7. TCP/IP Settings Question

8. Changing TCP/IP Settings

9. TCP/IP Setting

10. Switch TCP/IP settings between cable/dialup and network

11. how to get local TCP/IP settings from Local Area Connections

12. Changing TCP/IP Settings

 

 
Powered by phpBB® Forum Software