DOS Command to Get Router IP

I ran arp -a
and received this:
Interface: 192.168.1.111 --- 0x20Interface: 192.168.1.111 --- 0x20

When I entered that into the
20120822-ee-router-ip.png
LVL 29
coreybryantAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rich RumbleConnect With a Mentor Security SamuraiCommented:
tracert 8.8.8.8
The first 1-2 hops should be the first router, but that isn't always the case, 99% of the time it is however. Just putting the ip of the router into a web browser doesn't mean you'll be prompted for a login, some only allow access through a console port, others only from specific ports like telnet or ssh for example. It sounds like you may not know what to do even when you do get a login prompt, and or you are certainly not authorized to do so.

-rich
0
 
theras2000Commented:
What's your question?
The screenshot shows that you've connected to an IIS server, running on a Windows box.  It could even be your own PC.
If you want to know what your router's IP is, it is most likely your default gateway if you type in 'ipconfig'.
0
 
mrwortaCommented:
If your router is also your default gateway you could use "ipconfig" or, if the OS is recent, "netsh".


For example:

netsh inter ip show route | find /I "0.0.0.0/0"
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
coreybryantAuthor Commented:
Sorry, you were too fast, I was trying to edit the question - and delete it since it was put into the wrong category.

When I entered that into that IP (192.168.1.111), this is what came up:
192.168.1.111 resultsThere were some other IPs, like the TiVos and but

I did an ipconfig /all but I was not certain if Default Gateway was the router IP (192.168.1.1) but that came up blank.  I thought I would at least get a sign-in.

Thanks!
0
 
theras2000Commented:
So this is a home network?  Has anyone setup any fancy network configurations for you, or do you just have a DSL/cable modem with wifi that all your devices connect to?  In that case, it's almost certain that the default gateway is your router.  What type of router is it?
0
 
wolfcamelConnect With a Mentor Commented:
come back a step - what are you actually trying to achieve? access your router to make changes?
run ipconfig /all and put the details in here together with a brief description of what you have and what you are trying to do
0
 
coreybryantAuthor Commented:
It comes back as 192.168.1.1 - which I thought.  

I had just seen the login prompt before - I wasn't trying to hack it, I was working on something else and making sure that this was the actual router before I messed up.

Basically, I was trying to help someone else with another question and I was building the program thru a tool online.  

So I was wanting to make sure that I was understanding the results I was getting
0
All Courses

From novice to tech pro — start learning today.