at a command prompt type ipconfig /all this should return the information you are looking for.
Main Topics
Browse All TopicsFor a given ip address how can I find the gateway on a switch.
ex; i need to find the gateway for 10.60.190.x ipaddress.where can i find the gateway on my core switch.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Another quick trick do a tracert (traceroute in linux) to a internet site such as www.google.com. The last 10.60.190.x number you see should be the gateway. This may also be the first number you see as well depending on how your routing is configured.
" For a given ip address how can I find the gateway on a switch."
A switch doesn't have a gateway...it's just passing traffic (unless it's of course a managed switch in which case it *still* doesn't *need* a gateway unless it requires access to another subnet for...remote firmware upgrades? Remote management from a different subnet? You could have every other port of the switch passing traffic on a different subnet, and those subnets may not even HAVE gateway addresses. What is it you are trying to accomplish? I would think the answer would be "See your network administrator" unless you are a rouge node trying to circumvent the network's access policies...but in case this does wind up being a non-circumvental queation, here's a tidbit without getting specific since we were not given specific info with which to answer:
Traditionally, gateway addresses are either at the bottom or the top of the subnet...but they can be anywhere the admin decides within the subnet. It would even be possible for your gateway to be 10.255.255.254 or 10.0.0.1 or anywhere in between. Not all LAN are */24...you could have a /16, /8, /23, /15, or pretty much any other CIDR mask in between. I think we need more specifics to give an appropriate answer. Heck, someone could have configured a 8.0.0.0/6 network with a gateway of 11.6.6.6 that your 10.60.190.x address would be a part of....I've never laid eyeballs on such a network, but it would certainly be possible (with a few quirks affecting certain functionality like a internal workstation trying to access a legit external address that still falls within the "local subnet" like a website that resolves to a public 8.x.y.z address).
We need more info, like: Why are you needing the subnet "of the switch"....i.e. what are you needing to do that you are unable to currently accomplish. Is it a managed switch or unmanaged? If managed, do you have access to the management interface of the switch? Can you configure a port to sniff all traffic and get the gateway you need that way? Are you certain there even exists a gateway on the particular network segment you're connecting to? What is the netmask for the segment in question?
More info please.
Thanks
Is it for YOUR IP address? Or is it for another IP address within a different IP subnet?
If it is for your's then ipconfig /all should show you want it is. You do NOT need a DHCP server up for this all you need is to have your computer configured correctly.
If it is for another IP address within another IP subnet, then as the whomever does network configuration at your company.
Business Accounts
Answer for Membership
by: Scotty_ciscoPosted on 2006-06-08 at 11:12:31ID: 16863793
can you get into the switch? you can also find out what all the ip addresses in use are by doing a broadcast ping 10.60.190.255 then go through them 1 by one or just check another known working machine.
Thanks
Scott