Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Routing issue

Posted on 2011-10-10
6
Medium Priority
?
321 Views
Last Modified: 2012-05-12
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

0
Comment
Question by:daiwhyte
  • 3
  • 3
6 Comments
 

Author Comment

by:daiwhyte
ID: 36942135
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
 
LVL 5

Accepted Solution

by:
Prashant Shrivastava earned 2000 total points
ID: 36942143
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
 

Author Comment

by:daiwhyte
ID: 36942185
ok, thats worked. Is that route permanent or will it disappear when I reboot the machine?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:Prashant Shrivastava
ID: 36942781
When you add with "-p" then is permanent.
0
 

Author Closing Comment

by:daiwhyte
ID: 36942792
thank you.
0
 
LVL 5

Expert Comment

by:Prashant Shrivastava
ID: 36942806
You are welcome. Glad your problem is fixed :).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question