Routing issue

Hi

I have three network devices which are responsible for the internet connection.

One Zyxel Modem which handles the connection to the ISP
One Linksys Router which handles the internal network and also talks direct to the zyxel with their public ip addresses.
And finally, a third device which is a vpn box which connects into the corporate network.

I would like to force any traffic for the address range 172.26.101.x to go through the vpn dialler which sites on 192.168.10.253 local network

Ive tried settomg a static route on the linksys but it say bad address range. Any ideas how I can force all traffic to the device 192.168.10.253?

Thanks
D

daiwhyteAsked:
Who is Participating?
 
Prashant ShrivastavaConsultantCommented:
You can only define a local address in static route for a gateway. What you need to try is to use internal IP address of the router as gateway for any traffic going to 172.26.101.0 network.

route -p add 172.26.101.0 mask 255.255.255.0 A.B.C.B

Where a.b.c.d is internal IP of your third device that connects through VPN.

Thanks.
0
 
daiwhyteAuthor Commented:
Is there a file within windows which can redirect IP addresses? The host files does dns to ip, just wondering if there is a way it can redirect ip's?
0
 
daiwhyteAuthor Commented:
ok, thats worked. Is that route permanent or will it disappear when I reboot the machine?
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
Prashant ShrivastavaConsultantCommented:
When you add with "-p" then is permanent.
0
 
daiwhyteAuthor Commented:
thank you.
0
 
Prashant ShrivastavaConsultantCommented:
You are welcome. Glad your problem is fixed :).
0
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.

All Courses

From novice to tech pro — start learning today.