Get IP address of LAN
-
I work in a LAN, IP address of my computer is 192.168.0.111, default gateway is 192.168.0.1 How do I get real IP address of LAN when connect to Internet? (ex:203.162.1.123) ----------------- conglt
-
I work in a LAN, IP address of my computer is 192.168.0.111, default gateway is 192.168.0.1 How do I get real IP address of LAN when connect to Internet? (ex:203.162.1.123) ----------------- conglt
Your LAN does not have an IP address. It is just a collection of computers, printers, routers, etc. Perhaps you are wanting the firewall's IP address instead.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
I work in a LAN, IP address of my computer is 192.168.0.111, default gateway is 192.168.0.1 How do I get real IP address of LAN when connect to Internet? (ex:203.162.1.123) ----------------- conglt
Le Thanh Cong wrote:
I work in a LAN, IP address of my computer is 192.168.0.111, default gateway is 192.168.0.1How do I get real IP address of LAN when connect to Internet? (ex:203.162.1.123)
try GetNetworkParams api
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
Le Thanh Cong wrote:
I work in a LAN, IP address of my computer is 192.168.0.111, default gateway is 192.168.0.1How do I get real IP address of LAN when connect to Internet? (ex:203.162.1.123)
try GetNetworkParams api
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
I tried this function but only can get local information ----------------- conglt
-
Your LAN does not have an IP address. It is just a collection of computers, printers, routers, etc. Perhaps you are wanting the firewall's IP address instead.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb