We help IT Professionals succeed at work.

Can't access HP Procurve 2520 switch outside of configured subnet

Hello Experts,
I am having a problems connecting to my HP 2520 ProCurve switches when not on the local LAN Subnet. I'm using OpenVPN to VPN into my networks when I'm not onsite. I am able to connect to everything over the VPN including my Dell PowerConnect Switches but I can't access any Procurve switches. When I first setup a new Procurve switch and it receives a DHCP address I can connect to the switch even over the VPN. Once I change the IP config to static I lose all connectivity to the switch over the VPN.

So say my LAN is: /24

My OpenVPN VPN Pool is: /24

I’ve already added /24 to my Authorized-managers.
Procurve config:
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-24
   ip address
ip authorized-managers access Manager
ip authorized-managers access Manager
snmp-server community "public" Unrestricted
password manager

Open in new window

Any idea what else I need to do to access the switch from a different Subnet?
Watch Question

Head of IT Security Division
Top Expert 2010

You need to use 'ip default-gateway'


Thanks. Resolved all issues. Just to note when using the web gui to configure initial setup make sure to apply Default Gateway before changing IP to static.