Routing between 2 networks on a procurve 2824 switch

I have a couple of procurve 2824 switches and 2 different networks, one and one and i used to have a cisco router to route between those two networks, but since the router only had 100mbit interfaces i thought id change it...

but i have heard that the procurve switches can act as a router between vlans... if i put each of the networks in there own vlan.

the network uses 3 of the switches and the uses just 12 ports on one switch... and i cant change the ip:s on that net.

so now im wondering, how can i configure the switch to route between these two networks?
or where can i find documentation that describes the procedure... google came up with nothing on this...

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Create 2 VLANS.
Add ports to VLANs.
Assign IP to respective VLANs.
Then reverse route to both the networks.

Hope it helps.


JohnnyGrAuthor Commented:
ok, but what exactly do you mean by reverse route the networks...

this is what happened when i tryed to add the route on the switch
i also tryed the reverse order...

Sterlin(config)# ip route can not be switch IP address and route gateway at the same time.

the vlans each has there own ip, on is and one is
you hv assigned both the ips to same default vlan. I told u 2 create 2 different port based vlans.



Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

The procurve 2824 can not do layer 3 routing, just layer 2 switching.

Have you seen this document....



PS: I will read the fine print and try and tell u exactly what ur config should be.....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hmm.  i must retract my comment - the 2824 *can* do basic ip routing.
Hi again,

I thing I have something:

Supposing you have correctly configured the two VLANS (the DEFAULT VLAN and 1 more VLAN, say vlan 2) and assigned the switch two DIFFERENT IP addresses on the two vlans. Let the address of the switch be on vlan 1 and on vlan 2 done using this:

HPSwitch(config)# vlan 1 ip address
HPSwitch(config)# vlan 2 ip address
HPSwitch(config)# write memory

Now the router (in the switch) is directly connected to both the subnets and thus has built in static routes and therefore you need not add routes yourself.

Just ensure that nodes on vlan 1 use as the default gateway and like wise for vlan 2.


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.