- Posts: 102
- Thank you received: 0
Can you find the switch IP address
19 years 7 months ago #7930
by tiamat
Replied by tiamat on topic Re: Can you find the switch IP address
checking an ARP table would mean there was a router on the network. and to use tracert, you would actually need the IP address of the device, which is what we're looking for in the first place.
19 years 7 months ago #7957
by Shocker
Replied by Shocker on topic Re: Can you find the switch IP address
Thanks for that Tiamat, what I do mean is to use tracert to another computer connected on the switch. In this it will present all the nodes it goes into.
- LooseCannon
- Offline
- Junior Member
Less
More
- Posts: 64
- Thank you received: 0
19 years 7 months ago #7959
by LooseCannon
Replied by LooseCannon on topic Re: Can you find the switch IP address
If you are doing a trace route to another computer connected to the same switch the next hop is the destination computer's IP address. I.E. you won't see the switch's IP as a hop because tracert uses ICMP, which is a layer 3 protocol.
19 years 7 months ago #8147
by UHSsncmrm
A scapegoat is often as welcome as a solution...never memorize what you can look up.
Replied by UHSsncmrm on topic Re: Can you find the switch IP address
you can d/l an eval copy of SolarWinds, use the cisco tools to try to discover the configuration based on the community string if there is one set. Also if you can console into the switch you may be able to gleen the necessary info.
A scapegoat is often as welcome as a solution...never memorize what you can look up.
19 years 7 months ago #8154
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Replied by sahirh on topic Re: Can you find the switch IP address
A little jugglery with ARP can do this for you...
ARP all IP's in the subnet, look at the first 3 bytes of the MAC replies.. if you see any of these
www.coffer.com/mac_find/?string=cisco
Then you should have found your switch (or router / PIX )
The idea is to look at the Vendor part of the MAC address.
You could do this with nmap 3.75
Off the top of my head.....
nmap -sP 192.168.1.0/24 | grep -v 'cisco'
You get the idea.
Now you've got me thinking outta the box.. another interesting way (check whether this works) is to send ICMP timestamp / address mask / information request messages...
Usually only network devices will reply to these ICMP queries..
If someone bothers checking this out, drop the results here, I'm interested.
Cheers,
ARP all IP's in the subnet, look at the first 3 bytes of the MAC replies.. if you see any of these
www.coffer.com/mac_find/?string=cisco
Then you should have found your switch (or router / PIX )
The idea is to look at the Vendor part of the MAC address.
You could do this with nmap 3.75
Off the top of my head.....
nmap -sP 192.168.1.0/24 | grep -v 'cisco'
You get the idea.
Now you've got me thinking outta the box.. another interesting way (check whether this works) is to send ICMP timestamp / address mask / information request messages...
Usually only network devices will reply to these ICMP queries..
If someone bothers checking this out, drop the results here, I'm interested.
Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
19 years 7 months ago #8204
by tiamat
Replied by tiamat on topic Re: Can you find the switch IP address
sahirh,
Yes, while you can check the mac address and cross reference the vendor, imagine trying this on something like a /20 network with hundreds of switches (although I can't imagine a network that large that wouldn't be documented at all). Your solution would work on a smaller network with only 1 or 2 other switches though.
Yes, while you can check the mac address and cross reference the vendor, imagine trying this on something like a /20 network with hundreds of switches (although I can't imagine a network that large that wouldn't be documented at all). Your solution would work on a smaller network with only 1 or 2 other switches though.
Time to create page: 0.147 seconds