How to add a route to HP ProCurve

I need to add a route to our ProCurve switch which will allow all traffic from my network destine for a network in our parent company.

All traffic from 192.168.0.0/21 going to 172.20.0.0/16 needs to go thru (edge router)192.168.0.150

My parent company sent me the edge router and setup a VPN tunnel using this device, which has the 192.168.0.150 interface. The VPN is working as If I add the command  "route ADD 172.20.0.0 MASK 255.255.0.0 192.168.0.150" to my computer I am able to reach the server at our parent company.

Not sure how to add the route to the ProCurve
 

Below is the config for my ProCurve

hostname "ProCurve 2910al-24G Switch"
time timezone -300
time daylight-time-rule Continental-US-and-Canada
module 1 type J9145A
ip default-gateway 192.168.0.3
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-12
   ip address 192.168.0.3 255.255.248.0
   no untagged 13-24
   exit
vlan 2
   name "OSAI"
   untagged 13-24
   ip address 10.10.10.8 255.255.255.0
   exit
timesync sntp
sntp unicast
sntp server priority 1 192.5.41.41 3
ip route 0.0.0.0 0.0.0.0 192.168.0.8
snmp-server community "public" unrestricted
snmp-server contact
nesteyAsked:
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.

masnrockCommented:
ip route 172.20.0.0/16 192.168.0.150

Open in new window

or
ip route 172.20.0.0 255.255.0.0 192.168.0.150

Open in new window

0

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
nesteyAuthor Commented:
Does it matter where I put it, we have 2VLan's on the ProCurve? I didn't set this up I believe a consultant did.

To remove the route do I just enter "no route 172.20.0.0 255.255.0.0 192.168.0.150"
0
masnrockCommented:
I'd personally put it below the existing ip route line. Based on what I see in this configuration, doesn't seem like location would matter too much.
0
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.

nesteyAuthor Commented:
So I just need to type ip route 172.20.0.0 255.255.0.0 192.168.0.150 and where it puts it should be fine?

Sorry not good at this and want to make sure I don't mess it up.
0
masnrockCommented:
Yes. And also, correct to your question about how to remove.
0
nesteyAuthor Commented:
Thanks worked!
0
nesteyAuthor Commented:
How do I save it I type write and received "Incomplete Imput: write"
0
nesteyAuthor Commented:
Never mind got it "write memory"

Thanks for your help.
0
masnrockCommented:
No problem and glad you are up and working fine.
0
nesteyAuthor Commented:
Thanks masnrock I thought I selected your solution and closed the question the other day.
0
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
HPE

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.