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.
LVL 1
LCNWAsked:
Who is Participating?
 
Don JohnstonConnect With a Mentor InstructorCommented:
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?
0
 
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 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

0
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.

All Courses

From novice to tech pro — start learning today.