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:
192.168.3.0 /24

My OpenVPN VPN Pool is:
192.168.10.0 /24

I’ve already added 192.168.10.0 /24 to my Authorized-managers.
Procurve config:
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-24
   ip address 192.168.3.2 255.255.255.0
   exit
ip authorized-managers 192.168.3.1 255.255.255.255 access Manager
ip authorized-managers 192.168.10.0 255.255.255.0 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?
Comment
Watch Question

Head of IT Security Division
CERTIFIED EXPERT
Top Expert 2010
Commented:
Hi,

You need to use 'ip default-gateway 192.168.3.1'

Author

Commented:
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.