- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding the IP address of switch
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 05:58 AM
тАО10-12-2005 05:58 AM
finding the IP address of switch
I can't bring it down for days but would like to know what the IP address is.
I do have the mac address, taken off a label which is on the unit itself.
Can I use arp or something like that to get it's IP address?
I've done 'arp -a' and scoured the listing for the mac but haven't found it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:21 AM
тАО10-12-2005 06:21 AM
Re: finding the IP address of switch
Try :
arp -an
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:29 AM
тАО10-12-2005 06:29 AM
Re: finding the IP address of switch
As I understand it, there will only be an address in arp if some activity has put it there, right?
Is there something I can do from unix, using the mac address, that will cause an arp entry? Then I could retreive the IP from that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:40 AM
тАО10-12-2005 06:40 AM
Re: finding the IP address of switch
Any possibility that the mac addresses have been changed?
Is there a serial port on the switch that you can hook a laptop into and check the config.
Are there other entries in the arp output that have IP addresses that you can't match anywhere else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:45 AM
тАО10-12-2005 06:45 AM
Re: finding the IP address of switch
How about the other side of the switch? Do you know what hosts reside there? If so, pick one of them and do a traceroute to it. I have a switch here that I cannot ping and does not show up in my arp cache, but when I traceroute a host on the other side it sure shows up.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:46 AM
тАО10-12-2005 06:46 AM
Re: finding the IP address of switch
Actually there are lots of IPs not showing in the arp listing (I'm getting 97 lines of data and I have many more hosts than that).
I always assumed that IPs only showed up in the arp table under certain circumstances, unkown to me, and so never expected everything to show up there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 07:05 AM
тАО10-12-2005 07:05 AM
Re: finding the IP address of switch
I knew the name of a host that is connected to the switch at the remote site. So, I did a traceroute from here to the host.
No IP address... it hops right from the router on to the host.
I am forced to conclude that this is not a managed switch but a dumb hub, and has no IP address.
That certainly explains the lack of paperwork.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:39 AM
тАО10-12-2005 08:39 AM
Re: finding the IP address of switch
So I'm back to wondering if there's a way other than the serial port, of getting the IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 09:33 AM
тАО10-12-2005 09:33 AM
Re: finding the IP address of switch
Say the switch and a host are on the 170.170.2 network.
# ping 170.170.2.255
Let it run through the hosts on the network a couple of times. CTRL-C to stop the ping and then:
# arp -a
and look for the MAC address of the switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 03:43 PM
тАО10-12-2005 03:43 PM
Re: finding the IP address of switch
Bill Hassell, sysadmin