Re: VPN and Routing in one box
- From: "Fred Marshall" <fmarshallx@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 11:49:51 -0700
"Rome On Crestes" <romeoncrestes@xxxxxxxxxxxxxxxxxxx> wrote in message
news:e9SEi.16757$gR1.5033@xxxxxxxxxxxxxxxxxxxxxxxxx
Fred Marshall wrote:
I need a router that can be a VPN end point AND will route packets coming
out of the VPN.
Any suggestions for a simple router that will do this?
Thanks,
Fred
Linksys RV042 will do that.
Oh! How I wish that were true as I have a number of them on hand! I have
done a number things to make them do it and have become convinced that they
can't. I'd be very happy to be found deficient in my thinking / testing or
configuration.
Here is the scenario:
Subnet 1 < VPN > Subnet 2 > [router] > Subnet 3
192.168.1.0 192.168.2.0 192.168.3.0
Packets originate in Subnet 1, destined for Subnet 3.
The VPN (Subnet 1 end) is the first hop.
When packets arrive via the VPN at Subnet 2, they have to be routed to a
particular router / IP address on Subnet 2, which is the next hop in order
to be further routed to Subnet 3.
Thus, a route has to be effective at the Subnet 2 end of the VPN that sends
packets destined for Subnet 3 to the router on Subnet 2.
(The return path is already taken care of separately).
That route might look like this:
192.168.3.0 255.255.255.0 192.168.2.199 where .199 is the
address of the router on Subnet 2.
Here is the setup I used:
Subnet 1 < RV042 VPN > Subnet 2 > [router] > Subnet 3
192.168.1.0 192.168.2.0
192.168.3.0
The RV042 Tunnel goes from 192.168.1.0 to 192.168.3.0
The Subnet 2 RV042 VPN end LAN is on subnet 2.
The static route in the Subnet 2 RV042 points packets destined for Subnet 3
to the [router] on Subnet 2.
Packets destined for Subnet 3 are routed to the VPN on Subnet 1.
When they come out of the VPN, there needs to be something to tell them to
go to the [router] as the next hop.
Thus the static route.
I have rather conclusively shown that the static route does nothing. So, I
wonder what I'm missing?
---
What one can't do is to have the "forward" VPN Tunnel defined between Subnet
1 and Subnet 2. Then packets destined for Subnet 3 won't *enter* the tunnel
at the source end. Thus, it appears a static route at the receiving end is
necessary. Then a separate tunnel between Subnets 1 and 2 can be used as
the return path without this kind of problem.
Thanks,
Fred
.
- Follow-Ups:
- Re: VPN and Routing in one box
- From: Mike Drechsler - SPAM PROTECTED EMAIL
- Re: VPN and Routing in one box
- References:
- VPN and Routing in one box
- From: Fred Marshall
- Re: VPN and Routing in one box
- From: Rome On Crestes
- VPN and Routing in one box
- Prev by Date: Re: VPN and Routing in one box
- Next by Date: Re: VPN and Routing in one box
- Previous by thread: Re: VPN and Routing in one box
- Next by thread: Re: VPN and Routing in one box
- Index(es):
Relevant Pages
|