Switching and Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

VLAN Routing on Procurve 2848

 

VLAN Routing on Procurve 2848

I have a Procurve 2848 set at factory defaults.  I need to set it up as an isolated lab switch that I can plug devices from multiple subnets into but those devices must be able to communicate with each other when necessary.  How do I configure VLANs/Layer 3 options for this?  I am afraid I am not very switch/router savvy.

 

Any assistance is greatly appreciated.

 

PG

1 REPLY
Quazar1966
Occasional Visitor

Re: VLAN Routing on Procurve 2848

Hope this helps:

 

config t

ip routing

vlan 1

 ip address 192.168.1.1 255.255.255.0

 untagged 1-6

exit

vlan 2

 ip address 192.168.2.1 255.255.255.0

 untagged 7-12

exit

ip route 0.0.0.0 0.0.0.0 192.168.1.254

 

You can rinse and repeat for any additional VLANs.  I might also suggest that you setup a seperate vlan for your outbound traffic and change the default route (0.0.0.0) as appropriate.  The untagged command for each vlan is for the ports you want to hang those devices off of.  If you need a link to another switch to extend the reach, you will need to setup a ports as 'tagged" to get those vlans and IP to another switch.  On the other switch, you would only need to setup the vlan and the tagged/untagged ports, not the IP's.