• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 739
  • Last Modified:

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.
1 Solution
Don JohnstonInstructorCommented:
Could be that you've assigned an IP address to the DMZ VLAN.  If you do that, then traffic will be routed to/from that VLAN.

Can you post the config?
LCNWAuthor Commented:
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
snmp-server community "public" unrestricted
vlan 1
   name "DEFAULT_VLAN"
   no untagged 45-48
   untagged 1-44,49-52
   ip address dhcp-bootp
vlan 2
   name "DMZ"
   untagged 45-48
   ip address

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now