Access to a managed switch
Solvedtouroul Posted messages 515 Registration date Status Member Last intervention -
Hello forum!
I'm new to network computing.
I got myself a managed HP switch, I've reset it, and I've connected it to my box at 192.168.1.1
According to the switch documentation, its default address is 192.168.2.10.
I can't reach it.
Can you help me configure the system to access it?
Thank you in advance for your help.
15 answers
Another idea,
take a client LLDP, that can help too.
I found this LDWin for Windows, let's see.
And there you go ....
But misery, those line spacings are so annoying !!
Hello.
If you have no knowledge of networking, this is going to be difficult.
By default, your local network, like all home local networks, is on 192.168.1.x with a subnet mask of 255.255.255.0.
This means, roughly, that all your IP addresses must start with 192.168.1
However, your switch is set to 192.168.2, so it is not on the same network.
To connect to it, you need to change your PC's network address to a fixed address in the 192.168.2 network (192.168.2.1 for example).
Then, you can change the switch's address and set it to the 192.168.1.x network.
After that, you need to reset your PC's IP address to the 192.168.1 network, either via DHCP or a fixed IP.
Hello SATS
Thank you for taking the time to respond to me.
It's pretty clear for me, I'll try to do that.
I had understood that there was a dark story about a gateway that would allow me to ask the router (my box) to redirect to the address in 192.168.2.X.
See you later, thanks again
Well, no luck ...
I connected the switch directly to my laptop.
I changed the IPV4 address of the laptop's network card to 192.168.2.1/255.255.255.0
No way to reach the switch ... Ping doesn't respond either.
How can I explain this?
Thank you!
Are you absolutely sure about the default address 192.168.2.10? It's quite a curious address.
If not, try an IP scanner like this one:
https://www.advanced-ip-scanner.com/fr/download/
You have an option to run it as a portable version, without installation.
Hello,
you must have a console port on it, right?
And here we are....
But what a pain those line spacings are!!
Hello again
Thank you SATS and brupala
@SATS: the different versions of manuals I found for this switch all indicate this address after a reset. When I scan the network with Advanced IP scanner, I don't see any address in 192.168.2.X. It's incomprehensible.
@Brupala: unfortunately not, that would have been really convenient.
I tried disabling the Firewall, no improvement.
Thank you for your help (the switch is intended for a primary school that I'm assisting).
Try to expand the scan range to 192.168.0.0/16, if A I S is doing an 'arp-scan', because with an ICMP scan, it's dead without a router.
Otherwise, a simple Linux can install a free arp-scan :-)
You can also connect the switch to your box and see if it assigns it an IP address in case it is configured as a DHCP client.
Hello,
Could you please provide us with the exact reference of the Switch? It will be easier if we can find some documentation.
Hello everyone
This is a used switch that is at least 10 years old, but it is functional (replaced by the one who donated it to the school).
Exact reference: "HP 1810-48G", underneath they add "J9660A".
Note that there is also the "HP V1810-48G" which is not mine.
This morning I will study the solution proposed by Brupala.
I really need to make it work.
See you later
Hello.
I better understand the problem by seeing the beast.
Strangely, the trick I recommended to you is the one given on YouTube: https://www.youtube.com/watch?v=8xrGRQoykeQ
Has the reset been taken into account properly?
Hello SATS
The video clearly shows the manipulation I performed.
However, I must be missing something.
Going back to basics: I connect an RJ45 cable between the network card of my PC (the one where I usually plug in my box) and on the other side the switch on port 1.
The switch port LEDs light up: the left LED is solid, and the right LED blinks occasionally.
I configure my network card to 192.168.2.24/255.255.255.0
From Firefox (or Edge) I type 192.168.2.10: is that correct?
The browser responds that the address is taking too long to respond.
Indeed, I don't know if the Reset is happening, but when I press it, all the LEDs turn green one by one (self-test?) and then turn off.
I even connected a network printer to the switch, which the PC does not see.
A flaw?
My knowledge of networking is quite basic, sufficient for issues at home, but here we are rather at the enterprise level.
What does the ping to 192.168.2.10 return? (although the switch may be configured not to respond to pings)
Have you tried other ports than 1, even though if the LEDs are lighting up, it means that layer 1 is functioning?
In Advanced IP Scanner from my laptop, I just scanned the range "192.168.2.1-254": it only sees my laptop, nothing else.
That's it! It's definitely resolved.
The initial problem is that the hard reset procedure is not straightforward and not intuitive.
Here it is for an HP switch:
- Press the "reset" and "clear" buttons on the switch at the same time.
- Keep holding the "clear" button while releasing the "reset" button.
- Wait for the "self test" LED to blink, then release the "clear" button.
After that, it is easy to access the switch interface at 192.168.2.10
By default, there is no password.
Then in Network setup, Get Connected, set to Static, fix the IP to 192.168.1.XXX, then Apply.
Finally, switch back to DHCP.
Thank you for your help and have a great day.
Thanks for the info about the reset, it's tricky, yes, where did you find that?
Switching back to DHCP ....
The administration of a switch shouldn't be on DHCP, it's often placed even on a private network in a separate VLAN.
If you set it to DHCP, still plan a configuration with a permanent lease on the DHCP server.
Hey Brupala
The information is here.
It does not appear in any of the official documents downloaded for this model.
Indeed, I do not want the switch to distribute the IPs. In the school setup (which includes a PBx), it is the box that should act as the DHCP server.
But if I assign it a static IP, is there a risk of IP address conflict?
With a static IP, will the box query the switch which will then communicate its IP?
Thank you