Avatar of LCNW
LCNW
Flag 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.
Switches / Hubs

Avatar of undefined
Last Comment
LCNW

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Don Johnston

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck