Link to home
Start Free TrialLog in
Avatar of LCNW
LCNWFlag for United States of America

asked on

HP 2530 VLAN for DMZ

I have a HP 2530 and I would like to configure a VLAN of ports 45-48. One port needs to be the uplink of a DMZ and the other 3 ports are devices in the DMZ. I've done this before on a Cisco switch but I'm having trouble getting this to cooperate on the HP 2530.

I tried to configure just the VLAN but it allowed the DMZ IPs to be passed through to the Default VLAN. I then tried to configure the VLAN with an IP address of the DMZ, but it wont let me put in the 172 gateway. Whichever gateway is assigned last applies to both VLANs.

Not sure what to do.
ASKER CERTIFIED SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LCNW

ASKER

It was just some syntax unfamiliarity. I created the VLAN and assigned it an IP. Then untagged/tagged the proper ports. It's working now.

Here's the config:

Running configuration:

; J9772A Configuration Editor; Created on release #YA.15.10.0003
; Ver #03:03.17.27:30
hostname " Stack01-2"
stack join 6c3be5-de6ec0
ip default-gateway 10.1.1.1
snmp-server community "public" unrestricted
vlan 1
   name "DEFAULT_VLAN"
   no untagged 45-48
   untagged 1-44,49-52
   ip address dhcp-bootp
   exit
vlan 2
   name "DMZ"
   untagged 45-48
   ip address 172.16.1.3 255.255.0.0
   exit

Open in new window