HP VLAN and Switching

We currently have the below setup.


1 switch setup for CCTV using 10.0.9.x/24 network

1 switch setup for normal data using 10.0.7.x/24 network

We are going to connect the 2 switches up and want to be able to access the CCTV and Security side from the normal data on certain ports.

I would assume that I setup VLANS

VLAN 10 - Data 10.0.7.x/24 setting the gateway as 10.0.7.1
VLAN 20 - CCTV 10.0.9.x/24 setting the gateway as 10.0.9.1

Then assign the uplink ports as tagged ports for both VLANS and then on the data switch untagged ports for the ports I want to be able to access both networks?
LVL 1
HeadmastersAsked:
Who is Participating?
 
InfamusConnect With a Mentor Commented:
No it's the switch doing the routing so the vlans don't need gateway.....

so Let's say you are creating a vlan 100.

HP ProCurve Switch# vlan 100
HP ProCurve Switch(vlan-100)# untag a1-a24
HP ProCurve Switch(vlan-100)# tag b1
HP ProCurve Switch(vlan-100)# ip address 10.10.100.1/24

Now the IP address 10.10.100.1 is the gateway for all the devices on vlan 100.
1
 
InfamusCommented:
You need to configure virtual interface for each vlan and those IP should be the gate way for the devices connected to the vlans.

You need layer 3 switch to do that otherwise your router has to route intervlan routing.
0
 
HeadmastersAuthor Commented:
What do you mean I need to configure a virtual interface?

Im running a HP 2530 Switches and I believe they do layer 3 switching.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
InfamusCommented:
When you create the vlans, did you assign IP address on each vlan?

If you did, that is the virtual vlan interface.  Sorry I was speaking Cisco terms...

And the answer is yes.
0
 
HeadmastersAuthor Commented:
Yes, I setup the VLAN's each to have an IP in there IP subnet.

So example VLAN10 - 10.0.7.30/24

Would both the VLAN's have the same gateway if I was to use a router to send inter-VLAN traffic?
0
 
HeadmastersAuthor Commented:
Ok so the b1 would have an IP address assigned to it?
0
 
InfamusCommented:
vlan 100 should have IP address assigned...

you are just tagging the b1 and that's just an example.
0
 
HeadmastersAuthor Commented:
Would I then need to setup static routes between the 2 networks?
0
 
InfamusCommented:
No, your switch will handle the routing.
0
All Courses

From novice to tech pro — start learning today.