Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to get the IPAddress
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00485417
Message ID:
00486229
Views:
18
>>Just the SWAG that your machine is set up with a dynamic IP address. You can
>>check by: Right click Network Neighborhood, select Properties from the context
>>menu, then TCP/IP properties. The IP address tab would have the "Obtain IP
>>address automatically" option selected.
>
>George,
>
>I checked it and found a fixed IP address 192.168.1.5 for my network adapter, still Winsock.LocalIP shows 192.168.120.254. But I found that address as a fixed IP address in the properties of my ISDN adapter, which is supposed to obtain its address automatically from my ISP. It shouldn't work with that fixed address, but I am in the Web right now!
>
>Last week I played around with Win2k Server and an internet router, maybe my network setup got messed up then. The router had the IP 192.168.1.254 and was DNS, I have never seen or typed the subnet 192.168.120 and there was no DHCP involved. I am a little bit confused, have to dig into it.
>
>Thank you for your advice!
>
>Robert
192.168.x.y is an official Internet Private LAN address like 172.16.x.y It will not 'route' over the internet. In other words, it would not be possible to PING a computer that has the address 192.168.120.254 over the Internet. So you probably have this address on your computer on your LAN (every computer on a LAN must have a unique IP) and then have another IP that you got when you dialed into your ISP. Go to START | RUN and type WINIPCFG to look at all the IPs that are now active on your computer on all the interfaces.
Dr. Ken A. McGinnis
Healthcare software design
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform