Simple VLan Routing

bwalan used Ask the Experts™
I purchased a Procurve 3500 to segment of my wireless access point form my main network. I was running out of IP address once the T-mobile phone and UMA got going and didn't want to reconfigure every machine. I purchased a Procurve 3500 to segment off my wireless access point from my main network without having to buy a router.   Anyway can anyone help me with what I thought would be a simple config?  My existing Network is 192.168.10.x and my wireless is 192.168.20.x.  Can someone post the config to make all of the routing work. I tried Vlans set to 192.168.20.x on four ports but can’t ping anything when connected to those ports however I can ping ( the switch) for the non tagged ports but can’t get to the Internet. What am doing wrong ? All the research I’ve seen refers to two switches but I want to do this on one.    
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Istvan KalmarHead of IT Security Division
Top Expert 2010

did you enabled ip routing?
First, you have to enable IP routing:

config t
ip routing

Then, you have to configure IP addresses on each VLAN interface.

config t
vlan 1
ip address x.x.x.x x.x.x.x
vlan 2
ip address x.x.x.x x.x.x.x

You will also need a default route:
ip route X.X.X.X <where X.X.X.X = your gateway to Internet>

You also need to configure VLAN tagging on the ports. The ports that will have hosts on the 192.168.10.x can be untagged for the default VLAN (VLAN 1). The ports that will have hosts on the 192.168.20.x can be untagged for a separateVLAN (VLAN 2).

Your gateway to internet must have a route back.

so if vlan 1 on switch is
and vlan 2 on switch is
and dgw is
then on an ip route mask gw must exist.

-also device in vlan 2 must have dgw



HP actually answered my question I had it backwards. It oays to read the documentation.  Ports should be untagged members of a specific VLAN, except when a given port is to carry more than one VLAN.  For more information, see chapter 2 of the Advanced Traffic Management Guide:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial