Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Procurve 2824 not showing IP address

Procurve 2824 not showing IP address

As the subject says, my Procurve 2824 does not show the IP address as to which port is connected to which IP address. Is it even possible? If so, how do I change the settings to do it? I have checked the help but no luck. All my switches are procurve and I would like to have that functionality on all the switches. Can I also do it in Procurve Manager software?

Thank you.
13 REPLIES
brakerm19
Occasional Advisor

Re: Procurve 2824 not showing IP address

if you ping each address from within the switch the port and client IP address and MAC address will be listed if you

switch1# show arp

you can also show the mac address with the associated port number

switch1# show mac

Re: Procurve 2824 not showing IP address

Thank you.
I am not sure where to enter switch1# statement
Also, do I enter switch1 or in what format do I enter?
Please elaborate.

Thank you.
Josh Boyer
Advisor

Re: Procurve 2824 not showing IP address

Hello,

You do not apply ip addresses directly to a port as you would a firewall or a router.

You apply the ip address to the vlan interface so if your switch only has its default configuration you would have only one vlan and you would do the following at the CLI.

Enter configuration mode and type:

vlan 1
ip address x.x.x.x 255.255.255.0
exit

You should then be able to access the switch via the IP address.

Regards,

Re: Procurve 2824 not showing IP address

Thank you for the reply.
I am a noob at this and still learning so please bear with me.
OK. Went to the CLI and checked out the VLan settings but did not understand it. At the command prompt, I entered vlan 1 and it said that it is an 'invalid input'.
I checked that the VLAN ID is 1, name is DEFAULT_VLAN, VLan type is Static and the ports are untagged.
Now the question is what do I enter in the CLI?

Thank you.
Josh Boyer
Advisor

Re: Procurve 2824 not showing IP address

Sorry I should have read your original post more carefully I donâ t think my first post concerns what you are trying to accomplish it shows how to apply an IP address to your switch so you can reach it.

However, in response to your last post you would need to be in configuration mode for the command â vlan 1â to work to enter configuration mode type â configure terminalâ or â conf tâ . If you do change vlan 1â s ip address this will be the IP address you use to connect to your switch so if you already have an ip address set for remote access then I would leave it alone (unless itâ s not correct).

To determine If you vlan 1 (default_vlan) already has an ip address you can just use the â show runâ command and you should see if listed as below:

Vlan 1
Default_vlan
Untagged 1-24
Ip address x.x.x.x 255.255.255.0
Exit

That being saidâ ¦What I think you are asking and what brakern19 already answered was how do I find out what device IP addresses (e.g computer, printer, server) are connected to each of your switch ports?

You should be able to enter the "show arp" command at either of the following prompts

switchname#

switchname(config)#

So for example:

switchname# ping 192.168.1.X (for each of the ip addresses in your network)

Then you can run the â show arpâ like this:

switchname#show arp

It should then show a list of the IP addresses and the corresponding ports the switch used to reach the end device.

Please ensure you give points to brakerm19 and not myself as he has the correct answer Iâ m just elaborating.

Regards,
Josh Boyer
Advisor

Re: Procurve 2824 not showing IP address

***removed strange symbols***

Sorry I should have read your original post more carefully I don't think my first post concerns what you are trying to accomplish it shows how to apply an IP address to your switch so you can reach it.

However, in response to your last post you would need to be in configuration mode for the command "vlan 1" to work to enter configuration mode type "configure terminal" or "conf t". If you do change vlan's ip address this will be the IP address you use to connect to your switch so if you already have an ip address set for remote access then I would leave it alone (unless it's not correct).

To determine If you vlan 1 (default_vlan) already has an ip address you can just use the "show run" command and you should see if listed as below:

Vlan 1
Default_vlan
Untagged 1-24
Ip address x.x.x.x 255.255.255.0
Exit

That being said...What I think you are asking and what brakern19 already answered was how do I find out what device IP addresses (e.g computer, printer, server) are connected to each of your switch ports?

You should be able to enter the "show arp" command at either of the following prompts

switchname#

switchname(config)#

So for example:

switchname# ping 192.168.1.X (for each of the ip addresses in your network)

Then you can run the "how arp" like this:

switchname#show arp

It should then show a list of the IP addresses and the corresponding ports the switch used to reach the end device.

Please ensure you give points to brakerm19 and not myself as he has the correct answer I'm just elaborating.

Regards,
brakerm19
Occasional Advisor

Re: Procurve 2824 not showing IP address

Are you trying to find the IP address of the switch?

OR

Are you trying to find the IP address of a client device connected to the switch?

the 'switch1#' is the CLI prompt. this is not a command you type.

at the CLI prompt (switchname#)

type: show management


This will show all address assigned to the switch.

Re: Procurve 2824 not showing IP address

I am trying to find the IP addresses of all the devices connected to that switch.
I know the IP address of the switch but when I go to web interface or when I telnet to the switch, I cannot see the ip addresses of the devices connected to the ports of that switch.

Josh Boyer
Advisor

Re: Procurve 2824 not showing IP address

Nikunj,

Have you been able to get the "show arp" command to work yet?

Re: Procurve 2824 not showing IP address

No, I haven't had time to run that command.
Let me be see if I understand it properly, so to find out the IP addresses of the devices connected to a switch, I have to ping all the ip addresses from the CLI.
So if the range is 192.168.100.x - 192.168.100.y, do I have to ping all the IP addresses in that range? And then run the 'show arp' command to find out the IP addresses. Am I correct?
And this is just one switch, I have 5 other switches in different buildings.
Thank you.
Richard Brodie_1
Honored Contributor

Re: Procurve 2824 not showing IP address

It's not really that straightforward. You can find the hardware (MAC) addresses of individual devices with "show mac " or "show mac mac-address".

To map individual IP address to MAC addresses, you can PING the node and then show arp. Or you could extract the information from your DHCP server.

You might want to look at a network management tool like Netdisco, although that might be overkill for your requirements.
brakerm19
Occasional Advisor

Re: Procurve 2824 not showing IP address

here is an example of the outpu of the 'show arp' command:

Is this what you are looking for?

HP2848-Switch1# show arp

IP ARP table

IP Address MAC Address Type Port
--------------- ----------------- ------- ----
172.20.1.3 005056-4e1122 dynamic
172.20.1.10 005056-812233 dynamic 43
172.20.1.32 0050ba-4d3344 dynamic 22
172.20.1.42 000ae6-cf4455 dynamic 20
172.20.1.43 00095b-0a5566 dynamic 23
172.20.1.44 0007e9-776677 dynamic 21
172.20.1.45 002354-937788 dynamic 25
172.20.1.46 000bdb-c28899 dynamic 19
172.20.1.47 000bdb-be99aa dynamic 18
172.20.1.253 001818-ffaabb dynamic 41

Re: Procurve 2824 not showing IP address

Yes, that is exactly what I am looking for.
One thing I noticed on your example is that the port type is 'dynamic'. From what I understand, it is the VLAN type? If it is so,
how do you change the VLAN from static to dynamic because I just checked and on my switch the VLAN type is static. Could it be one of the reason because the VLAN type on my switch is static.
Thank you.