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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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.
ASKER
Thanks worked!
ASKER
How do I save it I type write and received "Incomplete Imput: write"
ASKER
Never mind got it "write memory"
Thanks for your help.
Thanks for your help.
No problem and glad you are up and working fine.
ASKER
Thanks masnrock I thought I selected your solution and closed the question the other day.
ASKER
To remove the route do I just enter "no route 172.20.0.0 255.255.0.0 192.168.0.150"