# Please point out if I selected the wrong forum
Hi Guys,
I am not from the networking side, so please help me with this.
I have a lab where I have a firewall, a switch (HP 2530-24G), and a vmware server(host).
What I want is to create two VLANs, so that I can use them on my vmware VMs.
Currently, my firewall is connected from port 2 to switch port 1. And my vmware server is connected from switch port 2. I tried getting the config from ChatGPT, but it's not working.
Below is the configuration I run on the switch
vlan 1
name "mgmt"
ip address 192.168.1.200 255.255.255.0
untagged 1
exit
vlan 10
name "NFR"
ip address 192.168.10.200 255.255.255.0
tagged 1,2
exit
vlan 20
name "LAB"
ip address 192.168.20.200 255.255.255.0
tagged 1,2
exit
On the firewall side, I am configuring port 2 as VLAN and created three vlans
VLAN 1 - IP 192.168.1.1 (Untagged traffic)
VLAN 10 - IP 192.168.10.1 (Tagged Traffic)
VLAN 20 - IP 192.168.20.1 (Tagged Traffic)
Now when I try to connect any laptop from any free port in the firewall, I cannot access the switch.