<Peakbagger66_r3m0v3_th15_@hotmail.com> wrote in message
news:(E-Mail Removed)...
> We have a win2k3 RRAS server serving up VPN connectivity. Addresses
> are handed out via DHCP relay agent and the network address range is
> 10.0.96.0/255.255.252.0. When VPN clients connect, they receive an
> address in the 10.0.96.0 range with subnet 255.255.255.255 and no
> gateway (when the "Use default gateway on remote network" checkbox is
> unchecked). Quite often, clients are unable to access server resources
> in the 10.0.98.0 range. When we do a route print, we see something
> like this:
>
> 10.0.96.0 255.255.255.0 10.0.96.4 10.0.96.4 1
>
> When it does work, we see:
>
> 10.0.96.0 255.255.252.0 10.0.96.4 10.0.96.4 1
>
> I am unable to determine why sometimes it hands out the correct subnet
> and other times not. We can work around it buy checking the "Use
> Default Gateweay" but we'd rather not have the clients' traffic routed
> through our slow internet connection (which invariably it ends up
> doing). We can also blow away the 10.0.96.0 route and add the
> corrected subnet mask manually. However, we would like this to "just
> work" without resorting to rebuilding the route on the client end via
> batch script.
>
> I read the thread at
> http://groups.google.com/group/micro...531033487b698f
>
> and it seems that this is by design. However, it doesn't do it
> consistently - sometimes it is /24, others it is /22.
>
> How can we get it so that it comes out /22 all the time?
>
>
>
>
> Thanks so much!
First of all, your statement "Addresses are handed out via DHCP relay
agent" is not correct. A remote client does not get its network config from
DHCP. A remote client gets its network config from the RRAS server as part
of the PPP negotiation. If you have not provided a static pool of addresses,
RRAS obtains a batch of IPs from DHCP to use instead.
If you have a routed network, you should not be letting RRAS get its
address pool from DHCP. You should allocate a specific subnet to your
remotes (say 10.0.99.0/24) and route that network to your existing network
through the RRAS server (just as you would for a separate LAN segment). The
method you are using (remotes in the same IP subnet as the LAN machines) is
called on-subnet addressing and relies on the RRAS server doing proxy ARP on
the LAN for the remotes. It is a "quick fix" method introduced in the early
days of RRAS to allow remote clients to connect to the LAN without the
sysadmin having to worry about routing. Subnets are not really relevant
because no IP routing is actually being done. The RRAS server is simply
acting as a proxy for each remote client. It is not suitable for a routed
network.
If you have a routed network you need to use off-subnet addressing. All
remotes (and the "internal" interface in RRAS) are in their own IP subnet.
This subnet is regarded as another segment in your network which is routed
through the RRAS server. You need LAN routing enabled on the RRAS server.