Link to home
Start Free TrialLog in
Avatar of nestey
nestey

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of masnrock
masnrock
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nestey
nestey

ASKER

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"
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.
Avatar of nestey

ASKER

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.
Yes. And also, correct to your question about how to remove.
Avatar of nestey

ASKER

Thanks worked!
Avatar of nestey

ASKER

How do I save it I type write and received "Incomplete Imput: write"
Avatar of nestey

ASKER

Never mind got it "write memory"

Thanks for your help.
No problem and glad you are up and working fine.
Avatar of nestey

ASKER

Thanks masnrock I thought I selected your solution and closed the question the other day.