Link to home
Start Free TrialLog in
Avatar of hannc
hannc

asked on

Route add Help

Hi

I am trying to access to a supplier site via a vpn that we have setup between the supplier and us at another site (different ip range).  We have a default gateway to our other site via a leased line from there we have an adsl router and firewall which has the vpn setup on it to the supplier.  I cant work out how to get from our site to the supplier without getting the user here to remote desktop to a pc at the other site and get on from there.  Is there any way of doing this
Avatar of Freya28
Freya28
Flag of United States of America image

you could either add the route on an edge router or at the very least to test, on your windows ( i assume windows) at a command prompt you can add a persistent route

route add -p remote_network mask remote_network_mask gateway  
(the gateway word should be replaced by the ip that can communicate with the remote network)

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/route.mspx?mfr=true
As long as the other site (say SITE2) has routes to reach the vendor on the other side of the VPN, I would add a route to deliver the traffic to the existing default route to SITE2.
either way the vpn access-lists should include the networks that need to communicate.  check these lists first
Avatar of hannc
hannc

ASKER

Perhaps  i could give you actual addresses so you can explain to me.

pc 145.0.20.1  router to other site 145.0.1.202   firewall at other site 10.30.0.247   supplier 192.168.1.22

So do i do route add 192.168.1.22 mask 255.255.255.255 ?????  

just curious,  why does your PC have an ip address in a public block?
Avatar of hannc

ASKER

long story but would be a nightmare to change now
ASKER CERTIFIED SOLUTION
Avatar of Freya28
Freya28
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