How to find a switch's IP address?

guam96913

Beta member
Messages
1
Location
USA
Hello
How do I find out a switch's IP address? My co-worker hooked up a brand new laptop to a switch that was a stand alone switch and not hooked to the LAN. He did a DOS command and found the switch's IP address, and then used that info to make the laptop the next corresponding ip address number. he then used the laptop to ping the switch. but how did he do this? what dos command did he use?
 
Hi there,

What make and model, and type of switch is it? Is it a Layer 2 or Layer 3, managed or unmanaged switch? :umm:
 
Last edited:
Hello
How do I find out a switch's IP address? My co-worker hooked up a brand new laptop to a switch that was a stand alone switch and not hooked to the LAN. He did a DOS command and found the switch's IP address, and then used that info to make the laptop the next corresponding ip address number. he then used the laptop to ping the switch. but how did he do this? what dos command did he use?

Read please:
Need to find out IP Address of switch

If the switch is standalone and not hook up to the internet.
You won't be able to pull a ip address until dhcp assigns it one.
Carnage post will be on spot when you do connect and it shows a ip address from ipconfig/all.
Be sure to test ping it to make sure your data packets are going through smoothly.
 
Read please:
Need to find out IP Address of switch

If the switch is standalone and not hook up to the internet.
You won't be able to pull a ip address until dhcp assigns it one.
Carnage post will be on spot when you do connect and it shows a ip address from ipconfig/all.
Be sure to test ping it to make sure your data packets are going through smoothly.

Doesn't need to be hooked up to the internet to be assigned an IP address. DHCP is managed by the switch itself or router. Just a network in general. Figured I would post that distinction for the OP.

Sent from my Nexus 7 using Tapatalk
 
If it's a simple hub or switch it will need a layer 3 for that DHCP assignment. If he does ipconfig while simply hooked up without assigning his own IP address then all he'll get is the 169 number. Pretty sure he just wanted to know how to get the gateway or "switch" address anyways.
 
Doesn't need to be hooked up to the internet to be assigned an IP address. DHCP is managed by the switch itself or router. Just a network in general. Figured I would post that distinction for the OP.

Sent from my Nexus 7 using Tapatalk

Hi. This is assuming that the particular network switch which guam96913's co-worker is using (standalone and only a laptop connect to it) has built-in DHCP server capability. This will typically be found on a layer 3 network switch / core switch, and network routers.

Otherwise, if it is only a layer 1 or layer 2 switch / edge switch with no DHCP capability, then the switch will not have an IP address as it is not possible to assign one to this type of switch, nor will the switch have the ability to assign IP addresses to nodes connected to it. An exception to this will be if the switch is a managed switch permitting the assignment of an IP address to the switch for management access only.

To be sure, we would need to know the make and model of the network switch in question.
 
Last edited:
Pretty much the only reliable way to see the IP configuration of a managed switch is to directly console into it. The thing with ipconfig is that it will show you the default gateway, but that IP might not even be on the switch that the machine is connected to.
 
Back
Top Bottom