473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting IPAddress from gateway/router

Is there anyway to get the external IP Address of a gateway/router
that a small LAN is connected to. I currently have a variety of
linkSys and Netgear gateways that I have a variety of windows LANs
connected to... I would like to be able to get the IPAddress of each
gateway.

Thanks in advance,
Roger
Jul 21 '05 #1
1 1682
Try WMI.
Check the archives for the WMI newsgroup and you will see some examples and
pointers.

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m

"roger beniot" <ro**********@yahoo.com> wrote in message
news:6c**************************@posting.google.c om...
Is there anyway to get the external IP Address of a gateway/router
that a small LAN is connected to. I currently have a variety of
linkSys and Netgear gateways that I have a variety of windows LANs
connected to... I would like to be able to get the IPAddress of each
gateway.

Thanks in advance,
Roger

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Snuffy2 | last post by:
I'm looking to try to get a users MAC and/or NetBIOS name when they visit my website. It somehow can be done, I'm not sure with PHP, but it can be done. Does anyone have any idea how? As an...
0
by: SWJust | last post by:
I found out that the socket in C# can be set in an GGP mode, but what does that mean, it is nessary for me to enter at mode where it is possible to communicate with routers, because my application...
1
by: Mauro | last post by:
Hi, I've a communication problem with my .NET web application and I need some suggestions. My application is composed of few ASP.NET pages running on a Windows 2003 Enterprise Server (.NET 1.1)....
1
by: roger beniot | last post by:
Is there anyway to get the external IP Address of a gateway/router that a small LAN is connected to. I currently have a variety of linkSys and Netgear gateways that I have a variety of windows LANs...
5
by: UJ | last post by:
I had already asked how to get the network settings on the machine and was told that I should use the WMI interface. I downloaded programs that will allow me to look at the stuff but I'm not sure...
2
by: KatMagic | last post by:
I have an asp.net 1.1 application on our internal web server that logs when a user logs in and records the ipaddress; however, it is returning the address of the server, not the user's workstation....
4
by: iwdu15 | last post by:
Hi, im using this code to get a computers IPAddress Net.Dns.GetHostEntry(Net.Dns.GetHostName()).AddressList(0) but that only gets the Lan IPAddress....how can i get the internet IP address? --...
2
harshadd
by: harshadd | last post by:
I have Live internet connection terminated on Router. And router has its inbuilt DHCP having 192.168.0.* network I have 2 machines, 1 PC and 1 Laptop. I am connecting both the machines to router...
0
JohanK
by: JohanK | last post by:
Hi there, not sure where to post this so i figured misc would do fine. Right here goes, we have a secondary gateway on our lan which is only supposed to be used for data replication. I need to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.