473,396 Members | 1,832 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,396 software developers and data experts.

Routers ip address

Help!!! Help!!! Help

how can i get the ip-address of the routers
can any one guide me
it should be done in asp.net
Feb 20 '07 #1
2 1263
RedSon
5,000 Expert 4TB
The System.Net.Sockets.Socket Class is the root class for both TCP and Datagram sockets. When a user connects to your server through one of these sockets you should be able to get that kind of information from their connection. For more info please read...

http://msdn.microsoft.com/library/de...ClassTopic.asp
Feb 20 '07 #2
Help!!! Help!!! Help

how can i get the ip-address of the routers
can any one guide me
it should be done in asp.net
Your question is a bit unclear. If you want the router of the destination -- that is, the last routable ip address at the destination, look at the destination ip.

For the router on your end, do a traceroute and find the first routable ip address (that is, one that doesn't start with 192.168, 10., or 172.16). Or, roll your own traceroute by setting TTL to 1, then, 2, and so on.

John
http://blogs.msdn.com/usisvde/
Feb 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: djparce | last post by:
Ok i'm quite familiar with networking over XP. i've just never connected 2 routers together. The problem is i have to bridge a 20 metre gap. At one end there is a wireless router connected to...
2
by: Shahjehan | last post by:
I have a project to Interface Cisco Routers with python i.e. the program should display a list of IP addresses and then a list of commands...the user should be able to select the IP address and then...
4
by: SPJ | last post by:
Is it possible to run specific commands on cisco router using Python? I have to run command "show access-list" on few hundred cisco routers and get the dump into a file. Please let me know if it is...
0
by: KartRacer88 | last post by:
Using pcAnywhere, I am trying to setup access to a pcAnywhere host PC that is behind two routers. The first router has a static public IP address on the internet. The second router has it's WAN...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.