Simple VLan Routing

bwalan
bwalan used Ask the Experts™
on
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 192.168.20.1 ( 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.    
Comment
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

Commented:
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 0.0.0.0 0.0.0.0 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).

HTH
Your gateway to internet must have a route back.

so if vlan 1 on switch is 192.168.10.2 255.255.255.0
and vlan 2 on switch is 192.168.20.1 255.255.255.0
and dgw is 192.168.10.1 255.255.255.0
then on 192.168.10.1 an ip route  192.168.20.0 mask 255.255.255.0 gw 192.168.10.2 must exist.

-also device in vlan 2 must have dgw 192.168.20.1

HTH

Author

Commented:
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:

http://www.hp.com/rnd/support/manuals/3500-6200-5400-ChapterFiles.htm#Traffic

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