Hi Bill,
All that you've stated has been done and worked. The only problems I have
now are
1. the main office VPN router's inability to initiate the dial to the branch
VPN router.
2. the main office VPN router's inability to grab the static IP addr
192.168.1.4 assigned to its caller account.
It is always the branch router calling in:
TCP 192.168.252.4:1723 220.255.68.154:2213 ESTABLISHED
It can _never ever_ call out, complaining "no answer". It never opens a
socket to the branch public IP at port 1723 anyway so I wonder how it even
attempted to connect. I cannot get a situation where it's
TCP 192.168.252.4:<ephemeral> 220.255.68.154:1723
EXCEPT until I disabled the demand-dial interface and tried a normal client
VPN connection back to branch and this was ok (and getting 192.168.1.4 to
boot). But just not the demand-dial.
Since the 2-way traffic is occuring on the same single PPTP tunnel, I
suspect that's why it can never get the stipulated static IP addr
192.168.1.4 for the deman-dial - technically it didn't dial in, it was the
branch which dialled in and got its static IP addr. It gets a
192.168.1.34-39 range as scoped by the branch DHCP server.
------------------------------------------------------------
C:\Documents and Settings\aaron.seet>ipconfig
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.252.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.252.1
PPP adapter RAS Server (Dial In) Interface:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.252.58
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
PPP adapter {5B9BFBFF-EBD1-4924-887A-67591CF43944}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.39
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
------------------------------------------------------------
If I can uncover the mystery to these 2 points, I think I'll have an
excellent VPN solution for deployment. Any ideas?
Thanks,
--
The melody of logic will always play out the truth.
- Narumi Ayumu, Spiral
"Bill Grant" <bill_grant at bigpond dot com> wrote in message
The IP addresses which are allocate to the "virtual" interfaces of the
routers is not really of any consequence. You can set your RRAS server to
use a static pool and allocate addresses in a different subnet all together
if you like.
When a router to router VPN is set up, the machines in the two sites
reach machines in the other site by using their normal private IP addresses.
So branch machines access main office machines using their 192.168.252
addresses and main office machines access branch machines using their
192.168.1 addresses. These two subnets route through the VPN connection.
For this to work, each router needs a subnet route to the "other" subnet
through the VPN link. You accomplish this by linking the routes to
demand-dial interfaces. At the branch, the demand dial interface has an
associated static route for 192.168.252.0 . At the main office you have a
demand dial interface with an associated static route to 192.168.1.0 .
When you connect the router from the branch, you use as your username
the name of the demand dial interface at the main office. This binds the dd
interface to the connection, and the subnet route to the branch subnet is
added to the routing table. (You can set this up to allow connection from
either end if you so desire). Now the main office router has a route to
192.168.1.0 through the connection, and the branch has a route to
192.168.252.0 through the connection. So the VPN link works like a simple
(slow) IP router between the two subnets.
Once the routing works, you can modify your DNS to give you name
resolution as well.